Home
last modified time | relevance | path

Searched refs:wakeup_gpio (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/iio/temperature/
H A Dmlx90614.c76 struct gpio_desc *wakeup_gpio; /* NULL to disable sleep/wake-up */ member
180 if (!data->wakeup_gpio) in mlx90614_power_get()
200 if (!data->wakeup_gpio) in mlx90614_power_put()
406 if (!data->wakeup_gpio) { in mlx90614_sleep()
425 if (!data->wakeup_gpio) { in mlx90614_wakeup()
433 gpiod_direction_output(data->wakeup_gpio, 0); in mlx90614_wakeup()
435 gpiod_direction_input(data->wakeup_gpio); in mlx90614_wakeup()
524 data->wakeup_gpio = mlx90614_probe_wakeup(client); in mlx90614_probe()
548 if (data->wakeup_gpio) { in mlx90614_probe()
566 if (data->wakeup_gpio) { in mlx90614_remove()
[all...]
/kernel/linux/linux-6.6/drivers/iio/temperature/
H A 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...]
/kernel/linux/linux-5.10/drivers/iio/chemical/
H A 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()
/kernel/linux/linux-6.6/drivers/iio/chemical/
H A 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()
/kernel/linux/linux-6.6/drivers/net/phy/
H A 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()

Completed in 7 milliseconds