Searched refs:wake_state (Results 1 – 3 of 3) sorted by relevance
158 int wake_state = 0; in tcan4x5x_check_wake() local161 wake_state = gpiod_get_value(priv->device_state_gpio); in tcan4x5x_check_wake()163 if (priv->device_wake_gpio && wake_state) { in tcan4x5x_check_wake()
166 int wake_state = gpiod_get_value(btdev->wakeup_host); in wakeup_handler() local168 if (btdev->rx_enabled == wake_state) in wakeup_handler()171 if (wake_state) in wakeup_handler()176 btdev->rx_enabled = wake_state; in wakeup_handler()
133 u32 wake_state; member694 w->wolopts = dm->wake_state; in dm9000_get_wol()721 if (dm->wake_state != opts) { in dm9000_set_wol()724 if (!dm->wake_state) in dm9000_set_wol()726 else if (dm->wake_state && !opts) in dm9000_set_wol()730 dm->wake_state = opts; in dm9000_set_wol()1728 if (!db->wake_state) in dm9000_drv_suspend()1744 if (!db->wake_state) { in dm9000_drv_resume()