Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/can/m_can/
Dtcan4x5x-core.c150 if (priv->device_wake_gpio && wake_state) { in tcan4x5x_check_wake()
151 gpiod_set_value(priv->device_wake_gpio, 0); in tcan4x5x_check_wake()
153 gpiod_set_value(priv->device_wake_gpio, 1); in tcan4x5x_check_wake()
328 tcan4x5x->device_wake_gpio = devm_gpiod_get(cdev->dev, "device-wake", in tcan4x5x_get_gpios()
330 if (IS_ERR(tcan4x5x->device_wake_gpio)) { in tcan4x5x_get_gpios()
331 if (PTR_ERR(tcan4x5x->device_wake_gpio) == -EPROBE_DEFER) in tcan4x5x_get_gpios()
Dtcan4x5x.h39 struct gpio_desc *device_wake_gpio; member
/Linux-v6.6/drivers/bluetooth/
Dhci_h5.c102 struct gpio_desc *device_wake_gpio; member
861 h5->device_wake_gpio = devm_gpiod_get_optional(dev, "device-wake", in h5_serdev_probe()
863 if (IS_ERR(h5->device_wake_gpio)) in h5_serdev_probe()
864 return PTR_ERR(h5->device_wake_gpio); in h5_serdev_probe()
977 gpiod_set_value_cansleep(h5->device_wake_gpio, 0); in h5_btrtl_open()
982 gpiod_set_value_cansleep(h5->device_wake_gpio, 1); in h5_btrtl_open()
991 gpiod_set_value_cansleep(h5->device_wake_gpio, 0); in h5_btrtl_close()
1004 gpiod_set_value_cansleep(h5->device_wake_gpio, 0); in h5_btrtl_suspend()
1047 gpiod_set_value_cansleep(h5->device_wake_gpio, 1); in h5_btrtl_resume()