Searched refs:gpiod_shutdown (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/sound/soc/codecs/ |
H A D | ssm2305.c | 16 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 D | max9759.c | 18 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()
|