sdca_irq_data_populate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sdca_irq_data_populate β€” a Kernel API Manual moment (section 9, bestie)

okay so real talk: this page is sdca_irq_data_populate(9), and it lives in the Kernel API Manual. It's giving "small function, big job" energy, because its whole personality is populating the common interrupt data. That's the NAME, that's the gig. ✨


πŸŽ€ SYNOPSIS

int sdca_irq_data_populate (struct device *dev , struct regmap *regmap ,
struct snd_soc_component *component , struct sdca_function_data
*function , struct sdca_entity *entity , struct sdca_control *control ,
struct sdca_interrupt *interrupt );

That's the whole signature, no cap. It returns an int, and every single parameter is a pointer β€” it's a pointer party and everyone's invited 🫢


🌸 ARGUMENTS (the guest list)

  • dev β€” Pointer to the Function device. The device, the whole device, and nothing but the device πŸ’…
  • regmap β€” Pointer to the Function regmap. Register-map bestie, handles the actual reads/writes vibe.
  • component β€” Pointer to the ASoC component for the Function. ASoC representation, main character energy.
  • function β€” Pointer to the SDCA Function. This is the Function we're doing all this for.
  • entity β€” Pointer to the SDCA Entity. The entity in question, iconic as always.
  • control β€” Pointer to the SDCA Control. The control that goes with it πŸŽ€
  • interrupt β€” Pointer to the SDCA interrupt for this IRQ. Yes, specific IRQ, not a general one. iykyk.
ngl, seven pointers is a lot, but they're all just "here's the thing, go populate it." No hidden traps, no scavenger hunt πŸ’–

⭐ RETURN

Zero on success, and a negative error code on failure. That's it. That's the whole mood:

  • 0 = slay, it worked ✨
  • negative = not slay, check your error code 😭

πŸ¦‹ SEE ALSO (the group chat)

Kernel file ./sound/soc/sdca/sdca_interrupts.c β€” that's where the actual implementation hangs out, so go say hi πŸ‘‘

And the whole friend group:

fr fr, if you're messing with this one you're probably also messing with those. Read them, they're all in ./sound/soc/sdca.


Sources live in ./sound/soc/sdca, this page is dated October 2026, and yes β€” it's still the Kernel API Manual, still section 9, still iconic. Bye bestie, go populate those interrupts πŸ’œπŸŽ€

πŸ“¦ where this page comes from