STRUCT HDA_DATA(9)
π NAME π
okay bestie, welcome to struct hda_data(9) from the Kernel API Manual π
this one is literally about struct hda_data β optional device-specific data β¨
π¦ SYNOPSIS π¦
struct hda_data {
const char *short_name;
const char *long_name;
unsigned long flags;
};
π Members π
short_nameβ used for the ALSA card name; defaults toKBUILD_MODNAMEπlong_nameβ used for a longer description; defaults toshort_nameπΈflagsβ passed toazx->driver_capsβ
β¨ Description β¨
so hereβs the vibe: a pointer to a record of this type can be stored in the acpi_device_id->driver_data field of an ACPI match table entry, and thatβs how you customize the naming and behavior of a particular device π
every single field is optional, and sensible defaults will be selected in their absence β no cap, itβs giving low-maintenance icon behavior π«Ά
π SEE ALSO π
- Kernel file
./sound/hda/controllers/acpi.cπ₯
and thatβs the whole manual, bestie β source/version lives at ./sound/hda/controllers, dated October 2026, and yes this was struct hda_data(9) the entire time ππ
π¦ 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