Searched refs:gpio_headphone (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/sound/soc/amd/acp/acp3x-es83xx/ |
D | acp3x-es83xx.c | 38 struct gpio_desc *gpio_speakers, *gpio_headphone; member 170 gpiod_set_value_cansleep(priv->gpio_headphone, priv->headphone_on); in acp3x_es83xx_headphone_power_event() 187 gpiod_set_value_cansleep(priv->gpio_headphone, priv->headphone_on); in acp3x_es83xx_speaker_power_event() 307 priv->gpio_headphone = gpiod_get_optional(priv->codec_dev, "headphone-enable", in acp3x_es83xx_init() 309 if (IS_ERR(priv->gpio_headphone)) { in acp3x_es83xx_init() 311 return PTR_ERR(priv->gpio_headphone); in acp3x_es83xx_init()
|
/linux-6.12.1/sound/soc/intel/boards/ |
D | sof_es8336.c | 62 struct gpio_desc *gpio_speakers, *gpio_headphone; member 123 gpiod_set_value_cansleep(priv->gpio_headphone, priv->speaker_en); in pcm_pop_work_events() 743 priv->gpio_headphone = gpiod_get_optional(codec_dev, "headphone-enable", GPIOD_OUT_LOW); in sof_es8336_probe() 744 if (IS_ERR(priv->gpio_headphone)) { in sof_es8336_probe() 745 ret = dev_err_probe(dev, PTR_ERR(priv->gpio_headphone), in sof_es8336_probe()
|