Home
last modified time | relevance | path

Searched refs:switch_spk (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/sound/soc/codecs/
H A Dbd28623.c29 int switch_spk; member
77 ucontrol->value.integer.value[0] = bd->switch_spk; in bd28623_get_switch_spk()
89 if (bd->switch_spk == ucontrol->value.integer.value[0]) in bd28623_set_switch_spk()
92 bd->switch_spk = ucontrol->value.integer.value[0]; in bd28623_set_switch_spk()
94 gpiod_set_value_cansleep(bd->mute_gpio, bd->switch_spk ? 0 : 1); in bd28623_set_switch_spk()
109 bd->switch_spk = 1; in bd28623_codec_probe()
115 gpiod_set_value_cansleep(bd->mute_gpio, bd->switch_spk ? 0 : 1); in bd28623_codec_probe()
145 gpiod_set_value_cansleep(bd->mute_gpio, bd->switch_spk ? 0 : 1); in bd28623_codec_resume()