is_sdca_aux_dev_present(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the is_sdca_aux_dev_present(9) page β€” it’s giving Kernel API Manual energy, and the whole point is checking if an SDCA aux device is present on the SDW peripheral πŸ’…βœ¨

🌸 NAME 🌸

is_sdca_aux_dev_present β€” check if an SDCA aux device is present on the SDW peripheral. no cap, that’s the whole name section πŸŽ€

✨ SYNOPSIS ✨

the function signature, exactly as it lives:

int is_sdca_aux_dev_present (struct device *dev , const char
       *aux_codec_name , const struct snd_soc_acpi_link_adr *adr_link , int
       adr_index );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” Device pointer. literally the device pointer, bestie 🫢
  • aux_codec_name β€” Aux codec name from the codec info (e.g. "snd_soc_sdca.HID.2"). yes, that exact example, keep it cute πŸ’–
  • adr_link β€” ACPI link address.
  • adr_index β€” Index of the ACPI link address.

πŸ’€ RETURN πŸ’€

so what does it hand back? 1 if the aux is present, 0 if the aux is not present, or a negative error code. periodt. ✨

🧚 SEE ALSO 🧚

if you’re going down the rabbit hole:


that’s the page, bestie 🫢 β€” source/version: ./sound/soc/sdw_utils; date: October 2026. mwah πŸ’‹πŸŒˆ

πŸ“¦ where this page comes from