Home
last modified time | relevance | path

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

/Linux-v6.6/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.c48 struct gpio_desc *mute_gpio; member
262 if (tas6424->mute_gpio) { in tas6424_mute()
263 gpiod_set_value_cansleep(tas6424->mute_gpio, mute); in tas6424_mute()
323 if (tas6424->mute_gpio) { in tas6424_power_on()
324 gpiod_set_value_cansleep(tas6424->mute_gpio, 0); in tas6424_power_on()
726 tas6424->mute_gpio = devm_gpiod_get_optional(dev, "mute", in tas6424_i2c_probe()
728 if (IS_ERR(tas6424->mute_gpio)) { in tas6424_i2c_probe()
729 if (PTR_ERR(tas6424->mute_gpio) == -EPROBE_DEFER) in tas6424_i2c_probe()
732 PTR_ERR(tas6424->mute_gpio)); in tas6424_i2c_probe()
733 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()
1000 cs53l30->mute_gpio = devm_gpiod_get_optional(dev, "mute", in cs53l30_i2c_probe()
1002 if (IS_ERR(cs53l30->mute_gpio)) { in cs53l30_i2c_probe()
1003 ret = PTR_ERR(cs53l30->mute_gpio); in cs53l30_i2c_probe()
1007 if (cs53l30->mute_gpio) { in cs53l30_i2c_probe()
1012 if (gpiod_is_active_low(cs53l30->mute_gpio)) in cs53l30_i2c_probe()
/Linux-v6.6/include/sound/
Dmax9768.h19 int mute_gpio; member
/Linux-v6.6/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-v6.6/drivers/media/pci/bt8xx/
Dbttv-driver.c958 int gpio_val, signal, mute_gpio; in audio_mux_gpio() local
965 mute_gpio = mute || (btv->opt_automute && (!signal || !btv->users) in audio_mux_gpio()
968 if (mute_gpio) in audio_mux_gpio()
984 bttv_gpio_tracking(btv, audio_modes[mute_gpio ? 4 : input]); in audio_mux_gpio()