Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/can/m_can/
H A 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()
H A Dtcan4x5x.h39 struct gpio_desc *device_wake_gpio; member
/openbmc/linux/drivers/bluetooth/
H A Dhci_h5.c102 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()