Searched refs:pwol (Results 1 – 1 of 1) sorted by relevance
994 struct ethtool_wolinfo pwol = { }; in bcm_sf2_sw_get_wol() local998 p->ethtool_ops->get_wol(p, &pwol); in bcm_sf2_sw_get_wol()1001 wol->supported = pwol.supported; in bcm_sf2_sw_get_wol()1004 if (pwol.wolopts & WAKE_MAGICSECURE) in bcm_sf2_sw_get_wol()1005 memcpy(&wol->sopass, pwol.sopass, sizeof(wol->sopass)); in bcm_sf2_sw_get_wol()1008 wol->wolopts = pwol.wolopts; in bcm_sf2_sw_get_wol()1019 struct ethtool_wolinfo pwol = { }; in bcm_sf2_sw_set_wol() local1022 p->ethtool_ops->get_wol(p, &pwol); in bcm_sf2_sw_set_wol()1023 if (wol->wolopts & ~pwol.supported) in bcm_sf2_sw_set_wol()