Searched refs:wol_bits (Results 1 – 2 of 2) sorted by relevance
1752 u8 wol_bits; in sundance_get_wol() local1760 wol_bits = ioread8(ioaddr + WakeEvent); in sundance_get_wol()1761 if (wol_bits & MagicPktEnable) in sundance_get_wol()1763 if (wol_bits & LinkEventEnable) in sundance_get_wol()1772 u8 wol_bits; in sundance_set_wol() local1778 wol_bits = ioread8(ioaddr + WakeEvent); in sundance_set_wol()1779 wol_bits &= ~(WakePktEnable | MagicPktEnable | in sundance_set_wol()1784 wol_bits |= (MagicPktEnable | WolEnable); in sundance_set_wol()1786 wol_bits |= (LinkEventEnable | WolEnable); in sundance_set_wol()1788 iowrite8(wol_bits, ioaddr + WakeEvent); in sundance_set_wol()
384 enum wol_bits { enum