Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/can/m_can/
Dtcan4x5x-core.c117 if (priv->device_wake_gpio && wake_state) { in tcan4x5x_check_wake()
118 gpiod_set_value(priv->device_wake_gpio, 0); in tcan4x5x_check_wake()
120 gpiod_set_value(priv->device_wake_gpio, 1); in tcan4x5x_check_wake()
261 tcan4x5x->device_wake_gpio = devm_gpiod_get(cdev->dev, "device-wake", in tcan4x5x_get_gpios()
263 if (IS_ERR(tcan4x5x->device_wake_gpio)) { in tcan4x5x_get_gpios()
264 if (PTR_ERR(tcan4x5x->device_wake_gpio) == -EPROBE_DEFER) in tcan4x5x_get_gpios()
Dtcan4x5x.h39 struct gpio_desc *device_wake_gpio; member
/linux-6.1.9/drivers/bluetooth/
Dhci_h5.c102 struct gpio_desc *device_wake_gpio; member
859 h5->device_wake_gpio = devm_gpiod_get_optional(dev, "device-wake", in h5_serdev_probe()
861 if (IS_ERR(h5->device_wake_gpio)) in h5_serdev_probe()
862 return PTR_ERR(h5->device_wake_gpio); in h5_serdev_probe()
973 gpiod_set_value_cansleep(h5->device_wake_gpio, 0); in h5_btrtl_open()
978 gpiod_set_value_cansleep(h5->device_wake_gpio, 1); in h5_btrtl_open()
987 gpiod_set_value_cansleep(h5->device_wake_gpio, 0); in h5_btrtl_close()
1000 gpiod_set_value_cansleep(h5->device_wake_gpio, 0); in h5_btrtl_suspend()
1043 gpiod_set_value_cansleep(h5->device_wake_gpio, 1); in h5_btrtl_resume()