Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iio/temperature/
Dmlx90614.c102 struct gpio_desc *wakeup_gpio; /* NULL to disable sleep/wake-up */ member
203 if (!data->wakeup_gpio) in mlx90614_power_get()
225 if (!data->wakeup_gpio) in mlx90614_power_put()
476 if (!data->wakeup_gpio) { in mlx90614_sleep()
497 if (!data->wakeup_gpio) { in mlx90614_wakeup()
505 gpiod_direction_output(data->wakeup_gpio, 0); in mlx90614_wakeup()
507 gpiod_direction_input(data->wakeup_gpio); in mlx90614_wakeup()
602 data->wakeup_gpio = mlx90614_probe_wakeup(client); in mlx90614_probe()
627 if (data->wakeup_gpio) { in mlx90614_probe()
645 if (data->wakeup_gpio) { in mlx90614_remove()
[all …]
/Linux-v6.6/drivers/iio/chemical/
Dccs811.c79 struct gpio_desc *wakeup_gpio; member
179 if (!data->wakeup_gpio) in ccs811_set_wakeup()
182 gpiod_set_value(data->wakeup_gpio, enable); in ccs811_set_wakeup()
424 data->wakeup_gpio = devm_gpiod_get_optional(&client->dev, "wakeup", in ccs811_probe()
426 if (IS_ERR(data->wakeup_gpio)) in ccs811_probe()
427 return PTR_ERR(data->wakeup_gpio); in ccs811_probe()
/Linux-v6.6/drivers/net/phy/
Dbroadcom.c899 struct gpio_desc *wakeup_gpio; in bcm54xx_phy_probe() local
924 wakeup_gpio = devm_gpiod_get(&phydev->mdio.dev, "wakeup", GPIOD_IN); in bcm54xx_phy_probe()
925 if (PTR_ERR(wakeup_gpio) == -EPROBE_DEFER) in bcm54xx_phy_probe()
926 return PTR_ERR(wakeup_gpio); in bcm54xx_phy_probe()
928 if (!IS_ERR(wakeup_gpio)) { in bcm54xx_phy_probe()
929 priv->wake_irq = gpiod_to_irq(wakeup_gpio); in bcm54xx_phy_probe()