Lines Matching refs:wol
1095 static void bnx2x_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol) in bnx2x_get_wol() argument
1100 wol->supported = 0; in bnx2x_get_wol()
1101 wol->wolopts = 0; in bnx2x_get_wol()
1103 wol->supported = WAKE_MAGIC; in bnx2x_get_wol()
1104 if (bp->wol) in bnx2x_get_wol()
1105 wol->wolopts = WAKE_MAGIC; in bnx2x_get_wol()
1107 wol->wolopts = 0; in bnx2x_get_wol()
1109 memset(&wol->sopass, 0, sizeof(wol->sopass)); in bnx2x_get_wol()
1112 static int bnx2x_set_wol(struct net_device *dev, struct ethtool_wolinfo *wol) in bnx2x_set_wol() argument
1116 if (wol->wolopts & ~WAKE_MAGIC) { in bnx2x_set_wol()
1121 if (wol->wolopts & WAKE_MAGIC) { in bnx2x_set_wol()
1126 bp->wol = 1; in bnx2x_set_wol()
1128 bp->wol = 0; in bnx2x_set_wol()