Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/codecs/
Dtas2562.c48 struct gpio_desc *sdz_gpio; member
388 if (tas2562->sdz_gpio) in tas2562_codec_probe()
389 gpiod_set_value_cansleep(tas2562->sdz_gpio, 1); in tas2562_codec_probe()
402 if (tas2562->sdz_gpio) in tas2562_suspend()
403 gpiod_set_value_cansleep(tas2562->sdz_gpio, 0); in tas2562_suspend()
412 if (tas2562->sdz_gpio) in tas2562_resume()
413 gpiod_set_value_cansleep(tas2562->sdz_gpio, 1); in tas2562_resume()
671 tas2562->sdz_gpio = devm_gpiod_get_optional(dev, "shutdown", GPIOD_OUT_HIGH); in tas2562_parse_dt()
672 if (IS_ERR(tas2562->sdz_gpio)) { in tas2562_parse_dt()
673 if (PTR_ERR(tas2562->sdz_gpio) == -EPROBE_DEFER) in tas2562_parse_dt()
[all …]
Dtas2764.c29 struct gpio_desc *sdz_gpio; member
139 if (tas2764->sdz_gpio) in tas2764_codec_suspend()
140 gpiod_set_value_cansleep(tas2764->sdz_gpio, 0); in tas2764_codec_suspend()
153 if (tas2764->sdz_gpio) { in tas2764_codec_resume()
154 gpiod_set_value_cansleep(tas2764->sdz_gpio, 1); in tas2764_codec_resume()
536 if (tas2764->sdz_gpio) { in tas2764_codec_probe()
537 gpiod_set_value_cansleep(tas2764->sdz_gpio, 1); in tas2764_codec_probe()
679 tas2764->sdz_gpio = devm_gpiod_get_optional(dev, "shutdown", GPIOD_OUT_HIGH); in tas2764_parse_dt()
680 if (IS_ERR(tas2764->sdz_gpio)) { in tas2764_parse_dt()
681 if (PTR_ERR(tas2764->sdz_gpio) == -EPROBE_DEFER) in tas2764_parse_dt()
[all …]
Dtas2770.c76 if (tas2770->sdz_gpio) { in tas2770_codec_suspend()
77 gpiod_set_value_cansleep(tas2770->sdz_gpio, 0); in tas2770_codec_suspend()
99 if (tas2770->sdz_gpio) { in tas2770_codec_resume()
100 gpiod_set_value_cansleep(tas2770->sdz_gpio, 1); in tas2770_codec_resume()
497 if (tas2770->sdz_gpio) { in tas2770_codec_probe()
498 gpiod_set_value_cansleep(tas2770->sdz_gpio, 1); in tas2770_codec_probe()
644 tas2770->sdz_gpio = devm_gpiod_get_optional(dev, "shutdown", GPIOD_OUT_HIGH); in tas2770_parse_dt()
645 if (IS_ERR(tas2770->sdz_gpio)) { in tas2770_parse_dt()
646 if (PTR_ERR(tas2770->sdz_gpio) == -EPROBE_DEFER) in tas2770_parse_dt()
649 tas2770->sdz_gpio = NULL; in tas2770_parse_dt()
Dtas2770.h136 struct gpio_desc *sdz_gpio; member