Searched refs:sdz_gpio (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/sound/soc/codecs/ |
D | tas2562.c | 48 struct gpio_desc *sdz_gpio; member 389 if (tas2562->sdz_gpio) in tas2562_codec_probe() 390 gpiod_set_value_cansleep(tas2562->sdz_gpio, 1); in tas2562_codec_probe() 403 if (tas2562->sdz_gpio) in tas2562_suspend() 404 gpiod_set_value_cansleep(tas2562->sdz_gpio, 0); in tas2562_suspend() 413 if (tas2562->sdz_gpio) in tas2562_resume() 414 gpiod_set_value_cansleep(tas2562->sdz_gpio, 1); in tas2562_resume() 672 tas2562->sdz_gpio = devm_gpiod_get_optional(dev, "shutdown", GPIOD_OUT_HIGH); in tas2562_parse_dt() 673 if (IS_ERR(tas2562->sdz_gpio)) { in tas2562_parse_dt() 674 if (PTR_ERR(tas2562->sdz_gpio) == -EPROBE_DEFER) in tas2562_parse_dt() [all …]
|
D | tas2764.c | 31 struct gpio_desc *sdz_gpio; member 141 if (tas2764->sdz_gpio) in tas2764_codec_suspend() 142 gpiod_set_value_cansleep(tas2764->sdz_gpio, 0); in tas2764_codec_suspend() 155 if (tas2764->sdz_gpio) { in tas2764_codec_resume() 156 gpiod_set_value_cansleep(tas2764->sdz_gpio, 1); in tas2764_codec_resume() 538 if (tas2764->sdz_gpio) { in tas2764_codec_probe() 539 gpiod_set_value_cansleep(tas2764->sdz_gpio, 1); in tas2764_codec_probe() 681 tas2764->sdz_gpio = devm_gpiod_get_optional(dev, "shutdown", GPIOD_OUT_HIGH); in tas2764_parse_dt() 682 if (IS_ERR(tas2764->sdz_gpio)) { in tas2764_parse_dt() 683 if (PTR_ERR(tas2764->sdz_gpio) == -EPROBE_DEFER) in tas2764_parse_dt() [all …]
|
D | tas2770.c | 78 if (tas2770->sdz_gpio) { in tas2770_codec_suspend() 79 gpiod_set_value_cansleep(tas2770->sdz_gpio, 0); in tas2770_codec_suspend() 101 if (tas2770->sdz_gpio) { in tas2770_codec_resume() 102 gpiod_set_value_cansleep(tas2770->sdz_gpio, 1); in tas2770_codec_resume() 499 if (tas2770->sdz_gpio) { in tas2770_codec_probe() 500 gpiod_set_value_cansleep(tas2770->sdz_gpio, 1); in tas2770_codec_probe() 646 tas2770->sdz_gpio = devm_gpiod_get_optional(dev, "shutdown", GPIOD_OUT_HIGH); in tas2770_parse_dt() 647 if (IS_ERR(tas2770->sdz_gpio)) { in tas2770_parse_dt() 648 if (PTR_ERR(tas2770->sdz_gpio) == -EPROBE_DEFER) in tas2770_parse_dt() 651 tas2770->sdz_gpio = NULL; in tas2770_parse_dt()
|
D | tas2770.h | 136 struct gpio_desc *sdz_gpio; member
|