Home
last modified time | relevance | path

Searched refs:gpiod_shutdown (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/sound/soc/codecs/
H A Dssm2305.c16 struct gpio_desc *gpiod_shutdown; member
25 gpiod_set_value_cansleep(data->gpiod_shutdown, in ssm2305_power_event()
69 priv->gpiod_shutdown = devm_gpiod_get(dev, "shutdown", in ssm2305_probe()
71 if (IS_ERR(priv->gpiod_shutdown)) in ssm2305_probe()
72 return dev_err_probe(dev, PTR_ERR(priv->gpiod_shutdown), in ssm2305_probe()
H A Dmax9759.c18 struct gpio_desc *gpiod_shutdown; member
32 gpiod_set_value_cansleep(priv->gpiod_shutdown, 0); in pga_event()
34 gpiod_set_value_cansleep(priv->gpiod_shutdown, 1); in pga_event()
151 priv->gpiod_shutdown = devm_gpiod_get(dev, "shutdown", GPIOD_OUT_HIGH); in max9759_probe()
152 if (IS_ERR(priv->gpiod_shutdown)) in max9759_probe()
153 return dev_err_probe(dev, PTR_ERR(priv->gpiod_shutdown), in max9759_probe()