Lines Matching refs:sdz_gpio
49 struct gpio_desc *sdz_gpio; member
403 if (tas2562->sdz_gpio) in tas2562_codec_probe()
404 gpiod_set_value_cansleep(tas2562->sdz_gpio, 1); in tas2562_codec_probe()
422 if (tas2562->sdz_gpio) in tas2562_suspend()
423 gpiod_set_value_cansleep(tas2562->sdz_gpio, 0); in tas2562_suspend()
432 if (tas2562->sdz_gpio) in tas2562_resume()
433 gpiod_set_value_cansleep(tas2562->sdz_gpio, 1); in tas2562_resume()
707 tas2562->sdz_gpio = devm_gpiod_get_optional(dev, "shutdown", GPIOD_OUT_HIGH); in tas2562_parse_dt()
708 if (IS_ERR(tas2562->sdz_gpio)) { in tas2562_parse_dt()
709 if (PTR_ERR(tas2562->sdz_gpio) == -EPROBE_DEFER) in tas2562_parse_dt()
712 tas2562->sdz_gpio = NULL; in tas2562_parse_dt()
719 if (tas2562->sdz_gpio == NULL) { in tas2562_parse_dt()
720 tas2562->sdz_gpio = devm_gpiod_get_optional(dev, "shut-down", in tas2562_parse_dt()
722 if (IS_ERR(tas2562->sdz_gpio)) in tas2562_parse_dt()
723 if (PTR_ERR(tas2562->sdz_gpio) == -EPROBE_DEFER) in tas2562_parse_dt()
726 tas2562->sdz_gpio = NULL; in tas2562_parse_dt()