Searched refs:mute_gpio (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/sound/soc/codecs/ |
D | max9768.c | 30 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()
|
D | bd28623.c | 27 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()
|
D | tas6424.c | 49 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()
|
D | cs53l30.c | 35 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/ |
D | max9768.h | 19 int mute_gpio; member
|
/linux-6.1.9/drivers/media/usb/em28xx/ |
D | em28xx-core.c | 381 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()
|
D | em28xx.h | 485 const struct em28xx_reg_seq *mute_gpio; member
|
D | em28xx-cards.c | 2061 .mute_gpio = compro_mute_gpio, 2161 .mute_gpio = terratec_av350_mute_gpio,
|
/linux-6.1.9/drivers/media/pci/bt8xx/ |
D | bttv-driver.c | 973 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()
|