Lines Matching refs:sdz_gpio
49 struct gpio_desc *sdz_gpio; member
390 if (tas2562->sdz_gpio) in tas2562_codec_probe()
391 gpiod_set_value_cansleep(tas2562->sdz_gpio, 1); in tas2562_codec_probe()
404 if (tas2562->sdz_gpio) in tas2562_suspend()
405 gpiod_set_value_cansleep(tas2562->sdz_gpio, 0); in tas2562_suspend()
414 if (tas2562->sdz_gpio) in tas2562_resume()
415 gpiod_set_value_cansleep(tas2562->sdz_gpio, 1); in tas2562_resume()
673 tas2562->sdz_gpio = devm_gpiod_get_optional(dev, "shutdown", GPIOD_OUT_HIGH); in tas2562_parse_dt()
674 if (IS_ERR(tas2562->sdz_gpio)) { in tas2562_parse_dt()
675 if (PTR_ERR(tas2562->sdz_gpio) == -EPROBE_DEFER) in tas2562_parse_dt()
678 tas2562->sdz_gpio = NULL; in tas2562_parse_dt()
685 if (tas2562->sdz_gpio == NULL) { in tas2562_parse_dt()
686 tas2562->sdz_gpio = devm_gpiod_get_optional(dev, "shut-down", in tas2562_parse_dt()
688 if (IS_ERR(tas2562->sdz_gpio)) in tas2562_parse_dt()
689 if (PTR_ERR(tas2562->sdz_gpio) == -EPROBE_DEFER) in tas2562_parse_dt()
692 tas2562->sdz_gpio = NULL; in tas2562_parse_dt()