Lines Matching refs:wol_enable
1374 int wol_enable; member
3314 static void hw_enable_wol(struct ksz_hw *hw, u32 wol_enable, const u8 *net_addr) in hw_enable_wol() argument
3316 hw_cfg_wol(hw, KS8841_WOL_MAGIC_ENABLE, (wol_enable & WAKE_MAGIC)); in hw_enable_wol()
3317 hw_cfg_wol(hw, KS8841_WOL_FRAME0_ENABLE, (wol_enable & WAKE_UCAST)); in hw_enable_wol()
3319 hw_cfg_wol(hw, KS8841_WOL_FRAME1_ENABLE, (wol_enable & WAKE_MCAST)); in hw_enable_wol()
3321 hw_cfg_wol(hw, KS8841_WOL_FRAME2_ENABLE, (wol_enable & WAKE_BCAST)); in hw_enable_wol()
3322 hw_cfg_wol(hw, KS8841_WOL_FRAME3_ENABLE, (wol_enable & WAKE_ARP)); in hw_enable_wol()
4999 if (!hw_priv->wol_enable) in netdev_close()
5795 wol->wolopts = hw_priv->wol_enable; in netdev_get_wol()
5820 hw_priv->wol_enable = wol->wolopts; in netdev_set_wol()
5824 hw_priv->wol_enable |= WAKE_PHY; in netdev_set_wol()
5825 hw_enable_wol(&hw_priv->hw, hw_priv->wol_enable, net_addr); in netdev_set_wol()
6674 hw_priv->wol_enable = 0; in pcidev_init()
6793 if (hw_priv->wol_enable) in pcidev_resume()
6828 if (hw_priv->wol_enable) { in pcidev_suspend()
6829 hw_enable_wol(hw, hw_priv->wol_enable, net_addr); in pcidev_suspend()