Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/fsl/
H A Dimx-es8328.c26 int jack_gpio; member
58 if (gpio_is_valid(data->jack_gpio)) { in imx_es8328_dai_init()
67 headset_jack_gpios[0].gpio = data->jack_gpio; in imx_es8328_dai_init()
177 data->jack_gpio = of_get_named_gpio(pdev->dev.of_node, "jack-gpio", 0); in imx_es8328_probe()
/openbmc/linux/sound/soc/codecs/
H A Dcx2072x.c43 struct snd_soc_jack_gpio jack_gpio; member
1468 if (!cx2072x->jack_gpio.gpiod_dev) { in cx2072x_set_jack()
1469 cx2072x->jack_gpio = cx2072x_jack_gpio; in cx2072x_set_jack()
1470 cx2072x->jack_gpio.gpiod_dev = codec->dev; in cx2072x_set_jack()
1471 cx2072x->jack_gpio.data = codec; in cx2072x_set_jack()
1472 err = snd_soc_jack_add_gpios(jack, 1, &cx2072x->jack_gpio); in cx2072x_set_jack()
1474 cx2072x->jack_gpio.gpiod_dev = NULL; in cx2072x_set_jack()