dprtc_get_irq_mask(9)
okay so bestie, welcome to dprtc_get_irq_mask(9) from the Kernel API Manual β this is the kernel-API moment where we get an interrupt mask, and it's lowkey iconic π
β¨
πΈ NAME πΈ
dprtc_get_irq_mask β Get interrupt mask. That's it, that's the name, slay.
β¨ SYNOPSIS β¨
Here's the signature, bestie β copy it exactly, no creative editing:
int dprtc_get_irq_mask (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , u8 irq_index , u32 *mask );
π ARGUMENTS π
mc_ioβ Pointer to MC portal's I/O object. It's the portal's I/O object pointer, iykyk π«Άcmd_flagsβ Command flags; one or more of'MC_CMD_FLAG_'β yes, that's the literal flag prefix, don't @ me πtokenβ Token of DPRTC object β the token for the DPRTC object, periodt.irq_indexβ The interrupt index to configure β this is the interrupt index you're configuring, bestie.maskβ Returned event mask to trigger interrupt β it comes back as the event mask to trigger interrupt, no cap.
π DESCRIPTION π
okay so here's the tea: Every interrupt can have up to 32 causes and the interrupt model supports masking/unmasking each cause independently. That's up to 32 little causes doing their own thing, and the model lets each cause be masked or unmasked independently β highkey the whole point β¨
π«Ά RETURN π«Ά
Nothing is listed here β the page gives no return-value prose for this section, bestie. It's giving blank-section energy ππ
π SEE ALSO π
- Kernel file:
./drivers/net/ethernet/freescale/dpaa2/dprtc.cπ dprtc_open(9)dprtc_close(9)dprtc_set_irq_enable(9)dprtc_get_irq_enable(9)dprtc_set_irq_mask(9)dprtc_get_irq_status(9)dprtc_clear_irq_status(9)
source/version: ./drivers/net/ethernet/freesca... Β· date: October 2026 Β· page: dprtc_get_irq_mask(9) β bye bestie, mwah ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms