Home
last modified time | relevance | path

Searched refs:wol_bits (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_utils_fw2x.c362 u32 wol_bits = 0; in aq_fw2x_set_wol() local
374 wol_bits |= HW_ATL_FW2X_CTRL_WAKE_ON_LINK; in aq_fw2x_set_wol()
378 wol_bits |= HW_ATL_FW2X_CTRL_SLEEP_PROXY | in aq_fw2x_set_wol()
397 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR, wol_bits); in aq_fw2x_set_wol()
/openbmc/linux/drivers/net/ethernet/dlink/
H A Dsundance.c1737 u8 wol_bits; in sundance_get_wol() local
1745 wol_bits = ioread8(ioaddr + WakeEvent); in sundance_get_wol()
1746 if (wol_bits & MagicPktEnable) in sundance_get_wol()
1748 if (wol_bits & LinkEventEnable) in sundance_get_wol()
1757 u8 wol_bits; in sundance_set_wol() local
1763 wol_bits = ioread8(ioaddr + WakeEvent); in sundance_set_wol()
1764 wol_bits &= ~(WakePktEnable | MagicPktEnable | in sundance_set_wol()
1769 wol_bits |= (MagicPktEnable | WolEnable); in sundance_set_wol()
1771 wol_bits |= (LinkEventEnable | WolEnable); in sundance_set_wol()
1773 iowrite8(wol_bits, ioaddr + WakeEvent); in sundance_set_wol()
/openbmc/linux/drivers/net/ethernet/via/
H A Dvia-rhine.c378 enum wol_bits { enum