Searched refs:device_wake_gpio (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/can/m_can/ |
H A D | tcan4x5x.c | 123 struct gpio_desc *device_wake_gpio; member 139 if (priv->device_wake_gpio && wake_state) { in tcan4x5x_check_wake() 140 gpiod_set_value(priv->device_wake_gpio, 0); in tcan4x5x_check_wake() 142 gpiod_set_value(priv->device_wake_gpio, 1); in tcan4x5x_check_wake() 358 tcan4x5x->device_wake_gpio = devm_gpiod_get(cdev->dev, "device-wake", in tcan4x5x_parse_config() 360 if (IS_ERR(tcan4x5x->device_wake_gpio)) { in tcan4x5x_parse_config() 361 if (PTR_ERR(tcan4x5x->device_wake_gpio) == -EPROBE_DEFER) in tcan4x5x_parse_config()
|
/kernel/linux/linux-6.6/drivers/net/can/m_can/ |
H A D | tcan4x5x-core.c | 150 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()
|
H A D | tcan4x5x.h | 39 struct gpio_desc *device_wake_gpio; member
|
/kernel/linux/linux-5.10/drivers/bluetooth/ |
H A D | hci_h5.c | 97 struct gpio_desc *device_wake_gpio; member 831 h5->device_wake_gpio = devm_gpiod_get_optional(dev, "device-wake", in h5_serdev_probe() 833 if (IS_ERR(h5->device_wake_gpio)) in h5_serdev_probe() 834 return PTR_ERR(h5->device_wake_gpio); in h5_serdev_probe() 929 gpiod_set_value_cansleep(h5->device_wake_gpio, 1); in h5_btrtl_open() 935 gpiod_set_value_cansleep(h5->device_wake_gpio, 0); in h5_btrtl_close() 948 gpiod_set_value_cansleep(h5->device_wake_gpio, 0); in h5_btrtl_suspend()
|
/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | hci_h5.c | 102 struct gpio_desc *device_wake_gpio; member 862 h5->device_wake_gpio = devm_gpiod_get_optional(dev, "device-wake", in h5_serdev_probe() 864 if (IS_ERR(h5->device_wake_gpio)) in h5_serdev_probe() 865 return PTR_ERR(h5->device_wake_gpio); in h5_serdev_probe() 979 gpiod_set_value_cansleep(h5->device_wake_gpio, 0); in h5_btrtl_open() 984 gpiod_set_value_cansleep(h5->device_wake_gpio, 1); in h5_btrtl_open() 993 gpiod_set_value_cansleep(h5->device_wake_gpio, 0); in h5_btrtl_close() 1006 gpiod_set_value_cansleep(h5->device_wake_gpio, 0); in h5_btrtl_suspend() 1049 gpiod_set_value_cansleep(h5->device_wake_gpio, 1); in h5_btrtl_resume()
|
Completed in 5 milliseconds