dpni_get_irq_mask(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpni_get_irq_mask β€” Get interrupt mask ✨

okay so bestie, quick vibe check first: this page lives in the Kernel API Manual, and honestly it's one of those little utility baddies that just... gets you the mask. that's it. that's the whole gig. but it does it flawlessly 🫢


✨ NAME ✨

dpni_get_irq_mask β€” literally just Get interrupt mask. no cap, that's the whole assignment πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

int dpni_get_irq_mask (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , u8 irq_index , u32 *mask );

so it returns an int, and it takes five whole arguments. she's thorough. πŸ¦‹


🌸 ARGUMENTS 🌸

  • mc_io β€” Pointer to MC portal's I/O object. like, the portal. the doorway. you gotta have it 😌
  • cmd_flags β€” Command flags; one or more of 'MC_CMD_FLAG_'. pick your flags, bestie, they're right there πŸ”₯
  • token β€” Token of DPNI object. the DPNI's lil ID bracelet πŸŽ€
  • irq_index β€” The interrupt index to configure. which interrupt are we talking about? that one. index it. πŸ‘‘
  • mask β€” Returned event mask to trigger interrupt. this is the output, okay, it comes back to you like a text from your bestie πŸ’–

πŸ¦‹ 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. so yes, 32 little causes, each one living its own main character life, each one maskable on its own. iconique behavior, honestly. ⭐


πŸ’€ RETURN πŸ’€

(this section is serving absolutely nothing in the original β€” no return values documented here. not me pointing it out, just keeping it 100 πŸ™ˆ)

it's giving "empty section, still iconic." iykyk.

🌈 SEE ALSO 🌈

the whole friend group, fr fr β€” kernel file lives at ./drivers/net/ethernet/freescale/dpaa2/dpni.c:

like i said: the entire group chat 🫢


and that's the page, bestie!! this one's from ./drivers/net/ethernet/freesca... β€” the truncated path is doing its little mysterious thing, we respect it β€” dated October 2026, and it's filed under dpni_get_irq_mask(9). slay, go mask some interrupts, mwah πŸ’œβœ¨

πŸ“¦ where this page comes from