dpsw_get_irq_status(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ dpsw_get_irq_status ✨

okay bestie, welcome to the Kernel API Manual πŸ’… β€” today's main character is dpsw_get_irq_status(9), and honestly? she's giving "glow-up for your interrupt queue." πŸ¦‹


🌸 NAME 🌸

dpsw_get_irq_status β€” get the current status of any pending interrupts πŸ’–

like, literally just "what's popping in my IRQ line rn" energy.


πŸŽ€ SYNOPSIS πŸŽ€

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

no cap, that's the whole signature. five args, one int back. periodt. ✨


πŸ’œ ARGUMENTS πŸ’œ

  • mc_io β€” pointer to the MC portal's I/O object 🫢 that's your little doorway into the management complex, bestie.
  • cmd_flags β€” command flags; one or more of 'MC_CMD_FLAG_' ⭐ (yes, she said one or more, so stack 'em if you got 'em).
  • token β€” token of the DPSW object πŸ”₯ your golden ticket identifying which switch we're talking about.
  • irq_index β€” the interrupt index to configure πŸŽ€ which IRQ slot you're peeking at.
  • status β€” returned interrupts status β€” one bit per cause: 0 = no interrupt pending, 1 = interrupt pending πŸ‘‘ so like, each bit is its own lil vibe check. zero means chill, one means she's up.

🌈 RETURN 🌈

ngl, the original page lowkey left this section empty 😭 so there's no return value documented here β€” no invented lore, no fanfiction, we simply don't make stuff up. 🫢

bestie heads up: the page lists the section but no contents, so don't @ me for a return description that isn't there πŸ’€

🧚 SEE ALSO 🧚

Kernel file ./drivers/net/ethernet/freescale/dpaa2/dpsw.c πŸ“ and honestly the whole friend group:

like, that's the entire group chat and they ALL ate. πŸ”₯


and that's the page, bestie πŸ’œ sourced from ./drivers/net/ethernet/freesca..., dated October 2026 β€” mwah, kisses, go check your interrupt bits πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from