STRUCT SND_SOC_ACPI_LINK_ADR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, say hi to struct snd_soc_acpi_link_adr β€” it's literally an ACPI-based list of _ADR enumerated devices. that's it, that's the whole vibe. this is from the Kernel API Manual, so you know it's official ✨


🌸 SYNOPSIS 🌸

like, here's the whole shape of her. no notes, she's perfect:

struct snd_soc_acpi_link_adr {
    u32 mask;
    u32 num_adr;
    const struct snd_soc_acpi_adr_device *adr_d;
 };

πŸŽ€ Members πŸŽ€

  • mask β€” one bit set indicates the link this list applies to. one (1) bit. she's a one-bit-set situation, okay? πŸ‘‘
  • num_adr β€” this is the ARRAY_SIZE of devices. like the headcount of the devices in the array 🫢
  • adr_d β€” array of devices. boom. that's the whole thing ✨

πŸ¦‹ Description πŸ¦‹

the number of devices per link can be more than 1, no cap β€” for example in SoundWire multi-drop configurations πŸ”₯ so yeah, don't assume it's one device per link, because she can absolutely hold more than one πŸ’–


πŸ‘‘ SEE ALSO πŸ‘‘

go check out these besties, they're all in the kernel file ./include/sound/soc-acpi.h:

  • struct snd_soc_acpi_mach_params(9)
  • struct snd_soc_acpi_endpoint(9)
  • struct snd_soc_acpi_adr_device(9)
  • struct snd_soc_acpi_mach(9)
  • struct snd_soc_acpi_codecs(9)

and that's the whole page, periodt πŸ’… this icon lives at ./include/sound, dated October 2026, and it's filed under struct snd_soc_acpi_link_adr(9) in the Kernel API Manual. stan her, she's the main character of your SoundWire setup πŸŽ€πŸ’œ

πŸ“¦ where this page comes from