STRUCT SDCA_INTERRUPT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct sdca_interrupt(9) 🌸

okay so bestie, welcome to the Kernel API Manual πŸ’– β€” this is the page for struct sdca_interrupt, and it's literally the whole vibe of "one single SDCA interrupt, explained." no cap, it does exactly one thing and it does it iconically ✨


✨ NAME ✨

struct sdca_interrupt β€” contains information about a single SDCA interrupt πŸŽ€


✨ SYNOPSIS ✨

struct sdca_interrupt {
    const char *name;
    struct device *dev;
    struct regmap *device_regmap;
    struct regmap *function_regmap;
    struct snd_soc_component *component;
    struct sdca_function_data *function;
    struct sdca_entity *entity;
    struct sdca_control *control;
    irq_handler_t handler;
    void *priv;
    void (*free_priv)(struct sdca_interrupt *interrupt);
    int irq;
    bool early_request;
 };

✨ Members ✨

okay so here's the cast of characters, each one is a main character in its own little way 🫢

  • name β€” the name of the interrupt. that's it, that's the whole job, and honestly? iconic πŸ’…
  • dev β€” pointer to the Function device πŸ¦‹
  • device_regmap β€” pointer to the IRQ regmap ✨
  • function_regmap β€” pointer to the SDCA Function regmap 🌸
  • component β€” pointer to the ASoC component that owns the interrupt πŸ‘‘
  • function β€” pointer to the Function that the interrupt is associated with πŸ”₯
  • entity β€” pointer to the Entity that the interrupt is associated with πŸŽ€
  • control β€” pointer to the Control that the interrupt is associated with ⭐
  • handler β€” the handler function that gets called for the IRQ πŸ“ž
  • priv β€” pointer to private data, for use by the handler πŸ™ˆ
  • free_priv β€” pointer to a function that can be used to free the priv data 🧹
  • irq β€” the IRQ number allocated to this interrupt; it's also used internally to track the IRQ being assigned πŸ‘€
  • early_request β€” flag indicating that this IRQ was requested at bus probe time 🚩

🌈 SEE ALSO 🌈

  • Kernel file ./include/sound/sdca_interrupts.h struct
  • sdca_interrupt_info(9)

bestie reminder: this is all straight from the source, so if you're out here poking at priv without a free_priv plan, that's giving memory leak πŸ’€ don't do it, fr fr.

and that's the page!! πŸ˜­πŸ’– source is ./include/sound, dated October 2026 β€” slay, go read the real struct now, you're gonna ate it up πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from