STRUCT SDCA_INTERRUPT(9)
πΈ 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 theprivdata π§Ή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.hstruct sdca_interrupt_info(9)
bestie reminder: this is all straight from the source, so if you're out here poking atprivwithout afree_privplan, 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
- 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