Home
last modified time | relevance | path

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

/linux/drivers/iio/temperature/
H A Dmlx90614.c98 struct gpio_desc *wakeup_gpio; /* NULL to disable sleep/wake-up */ member
199 if (!data->wakeup_gpio) in mlx90614_power_get()
221 if (!data->wakeup_gpio) in mlx90614_power_put()
471 if (!data->wakeup_gpio) { in mlx90614_sleep()
492 if (!data->wakeup_gpio) { in mlx90614_wakeup()
500 gpiod_direction_output(data->wakeup_gpio, 0); in mlx90614_wakeup()
502 gpiod_direction_input(data->wakeup_gpio); in mlx90614_wakeup()
597 data->wakeup_gpio = mlx90614_probe_wakeup(client); in mlx90614_probe()
622 if (data->wakeup_gpio) { in mlx90614_probe()
640 if (data->wakeup_gpio) { in mlx90614_remove()
[all …]
/linux/drivers/net/phy/
H A Dbroadcom.c1173 struct gpio_desc *wakeup_gpio; in bcm54xx_phy_probe() local
1198 wakeup_gpio = devm_gpiod_get(&phydev->mdio.dev, "wakeup", GPIOD_IN); in bcm54xx_phy_probe()
1199 if (PTR_ERR(wakeup_gpio) == -EPROBE_DEFER) in bcm54xx_phy_probe()
1200 return PTR_ERR(wakeup_gpio); in bcm54xx_phy_probe()
1202 if (!IS_ERR(wakeup_gpio)) { in bcm54xx_phy_probe()
1203 priv->wake_irq = gpiod_to_irq(wakeup_gpio); in bcm54xx_phy_probe()