Home
last modified time | relevance | path

Searched refs:wakeup_gpio (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/iio/temperature/
H A Dmlx90614.c99 struct gpio_desc *wakeup_gpio; /* NULL to disable sleep/wake-up */ member
200 if (!data->wakeup_gpio) in mlx90614_power_get()
222 if (!data->wakeup_gpio) in mlx90614_power_put()
472 if (!data->wakeup_gpio) { in mlx90614_sleep()
493 if (!data->wakeup_gpio) { in mlx90614_wakeup()
501 gpiod_direction_output(data->wakeup_gpio, 0); in mlx90614_wakeup()
503 gpiod_direction_input(data->wakeup_gpio); in mlx90614_wakeup()
598 data->wakeup_gpio = mlx90614_probe_wakeup(client); in mlx90614_probe()
623 if (data->wakeup_gpio) { in mlx90614_probe()
641 if (data->wakeup_gpio) { in mlx90614_remove()
[all …]
/linux/drivers/iio/chemical/
H A Dccs811.c80 struct gpio_desc *wakeup_gpio; member
180 if (!data->wakeup_gpio) in ccs811_set_wakeup()
183 gpiod_set_value(data->wakeup_gpio, enable); in ccs811_set_wakeup()
425 data->wakeup_gpio = devm_gpiod_get_optional(&client->dev, "wakeup", in ccs811_probe()
427 if (IS_ERR(data->wakeup_gpio)) in ccs811_probe()
428 return PTR_ERR(data->wakeup_gpio); in ccs811_probe()
/linux/drivers/regulator/
H A Dtps65185.c48 struct gpio_desc *wakeup_gpio; member
358 data->wakeup_gpio = devm_gpiod_get_optional(&client->dev, "wakeup", GPIOD_OUT_HIGH); in tps65185_probe()
359 if (IS_ERR(data->wakeup_gpio)) in tps65185_probe()
361 PTR_ERR(data->wakeup_gpio), in tps65185_probe()
/linux/drivers/net/phy/
H A Dbroadcom.c1168 struct gpio_desc *wakeup_gpio; in bcm54xx_phy_probe() local
1193 wakeup_gpio = devm_gpiod_get(&phydev->mdio.dev, "wakeup", GPIOD_IN); in bcm54xx_phy_probe()
1194 if (PTR_ERR(wakeup_gpio) == -EPROBE_DEFER) in bcm54xx_phy_probe()
1195 return PTR_ERR(wakeup_gpio); in bcm54xx_phy_probe()
1197 if (!IS_ERR(wakeup_gpio)) { in bcm54xx_phy_probe()
1198 priv->wake_irq = gpiod_to_irq(wakeup_gpio); in bcm54xx_phy_probe()