STRUCT SND_SOC_ACPI_ENDPOINT(9)
π 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 either0(independent) or1(logically grouped). that's the whole range, don't get creative. πgroup_positionβ the zero-based order. and listen: this only matters whenaggregatedis1. if it's not aggregated, this field is just sitting there, minding its business. πgroup_idβ the platform-unique group identifier. same deal: only whenaggregratedis1(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: ifaggregatedis0, thengroup_positionandgroup_idaren'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.hstructsnd_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
- 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