dprtc_get_irq_status(9)
π 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):
dprtc_open(9)dprtc_close(9)dprtc_set_irq_enable(9)dprtc_get_irq_enable(9)dprtc_set_irq_mask(9)dprtc_get_irq_mask(9)dprtc_clear_irq_status(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
- 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