STRUCT SND_SOC_ACPI_ENDPOINT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct snd_soc_acpi_endpoint(9) β€” Kernel API Manual πŸ’–

okay bestie, listen up β€” this is a page from the Kernel API Manual, and it's all about struct snd_soc_acpi_endpoint, aka the little descriptor that tells you about an endpoint. it's tiny, it's four u8s, and it's lowkey doing a lot. let's get into it 🫢


✨ NAME ✨

struct snd_soc_acpi_endpoint β€” endpoint descriptor. that's it, that's the whole vibe. πŸ’…


🌸 SYNOPSIS 🌸

here's the whole struct, bestie, look at her:

struct snd_soc_acpi_endpoint {
    u8 num;
    u8 aggregated;
    u8 group_position;
    u8 group_id;
 };

four little fields. no cap. πŸŽ€


πŸ¦‹ Members πŸ¦‹

okay so let's go field by field, because each one has lore:

  • num β€” the endpoint number. this one is mandatory, and it has to be unique per device. not optional, not negotiable, mandatory. periodt. πŸ‘‘
  • aggregated β€” it's either 0 (independent) or 1 (logically grouped). that's the whole range, don't get creative. πŸ’€
  • group_position β€” the zero-based order. and listen: this only matters when aggregated is 1. if it's not aggregated, this field is just sitting there, minding its business. πŸ™ˆ
  • group_id β€” the platform-unique group identifier. same deal: only when aggregrated is 1 (yes, that's spelled exactly how the original spells it, don't come for me 🫢). it's giving "you only get a group if you're actually grouped." 🧚
heads up bestie: if aggregated is 0, then group_position and group_id aren't relevant β€” they're group-only fields, iykyk.

⭐ SEE ALSO ⭐

go read these next, they're the friend group:

  • Kernel file ./include/sound/soc-acpi.h struct snd_soc_acpi_mach_params(9)
  • struct snd_soc_acpi_adr_device(9)
  • struct snd_soc_acpi_link_adr(9)
  • struct snd_soc_acpi_mach(9)
  • struct snd_soc_acpi_codecs(9)

like, all of them. collect the whole set. 🌈


that's the page!! mwah πŸ’œ

sign-off time: this iconic little number lives over in ./include/sound, and it's dated October 2026 β€” and the page itself is struct snd_s...cpi_endpoint(9), yes the abbreviations are real, yes they're adorable, no we're not fixing them. bye bestie, go read your headers πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from