Home
last modified time | relevance | path

Searched refs:wol_enable (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/micrel/
Dksz884x.c1374 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()
[all …]
/linux-6.6.21/drivers/net/ethernet/broadcom/
Dtg3.c2934 static void tg3_frob_aux_power_5717(struct tg3 *tp, bool wol_enable) in tg3_frob_aux_power_5717() argument
2942 if (tg3_flag(tp, ENABLE_ASF) || tg3_flag(tp, ENABLE_APE) || wol_enable) in tg3_frob_aux_power_5717()