Home
last modified time | relevance | path

Searched refs:gpio_speakers (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/sound/soc/amd/acp/acp3x-es83xx/
Dacp3x-es83xx.c38 struct gpio_desc *gpio_speakers, *gpio_headphone; member
169 gpiod_set_value_cansleep(priv->gpio_speakers, priv->speaker_on); in acp3x_es83xx_headphone_power_event()
186 gpiod_set_value_cansleep(priv->gpio_speakers, priv->speaker_on); in acp3x_es83xx_speaker_power_event()
300 priv->gpio_speakers = gpiod_get_optional(priv->codec_dev, "speakers-enable", in acp3x_es83xx_init()
302 if (IS_ERR(priv->gpio_speakers)) { in acp3x_es83xx_init()
304 return PTR_ERR(priv->gpio_speakers); in acp3x_es83xx_init()
/linux-6.12.1/sound/soc/intel/boards/
Dsof_es8336.c62 struct gpio_desc *gpio_speakers, *gpio_headphone; member
120 gpiod_set_value_cansleep(priv->gpio_speakers, priv->speaker_en); in pcm_pop_work_events()
145 gpiod_set_value_cansleep(priv->gpio_speakers, true); in sof_8336_trigger()
736 priv->gpio_speakers = gpiod_get_optional(codec_dev, "speakers-enable", GPIOD_OUT_LOW); in sof_es8336_probe()
737 if (IS_ERR(priv->gpio_speakers)) { in sof_es8336_probe()
738 ret = dev_err_probe(dev, PTR_ERR(priv->gpio_speakers), in sof_es8336_probe()
763 gpiod_put(priv->gpio_speakers); in sof_es8336_probe()
782 gpiod_put(priv->gpio_speakers); in sof_es8336_remove()