Home
last modified time | relevance | path

Searched refs:sync_gpio (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/sound/soc/
H A Dsoc-ac97.c33 struct gpio_desc *sync_gpio; member
270 gpiod_direction_output_raw(snd_ac97_rst_cfg.sync_gpio, 1); in snd_soc_ac97_warm_reset()
274 gpiod_direction_output_raw(snd_ac97_rst_cfg.sync_gpio, 0); in snd_soc_ac97_warm_reset()
286 gpiod_direction_output_raw(snd_ac97_rst_cfg.sync_gpio, 0); in snd_soc_ac97_reset()
332 cfg->sync_gpio = devm_gpiod_get_index(dev, "ac97", 0, GPIOD_ASIS); in snd_soc_ac97_parse_pinctl()
333 if (IS_ERR(cfg->sync_gpio)) in snd_soc_ac97_parse_pinctl()
334 return dev_err_probe(dev, PTR_ERR(cfg->sync_gpio), "Can't find ac97-sync gpio\n"); in snd_soc_ac97_parse_pinctl()
335 gpiod_set_consumer_name(cfg->sync_gpio, "AC97 link sync"); in snd_soc_ac97_parse_pinctl()
/openbmc/linux/sound/soc/tegra/
H A Dtegra20_ac97.c69 gpio_request(workdata->sync_gpio, "codec-sync"); in tegra20_ac97_codec_warm_reset()
71 gpio_direction_output(workdata->sync_gpio, 1); in tegra20_ac97_codec_warm_reset()
74 gpio_set_value(workdata->sync_gpio, 0); in tegra20_ac97_codec_warm_reset()
76 gpio_free(workdata->sync_gpio); in tegra20_ac97_codec_warm_reset()
360 ac97->sync_gpio = of_get_named_gpio(pdev->dev.of_node, in tegra20_ac97_platform_probe()
362 if (!gpio_is_valid(ac97->sync_gpio)) { in tegra20_ac97_platform_probe()
H A Dtegra20_ac97.h84 int sync_gpio; member
/openbmc/linux/drivers/iio/frequency/
H A Dad9523.c272 struct gpio_desc *sync_gpio; member
1010 st->sync_gpio = devm_gpiod_get_optional(&spi->dev, "sync", in ad9523_probe()
1012 if (IS_ERR(st->sync_gpio)) in ad9523_probe()
1013 return PTR_ERR(st->sync_gpio); in ad9523_probe()