Lines Matching refs:sdz_gpio
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()
677 tas2562->sdz_gpio = NULL; in tas2562_parse_dt()
684 if (tas2562->sdz_gpio == NULL) { in tas2562_parse_dt()
685 tas2562->sdz_gpio = devm_gpiod_get_optional(dev, "shut-down", in tas2562_parse_dt()
687 if (IS_ERR(tas2562->sdz_gpio)) in tas2562_parse_dt()
688 if (PTR_ERR(tas2562->sdz_gpio) == -EPROBE_DEFER) in tas2562_parse_dt()
691 tas2562->sdz_gpio = NULL; in tas2562_parse_dt()