Home
last modified time | relevance | path

Searched refs:gpio_wakeup (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/net/wireless/silabs/wfx/
Dbh.c22 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()
Dmain.c309 wdev->pdata.gpio_wakeup = devm_gpiod_get_optional(dev, "wakeup", GPIOD_OUT_LOW); in wfx_init_common()
310 if (IS_ERR(wdev->pdata.gpio_wakeup)) in wfx_init_common()
313 if (wdev->pdata.gpio_wakeup) in wfx_init_common()
314 gpiod_set_consumer_name(wdev->pdata.gpio_wakeup, "wfx wakeup"); in wfx_init_common()
344 gpio_saved = wdev->pdata.gpio_wakeup; in wfx_probe()
345 wdev->pdata.gpio_wakeup = NULL; in wfx_probe()
415 wdev->pdata.gpio_wakeup = gpio_saved; in wfx_probe()
416 if (wdev->pdata.gpio_wakeup) { in wfx_probe()
419 gpiod_set_value_cansleep(wdev->pdata.gpio_wakeup, 1); in wfx_probe()
Dmain.h25 struct gpio_desc *gpio_wakeup; member
Dhif_rx.c90 if (!wdev->pdata.gpio_wakeup || gpiod_get_value(wdev->pdata.gpio_wakeup) == 0) { in wfx_hif_wakeup_indication()
Dhif_tx.c132 if (wdev->pdata.gpio_wakeup) in wfx_hif_shutdown()
133 gpiod_set_value(wdev->pdata.gpio_wakeup, 0); in wfx_hif_shutdown()