STRUCT PSE_IRQ_DESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct pse_irq_desc(9) πŸ’–

okay bestie, so this is a page straight out of the Kernel API Manual β€” like, the actual kernel manpage energy β€” and today's main character is struct pse_irq_desc, no cap. It's the notification sender description for IRQ based events. That's the whole vibe. Let's get into it ✨


🌸 NAME 🌸

struct pse_irq_desc β€” notification sender description for IRQ based events.

Like literally, that's what it is. It's the lil' struct that describes who's sending notifications for events that come in over IRQ. She's giving messenger energy 🫢


πŸŽ€ SYNOPSIS πŸŽ€

struct pse_irq_desc {
    const char *name;
    int (*map_event)(int irq, struct pse_controller_dev *pcdev, unsigned
long *notifs, unsigned long *notifs_mask);
 };

That's the whole struct, copied exactly, character for character β€” do not come for me about the line wrapping, that's how she's written in the source, periodt. πŸ’…


πŸ¦‹ Members πŸ¦‹

  • const char *name β€” the visible name for the IRQ. Like, the name that actually shows up. Her government name, if you will πŸ‘‘
  • int (*map_event)(int irq, struct pse_controller_dev *pcdev, unsigned long *notifs, unsigned long *notifs_mask) β€” driver callback to map IRQ status into PSE devices with events. So the driver hands you this function, and its whole job is taking that IRQ status and mapping it into the PSE devices that have events. That's the callback's entire personality πŸ”₯
lowkey important: map_event is a driver callback β€” it's not something this struct does itself, it's the hook the driver provides. Don't @ me, that's just what the page says πŸ’€

🌈 SEE ALSO 🌈

bestie the cross-references are extensive, and I'm not skipping a single one β€” here's the full squad, all from the kernel file ./include/linux/pse-pd/pse.h:

  • struct pse_control_config(9)
  • struct pse_admin_state(9)
  • struct pse_pw_status(9)
  • struct pse_ext_state_info(9)
  • struct pse_pw_limit_ranges(9)
  • struct ethtool_pse_control_status(9)
  • struct pse_controller_ops(9)
  • struct pse_pi_pairset(9)
  • struct pse_pi(9)
  • struct pse_ntf(9)
  • struct pse_controller_dev(9)
  • enum pse_budget_eval_strategies(9)

go read them all, iykyk πŸ’œ


🧚 sign-off 🧚

this icon of a page lives in ./include/linux/pse-pd, and the version stamp on her is October 2026 β€” yes, the future, she's ahead of her time ⭐ congrats on making it to the end, bestie, you ate that πŸ“πŸ’–

πŸ“¦ where this page comes from