Lines Matching refs:wolopts
1094 wol->wolopts = 0;
1108 wol->wolopts |= adapter->wolopts;
1109 if (adapter->wolopts & WAKE_MAGICSECURE)
1121 if ((wol->wolopts & WAKE_MAGICSECURE) && !(wol->wolopts & WAKE_MAGIC))
1128 phy_wol.wolopts = wol->wolopts & adapter->phy_wol_supported;
1133 if (wol->wolopts & WAKE_MAGICSECURE &&
1135 phy_wol.wolopts &= ~WAKE_MAGIC;
1144 adapter->phy_wolopts = phy_wol.wolopts;
1149 adapter->wolopts = 0;
1150 wol->wolopts &= ~adapter->phy_wolopts;
1151 if (wol->wolopts & WAKE_UCAST)
1152 adapter->wolopts |= WAKE_UCAST;
1153 if (wol->wolopts & WAKE_MCAST)
1154 adapter->wolopts |= WAKE_MCAST;
1155 if (wol->wolopts & WAKE_BCAST)
1156 adapter->wolopts |= WAKE_BCAST;
1157 if (wol->wolopts & WAKE_MAGIC)
1158 adapter->wolopts |= WAKE_MAGIC;
1159 if (wol->wolopts & WAKE_PHY)
1160 adapter->wolopts |= WAKE_PHY;
1161 if (wol->wolopts & WAKE_ARP)
1162 adapter->wolopts |= WAKE_ARP;
1163 if (wol->wolopts & WAKE_MAGICSECURE &&
1164 wol->wolopts & WAKE_MAGIC) {
1166 adapter->wolopts |= WAKE_MAGICSECURE;
1171 wol->wolopts = adapter->wolopts | adapter->phy_wolopts;
1172 device_set_wakeup_enable(&adapter->pdev->dev, (bool)wol->wolopts);