Searched refs:wol_bits (Results 1 – 3 of 3) sorted by relevance
362 u32 wol_bits = 0; in aq_fw2x_set_wol() local374 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()
1737 u8 wol_bits; in sundance_get_wol() local1745 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() local1763 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()
378 enum wol_bits { enum