Searched refs:wol_enable (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 1442 int wol_enable; member 3687 static void hw_enable_wol(struct ksz_hw *hw, u32 wol_enable, const u8 *net_addr) in hw_enable_wol() argument 3689 hw_cfg_wol(hw, KS8841_WOL_MAGIC_ENABLE, (wol_enable & WAKE_MAGIC)); in hw_enable_wol() 3690 hw_cfg_wol(hw, KS8841_WOL_FRAME0_ENABLE, (wol_enable & WAKE_UCAST)); in hw_enable_wol() 3692 hw_cfg_wol(hw, KS8841_WOL_FRAME1_ENABLE, (wol_enable & WAKE_MCAST)); in hw_enable_wol() 3694 hw_cfg_wol(hw, KS8841_WOL_FRAME2_ENABLE, (wol_enable & WAKE_BCAST)); in hw_enable_wol() 3695 hw_cfg_wol(hw, KS8841_WOL_FRAME3_ENABLE, (wol_enable & WAKE_ARP)); in hw_enable_wol() 5373 if (!hw_priv->wol_enable) in netdev_close() 6170 wol->wolopts = hw_priv->wol_enable; in netdev_get_wol() 6195 hw_priv->wol_enable = wol->wolopts; in netdev_set_wol() [all …]
|
/drivers/net/ethernet/broadcom/ |
D | tg3.c | 2940 static void tg3_frob_aux_power_5717(struct tg3 *tp, bool wol_enable) in tg3_frob_aux_power_5717() argument 2948 if (tg3_flag(tp, ENABLE_ASF) || tg3_flag(tp, ENABLE_APE) || wol_enable) in tg3_frob_aux_power_5717()
|