snd_soc_dapm...o_pin_switch(9)
okay so bestie, welcome to snd_soc_dapm...o_pin_switch(9) from the Kernel API Manual π¦ β itβs giving tiny-but-iconic kernel callback energy, and weβre gonna read it together π
β¨
πΈ NAME πΈ
The function is snd_soc_dapm_info_pin_switch, and its NAME is literally Info for a pin switch β short, sweet, and lowkey iconic π.
β¨ SYNOPSIS β¨
Hereβs the exact signature, bestie β punctuation, spacing, all of it, no cap π:
int snd_soc_dapm_info_pin_switch (struct snd_kcontrol *kcontrol , struct
snd_ctl_elem_info *uinfo );
It returns an int, and thatβs right there in the signature, periodt π.
π ARGUMENTS π
It takes these two cuties:
kcontrolβ mixer control ποΈuinfoβ control element information π§Ύ
π DESCRIPTION π
This is the callback for providing information about a pin switch control ποΈβ¨. Thatβs the whole callback vibe β it hands over info about that pin switch control, and honestly? Slay π .
π₯ SEE ALSO π₯
Kernel file and all the related manual pages are linked below π«Ά β yes, every single one, because we donβt skip references in this house π:
- Kernel file
./sound/soc/soc-dapm.cποΈ snd_soc_dapm_kcontrol_to_widget(9)snd_soc_dapm_kcontrol_to_dapm(9)snd_soc_dapm_kcontrol_to_component(9)snd_soc_dapm_force_bias_level(9)snd_soc_dapm_init_bias_level(9)snd_soc_dapm_set_bias_level(9)snd_soc_dapm_get_bias_level(9)snd_soc_dapm_dai_get_connected_widgets(9)snd_soc_dapm_free_widget(9)snd_soc_dapm_sync_unlocked(9)snd_soc_dapm_sync(9)snd_soc_dapm_add_routes(9)snd_soc_dapm_del_routes(9)snd_soc_dapm_new_widgets(9)snd_soc_dapm_get_volsw(9)snd_soc_dapm_put_volsw(9)snd_soc_dapm_get_enum_double(9)snd_soc_dapm_put_enum_double(9)snd_soc_dapm_get_pin_switch(9)snd_soc_dapm_get_component_pin_switch(9)snd_soc_dapm_put_pin_switch(9)snd_soc_dapm_put_component_pin_switch(9)snd_soc_dapm_new_control(9)snd_soc_dapm_new_controls(9)snd_soc_dapm_new_dai_widgets(9)snd_soc_dapm_stream_event(9)snd_soc_dapm_enable_pin_unlocked(9)snd_soc_dapm_enable_pin(9)snd_soc_dapm_force_enable_pin_unlocked(9)snd_soc_dapm_force_enable_pin(9)snd_soc_dapm_disable_pin_unlocked(9)snd_soc_dapm_disable_pin(9)snd_soc_dapm_get_pin_status(9)snd_soc_dapm_ignore_suspend(9)snd_soc_dapm_pin_has_prefix(9)snd_soc_dapm_free(9)
okay bye bestie π«Ά source/version: ./sound/soc; date: October 2026; page: snd_soc_dapm...o_pin_switch(9) β it ate, and thatβs the tea π
β¨
π¦ 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