Searched refs:switch_spk (Results 1 – 1 of 1) sorted by relevance
29 int switch_spk; member77 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()