dprtc_set_irq_mask(9)
π dprtc_set_irq_mask π
okay bestie, welcome to the Kernel API Manual β this one's page dprtc_set_irq_mask(9) from the kernel docs, and it's honestly iconic. sit down, grab a strawberry drink π, and let's get into it.
β¨ NAME β¨
dprtc_set_irq_mask β set the interrupt mask. yes, it does exactly what it says on the tin, no cap π
πΈ SYNOPSIS πΈ
int dprtc_set_irq_mask (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , u8 irq_index , u32 mask );
like, look at that signature. she's giving int, she's giving five args, she's everything π«Ά
π ARGUMENTS π
mc_ioβ pointer to the MC portal's I/O object. this is the portal babe, she's the doorway to everything π₯cmd_flagsβ command flags, and you pass one or more ofMC_CMD_FLAG_. yes bestie, one or more, it's a whole vibe check for your command πtokenβ the token of the DPRTC object. her little ID, iykyk πͺͺirq_indexβ the interrupt index you wanna configure. pick your girl, there's an index for that πmaskβ the event mask that triggers the interrupt, and every single bit means something, so listen up:0= ignore the event π1= consider the event for asserting the IRQ π₯
literally one bit per cause, no filler, we love a binary moment π
π¦ DESCRIPTION π¦
okay so this is the part that ate: every interrupt can have up to 32 causes, and the interrupt model supports masking and unmasking each one of those causes independently. thirty-two. independently. she's flexible, she's granular, she's a main character β¨
π RETURN π
soooo the page literally has nothing listed here β the section is there, the content is not, and honestly? relatable queen, she left it blank π we're not gonna invent anything, because that would be making stuff up and that's not the vibe π§
β SEE ALSO β
- Kernel file:
./drivers/net/ethernet/freescale/dpaa2/dprtc.cβ go read the source bestie, it's right there π dprtc_open(9)dprtc_close(9)dprtc_set_irq_enable(9)dprtc_get_irq_enable(9)dprtc_get_irq_mask(9)dprtc_get_irq_status(9)dprtc_clear_irq_status(9)
like the whole friend group, all linked, all slaying π
and that's the tea π΅ β this page comes from ./drivers/net/ethernet/freesca... (the path got a lil truncated, she's shy), dated October 2026, and the footer man page name is dprtc_set_irq_mask(9). mwah, go set those masks bestie ππ«Ά
π¦ 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