Lines Matching refs:sdz_gpio
48 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()
676 tas2562->sdz_gpio = NULL; in tas2562_parse_dt()
683 if (tas2562->sdz_gpio == NULL) { in tas2562_parse_dt()
684 tas2562->sdz_gpio = devm_gpiod_get_optional(dev, "shut-down", in tas2562_parse_dt()
686 if (IS_ERR(tas2562->sdz_gpio)) in tas2562_parse_dt()
687 if (PTR_ERR(tas2562->sdz_gpio) == -EPROBE_DEFER) in tas2562_parse_dt()
690 tas2562->sdz_gpio = NULL; in tas2562_parse_dt()