Searched refs:gpio_wakeup (Results 1 – 5 of 5) sorted by relevance
22 if (!wdev->pdata.gpio_wakeup) in device_wakeup()24 if (gpiod_get_value_cansleep(wdev->pdata.gpio_wakeup) > 0) in device_wakeup()28 gpiod_set_value_cansleep(wdev->pdata.gpio_wakeup, 1); in device_wakeup()34 gpiod_set_value_cansleep(wdev->pdata.gpio_wakeup, 1); in device_wakeup()46 gpiod_set_value_cansleep(wdev->pdata.gpio_wakeup, 0); in device_wakeup()57 if (!wdev->pdata.gpio_wakeup) in device_release()60 gpiod_set_value_cansleep(wdev->pdata.gpio_wakeup, 0); in device_release()
313 wdev->pdata.gpio_wakeup = devm_gpiod_get_optional(dev, "wakeup", GPIOD_OUT_LOW); in wfx_init_common()314 if (IS_ERR(wdev->pdata.gpio_wakeup)) in wfx_init_common()317 if (wdev->pdata.gpio_wakeup) in wfx_init_common()318 gpiod_set_consumer_name(wdev->pdata.gpio_wakeup, "wfx wakeup"); in wfx_init_common()349 gpio_saved = wdev->pdata.gpio_wakeup; in wfx_probe()350 wdev->pdata.gpio_wakeup = NULL; in wfx_probe()420 wdev->pdata.gpio_wakeup = gpio_saved; in wfx_probe()421 if (wdev->pdata.gpio_wakeup) { in wfx_probe()424 gpiod_set_value_cansleep(wdev->pdata.gpio_wakeup, 1); in wfx_probe()
25 struct gpio_desc *gpio_wakeup; member
90 if (!wdev->pdata.gpio_wakeup || gpiod_get_value(wdev->pdata.gpio_wakeup) == 0) { in wfx_hif_wakeup_indication()
150 if (wdev->pdata.gpio_wakeup) in wfx_hif_shutdown()151 gpiod_set_value(wdev->pdata.gpio_wakeup, 0); in wfx_hif_shutdown()