Home
last modified time | relevance | path

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

/linux-6.1.9/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()
182 err = devm_gpio_request_one(&client->dev, pdata->mute_gpio, in max9768_i2c_probe()
184 max9768->mute_gpio = err ?: pdata->mute_gpio; in max9768_i2c_probe()
194 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()
209 bd->mute_gpio = devm_gpiod_get_optional(dev, "mute", in bd28623_probe()
211 if (IS_ERR(bd->mute_gpio)) { in bd28623_probe()
213 PTR_ERR(bd->mute_gpio)); in bd28623_probe()
214 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()
727 tas6424->mute_gpio = devm_gpiod_get_optional(dev, "mute", in tas6424_i2c_probe()
729 if (IS_ERR(tas6424->mute_gpio)) { in tas6424_i2c_probe()
730 if (PTR_ERR(tas6424->mute_gpio) == -EPROBE_DEFER) in tas6424_i2c_probe()
733 PTR_ERR(tas6424->mute_gpio)); in tas6424_i2c_probe()
734 tas6424->mute_gpio = NULL; in tas6424_i2c_probe()
Dcs53l30.c35 struct gpio_desc *mute_gpio; member
842 gpiod_set_value_cansleep(priv->mute_gpio, mute); in cs53l30_mute_stream()
1004 cs53l30->mute_gpio = devm_gpiod_get_optional(dev, "mute", in cs53l30_i2c_probe()
1006 if (IS_ERR(cs53l30->mute_gpio)) { in cs53l30_i2c_probe()
1007 ret = PTR_ERR(cs53l30->mute_gpio); in cs53l30_i2c_probe()
1011 if (cs53l30->mute_gpio) { in cs53l30_i2c_probe()
1016 if (gpiod_is_active_low(cs53l30->mute_gpio)) in cs53l30_i2c_probe()
/linux-6.1.9/include/sound/
Dmax9768.h19 int mute_gpio; member
/linux-6.1.9/drivers/media/usb/em28xx/
Dem28xx-core.c381 if (dev->board.mute_gpio && dev->mute) in em28xx_set_audio_source()
382 em28xx_gpio_set(dev, dev->board.mute_gpio); in em28xx_set_audio_source()
Dem28xx.h485 const struct em28xx_reg_seq *mute_gpio; member
Dem28xx-cards.c2061 .mute_gpio = compro_mute_gpio,
2161 .mute_gpio = terratec_av350_mute_gpio,
/linux-6.1.9/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()