Searched refs:mute_gpio (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/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() 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()
|
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() 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()
|
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() 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()
|
D | cs53l30.c | 34 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/ |
D | max9768.h | 19 int mute_gpio; member
|
/kernel/linux/linux-5.10/drivers/media/usb/em28xx/ |
D | em28xx-core.c | 391 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()
|
D | em28xx.h | 494 const struct em28xx_reg_seq *mute_gpio; member
|
D | em28xx-cards.c | 2040 .mute_gpio = compro_mute_gpio, 2140 .mute_gpio = terratec_av350_mute_gpio,
|
/kernel/linux/linux-5.10/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()
|