Home
last modified time | relevance | path

Searched refs:gpiod_dev (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/include/sound/
H A Dsoc-jack.h64 struct device *gpiod_dev; member
106 int snd_soc_jack_add_gpiods(struct device *gpiod_dev,
118 static inline int snd_soc_jack_add_gpiods(struct device *gpiod_dev, in snd_soc_jack_add_gpiods() argument
/openbmc/linux/sound/soc/
H A Dsoc-jack.c335 } else if (gpios[i].gpiod_dev) { in snd_soc_jack_add_gpios()
337 gpios[i].desc = gpiod_get_index(gpios[i].gpiod_dev, in snd_soc_jack_add_gpios()
342 dev_err(gpios[i].gpiod_dev, in snd_soc_jack_add_gpios()
425 int snd_soc_jack_add_gpiods(struct device *gpiod_dev, in snd_soc_jack_add_gpiods() argument
432 gpios[i].gpiod_dev = gpiod_dev; in snd_soc_jack_add_gpiods()
/openbmc/linux/sound/soc/intel/boards/
H A Dbdw-rt5677.c262 headphone_jack_gpio.gpiod_dev = component->dev; in bdw_rt5677_init()
274 mic_jack_gpio.gpiod_dev = component->dev; in bdw_rt5677_init()
H A Dkbl_rt5660.c182 lineout_jack_gpio.gpiod_dev = component->dev; in kabylake_rt5660_codec_init()
196 mic_jack_gpio.gpiod_dev = component->dev; in kabylake_rt5660_codec_init()
H A Dbytcr_rt5640.c1431 rt5640_jack_gpio.gpiod_dev = priv->codec_dev; in byt_rt5640_init()
1439 rt5640_jack2_gpio.gpiod_dev = priv->codec_dev; in byt_rt5640_init()
/openbmc/linux/sound/soc/codecs/
H A Dcx2072x.c1468 if (!cx2072x->jack_gpio.gpiod_dev) { in cx2072x_set_jack()
1470 cx2072x->jack_gpio.gpiod_dev = codec->dev; in cx2072x_set_jack()
1474 cx2072x->jack_gpio.gpiod_dev = NULL; in cx2072x_set_jack()
H A Drt5670.c584 rt5670->hp_gpio.gpiod_dev = component->dev; in rt5670_set_jack_detect()