Lines Matching refs:wol_flag
1104 if (!(fep->wol_flag & FEC_WOL_FLAG_SLEEP_ON)) { in fec_stop()
1125 !(fep->wol_flag & FEC_WOL_FLAG_SLEEP_ON)) { in fec_stop()
2552 if (fep->wol_flag & FEC_WOL_HAS_MAGIC_PACKET) { in fec_enet_get_wol()
2554 wol->wolopts = fep->wol_flag & FEC_WOL_FLAG_ENABLE ? WAKE_MAGIC : 0; in fec_enet_get_wol()
2565 if (!(fep->wol_flag & FEC_WOL_HAS_MAGIC_PACKET)) in fec_enet_set_wol()
2573 fep->wol_flag |= FEC_WOL_FLAG_ENABLE; in fec_enet_set_wol()
2577 fep->wol_flag &= (~FEC_WOL_FLAG_ENABLE); in fec_enet_set_wol()
2873 device_set_wakeup_enable(&ndev->dev, fep->wol_flag & in fec_enet_open()
3361 fep->wol_flag |= FEC_WOL_HAS_MAGIC_PACKET; in fec_probe()
3488 device_init_wakeup(&ndev->dev, fep->wol_flag & in fec_probe()
3557 if (fep->wol_flag & FEC_WOL_FLAG_ENABLE) in fec_suspend()
3558 fep->wol_flag |= FEC_WOL_FLAG_SLEEP_ON; in fec_suspend()
3566 if (!(fep->wol_flag & FEC_WOL_FLAG_ENABLE)) in fec_suspend()
3571 if (fep->reg_phy && !(fep->wol_flag & FEC_WOL_FLAG_ENABLE)) in fec_suspend()
3591 if (fep->reg_phy && !(fep->wol_flag & FEC_WOL_FLAG_ENABLE)) { in fec_resume()
3604 if (fep->wol_flag & FEC_WOL_FLAG_ENABLE) { in fec_resume()
3610 fep->wol_flag &= ~FEC_WOL_FLAG_SLEEP_ON; in fec_resume()