Searched refs:sync_gpio (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/sound/soc/ |
A D | soc-ac97.c | 33 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()
|
/linux-6.3-rc2/sound/soc/tegra/ |
A D | tegra20_ac97.c | 70 gpio_request(workdata->sync_gpio, "codec-sync"); in tegra20_ac97_codec_warm_reset() 72 gpio_direction_output(workdata->sync_gpio, 1); in tegra20_ac97_codec_warm_reset() 75 gpio_set_value(workdata->sync_gpio, 0); in tegra20_ac97_codec_warm_reset() 77 gpio_free(workdata->sync_gpio); in tegra20_ac97_codec_warm_reset() 361 ac97->sync_gpio = of_get_named_gpio(pdev->dev.of_node, in tegra20_ac97_platform_probe() 363 if (!gpio_is_valid(ac97->sync_gpio)) { in tegra20_ac97_platform_probe()
|
A D | tegra20_ac97.h | 84 int sync_gpio; member
|
/linux-6.3-rc2/drivers/iio/frequency/ |
A D | ad9523.c | 272 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()
|
Completed in 18 milliseconds