Lines Matching refs:sdz_gpio
49 struct gpio_desc *sdz_gpio; member
404 if (tas2562->sdz_gpio) in tas2562_codec_probe()
405 gpiod_set_value_cansleep(tas2562->sdz_gpio, 1); in tas2562_codec_probe()
423 if (tas2562->sdz_gpio) in tas2562_suspend()
424 gpiod_set_value_cansleep(tas2562->sdz_gpio, 0); in tas2562_suspend()
433 if (tas2562->sdz_gpio) in tas2562_resume()
434 gpiod_set_value_cansleep(tas2562->sdz_gpio, 1); in tas2562_resume()
708 tas2562->sdz_gpio = devm_gpiod_get_optional(dev, "shutdown", GPIOD_OUT_HIGH); in tas2562_parse_dt()
709 if (IS_ERR(tas2562->sdz_gpio)) { in tas2562_parse_dt()
710 if (PTR_ERR(tas2562->sdz_gpio) == -EPROBE_DEFER) in tas2562_parse_dt()
713 tas2562->sdz_gpio = NULL; in tas2562_parse_dt()
720 if (tas2562->sdz_gpio == NULL) { in tas2562_parse_dt()
721 tas2562->sdz_gpio = devm_gpiod_get_optional(dev, "shut-down", in tas2562_parse_dt()
723 if (IS_ERR(tas2562->sdz_gpio)) in tas2562_parse_dt()
724 if (PTR_ERR(tas2562->sdz_gpio) == -EPROBE_DEFER) in tas2562_parse_dt()
727 tas2562->sdz_gpio = NULL; in tas2562_parse_dt()