Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/soc/codecs/
Dmax9768.c30 int mute_gpio; member
45 int val = gpio_get_value_cansleep(max9768->mute_gpio); in max9768_get_gpio()
58 gpio_set_value_cansleep(max9768->mute_gpio, !ucontrol->value.integer.value[0]); in max9768_set_gpio()
141 if (gpio_is_valid(max9768->mute_gpio)) { in max9768_probe()
183 err = devm_gpio_request_one(&client->dev, pdata->mute_gpio, in max9768_i2c_probe()
185 max9768->mute_gpio = err ?: pdata->mute_gpio; in max9768_i2c_probe()
195 max9768->mute_gpio = -EINVAL; in max9768_i2c_probe()
Dbd28623.c27 struct gpio_desc *mute_gpio; member
94 gpiod_set_value_cansleep(bd->mute_gpio, bd->switch_spk ? 0 : 1); in bd28623_set_switch_spk()
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()
210 bd->mute_gpio = devm_gpiod_get_optional(dev, "mute", in bd28623_probe()
212 if (IS_ERR(bd->mute_gpio)) { in bd28623_probe()
214 PTR_ERR(bd->mute_gpio)); in bd28623_probe()
215 return PTR_ERR(bd->mute_gpio); in bd28623_probe()
Dtas6424.c49 struct gpio_desc *mute_gpio; member
263 if (tas6424->mute_gpio) { in tas6424_mute()
264 gpiod_set_value_cansleep(tas6424->mute_gpio, mute); in tas6424_mute()
324 if (tas6424->mute_gpio) { in tas6424_power_on()
325 gpiod_set_value_cansleep(tas6424->mute_gpio, 0); in tas6424_power_on()
729 tas6424->mute_gpio = devm_gpiod_get_optional(dev, "mute", in tas6424_i2c_probe()
731 if (IS_ERR(tas6424->mute_gpio)) { in tas6424_i2c_probe()
732 if (PTR_ERR(tas6424->mute_gpio) == -EPROBE_DEFER) in tas6424_i2c_probe()
735 PTR_ERR(tas6424->mute_gpio)); in tas6424_i2c_probe()
736 tas6424->mute_gpio = NULL; in tas6424_i2c_probe()
Dcs53l30.c34 struct gpio_desc *mute_gpio; member
841 gpiod_set_value_cansleep(priv->mute_gpio, mute); in cs53l30_mute_stream()
1005 cs53l30->mute_gpio = devm_gpiod_get_optional(dev, "mute", in cs53l30_i2c_probe()
1007 if (IS_ERR(cs53l30->mute_gpio)) { in cs53l30_i2c_probe()
1008 ret = PTR_ERR(cs53l30->mute_gpio); in cs53l30_i2c_probe()
1012 if (cs53l30->mute_gpio) { in cs53l30_i2c_probe()
1017 if (gpiod_is_active_low(cs53l30->mute_gpio)) in cs53l30_i2c_probe()
/kernel/linux/linux-5.10/include/sound/
Dmax9768.h19 int mute_gpio; member
/kernel/linux/linux-5.10/drivers/media/usb/em28xx/
Dem28xx-core.c391 if (dev->board.mute_gpio && dev->mute) in em28xx_set_audio_source()
392 em28xx_gpio_set(dev, dev->board.mute_gpio); in em28xx_set_audio_source()
Dem28xx.h494 const struct em28xx_reg_seq *mute_gpio; member
Dem28xx-cards.c2040 .mute_gpio = compro_mute_gpio,
2140 .mute_gpio = terratec_av350_mute_gpio,
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/
Dbttv-driver.c973 int gpio_val, signal, mute_gpio; in audio_mux_gpio() local
980 mute_gpio = mute || (btv->opt_automute && (!signal || !btv->users) in audio_mux_gpio()
983 if (mute_gpio) in audio_mux_gpio()
999 bttv_gpio_tracking(btv, audio_modes[mute_gpio ? 4 : input]); in audio_mux_gpio()