Home
last modified time | relevance | path

Searched refs:pwol (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/dsa/
H A Dbcm_sf2.c1005 struct ethtool_wolinfo pwol = { }; in bcm_sf2_sw_get_wol() local
1009 p->ethtool_ops->get_wol(p, &pwol); in bcm_sf2_sw_get_wol()
1012 wol->supported = pwol.supported; in bcm_sf2_sw_get_wol()
1015 if (pwol.wolopts & WAKE_MAGICSECURE) in bcm_sf2_sw_get_wol()
1016 memcpy(&wol->sopass, pwol.sopass, sizeof(wol->sopass)); in bcm_sf2_sw_get_wol()
1019 wol->wolopts = pwol.wolopts; in bcm_sf2_sw_get_wol()
1030 struct ethtool_wolinfo pwol = { }; in bcm_sf2_sw_set_wol() local
1033 p->ethtool_ops->get_wol(p, &pwol); in bcm_sf2_sw_set_wol()
1034 if (wol->wolopts & ~pwol.supported) in bcm_sf2_sw_set_wol()