dprtc_get_irq_status(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dprtc_get_irq_status(9) β€” from the Kernel API Manual, bestie

okay so picture this: you're deep in the kernel, you're basically the main character, and you need to know what interrupts are currently pending. That's literally this whole function, and it's iconic for it. ✨


🌸 NAME 🌸

dprtc_get_irq_status β€” get the current status of any pending interrupts. no cap, that's the whole vibe check. πŸ’–


✨ SYNOPSIS ✨

int dprtc_get_irq_status (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , u8 irq_index , u32 *status );

she takes five args and returns an int, she's busy, she's booked, she's slaying. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • mc_io β€” pointer to the MC portal's I/O object. this is your portal bestie, don't lose her. πŸŒ€
  • cmd_flags β€” command flags; one or more of 'MC_CMD_FLAG_'. yes, one or more, she's flexible like that.
  • token β€” the token of the DPRTC object. lowkey your little VIP wristband for this object. 🎟️
  • irq_index β€” the interrupt index to configure. which one? this one, babes.
  • status β€” the returned interrupts status, and she's bit-per-cause, so it's giving: one bit per cause. 0 = no interrupt pending, 1 = interrupt pending. truly a binary queen. πŸ‘‘πŸ”₯

πŸ’€ RETURN πŸ’€

crickets

like… the manpage really just left this section empty. not a single word. the audacity. 😭 so there's nothing documented here to tell you β€” that's just how it is, and I refuse to make something up about it. fr fr.

side note bestie: I'm not inventing a return value description for you here, because the original doesn't have one and I would never do you dirty like that. πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

kernel file ./drivers/net/ethernet/freescale/dpaa2/dprtc.c β€” go read the source, it's giving lore. πŸ“–

and the whole friend group, all in (9):


that's the page, bestie β€” go check those interrupts, you're gonna eat πŸ’…βœ¨

sign-off time πŸŽ€: this little cutie comes from ./drivers/net/ethernet/freesca... (the source path got truncated, she's mysterious like that), dated October 2026, and yes, the footer still says dprtc_get_irq_status(9) because some things never change. πŸ«ΆπŸ’–

πŸ“¦ where this page comes from