Searched refs:wol_enable (Results 1 – 2 of 2) sorted by relevance
2272 bool wol_enable = !!(wol->wolopts & WAKE_PHY); in m_can_set_wol() local2278 if (wol_enable == device_may_wakeup(cdev->dev)) in m_can_set_wol()2281 ret = device_set_wakeup_enable(cdev->dev, wol_enable); in m_can_set_wol()2289 if (wol_enable) in m_can_set_wol()2305 device_set_wakeup_enable(cdev->dev, !wol_enable); in m_can_set_wol()
2935 static void tg3_frob_aux_power_5717(struct tg3 *tp, bool wol_enable) in tg3_frob_aux_power_5717() argument2943 if (tg3_flag(tp, ENABLE_ASF) || tg3_flag(tp, ENABLE_APE) || wol_enable) in tg3_frob_aux_power_5717()