Home
last modified time | relevance | path

Searched refs:sopass (Results 1 – 25 of 26) sorted by relevance

12

/drivers/net/ethernet/broadcom/genet/
Dbcmgenet_wol.c53 memset(wol->sopass, 0, sizeof(wol->sopass)); in bcmgenet_get_wol()
56 memcpy(wol->sopass, priv->sopass, sizeof(priv->sopass)); in bcmgenet_get_wol()
74 memcpy(priv->sopass, wol->sopass, sizeof(priv->sopass)); in bcmgenet_set_wol()
116 bcmgenet_umac_writel(priv, get_unaligned_be16(&priv->sopass[0]), in bcmgenet_set_mpd_password()
118 bcmgenet_umac_writel(priv, get_unaligned_be32(&priv->sopass[2]), in bcmgenet_set_mpd_password()
Dbcmgenet.h642 u8 sopass[SOPASS_MAX]; member
/drivers/net/phy/
Ddp83tc811.c130 (wol->sopass[1] << 8) | wol->sopass[0]); in dp83811_set_wol()
133 (wol->sopass[3] << 8) | wol->sopass[2]); in dp83811_set_wol()
136 (wol->sopass[5] << 8) | wol->sopass[4]); in dp83811_set_wol()
174 wol->sopass[0] = (sopass_val & 0xff); in dp83811_get_wol()
175 wol->sopass[1] = (sopass_val >> 8); in dp83811_get_wol()
179 wol->sopass[2] = (sopass_val & 0xff); in dp83811_get_wol()
180 wol->sopass[3] = (sopass_val >> 8); in dp83811_get_wol()
184 wol->sopass[4] = (sopass_val & 0xff); in dp83811_get_wol()
185 wol->sopass[5] = (sopass_val >> 8); in dp83811_get_wol()
Ddp83822.c155 (wol->sopass[1] << 8) | wol->sopass[0]); in dp83822_set_wol()
158 (wol->sopass[3] << 8) | wol->sopass[2]); in dp83822_set_wol()
161 (wol->sopass[5] << 8) | wol->sopass[4]); in dp83822_set_wol()
198 wol->sopass[0] = (sopass_val & 0xff); in dp83822_get_wol()
199 wol->sopass[1] = (sopass_val >> 8); in dp83822_get_wol()
203 wol->sopass[2] = (sopass_val & 0xff); in dp83822_get_wol()
204 wol->sopass[3] = (sopass_val >> 8); in dp83822_get_wol()
208 wol->sopass[4] = (sopass_val & 0xff); in dp83822_get_wol()
209 wol->sopass[5] = (sopass_val >> 8); in dp83822_get_wol()
Ddp83869.c298 (wol->sopass[1] << 8) | wol->sopass[0]); in dp83869_set_wol()
304 (wol->sopass[3] << 8) | wol->sopass[2]); in dp83869_set_wol()
309 (wol->sopass[5] << 8) | wol->sopass[4]); in dp83869_set_wol()
371 wol->sopass[0] = (sopass_val & 0xff); in dp83869_get_wol()
372 wol->sopass[1] = (sopass_val >> 8); in dp83869_get_wol()
381 wol->sopass[2] = (sopass_val & 0xff); in dp83869_get_wol()
382 wol->sopass[3] = (sopass_val >> 8); in dp83869_get_wol()
391 wol->sopass[4] = (sopass_val & 0xff); in dp83869_get_wol()
392 wol->sopass[5] = (sopass_val >> 8); in dp83869_get_wol()
Ddp83867.c217 (wol->sopass[1] << 8) | wol->sopass[0]); in dp83867_set_wol()
219 (wol->sopass[3] << 8) | wol->sopass[2]); in dp83867_set_wol()
221 (wol->sopass[5] << 8) | wol->sopass[4]); in dp83867_set_wol()
271 wol->sopass[0] = (sopass_val & 0xff); in dp83867_get_wol()
272 wol->sopass[1] = (sopass_val >> 8); in dp83867_get_wol()
276 wol->sopass[2] = (sopass_val & 0xff); in dp83867_get_wol()
277 wol->sopass[3] = (sopass_val >> 8); in dp83867_get_wol()
281 wol->sopass[4] = (sopass_val & 0xff); in dp83867_get_wol()
282 wol->sopass[5] = (sopass_val >> 8); in dp83867_get_wol()
/drivers/net/dsa/
Dbcm_sf2.c993 memset(&wol->sopass, 0, sizeof(wol->sopass)); in bcm_sf2_sw_get_wol()
996 memcpy(&wol->sopass, pwol.sopass, sizeof(wol->sopass)); in bcm_sf2_sw_get_wol()
/drivers/net/ethernet/broadcom/
Dbcmsysport.c543 memcpy(wol->sopass, priv->sopass, sizeof(priv->sopass)); in bcm_sysport_get_wol()
560 memcpy(priv->sopass, wol->sopass, sizeof(priv->sopass)); in bcm_sysport_set_wol()
2676 umac_writel(priv, get_unaligned_be16(&priv->sopass[0]), in bcm_sysport_suspend_to_wol()
2678 umac_writel(priv, get_unaligned_be32(&priv->sopass[2]), in bcm_sysport_suspend_to_wol()
Dbcmsysport.h741 u8 sopass[SOPASS_MAX]; member
Db44.c2098 memset(&wol->sopass, 0, sizeof(wol->sopass)); in b44_get_wol()
Dbnx2.c7126 memset(&wol->sopass, 0, sizeof(wol->sopass)); in bnx2_get_wol()
/drivers/net/ethernet/sfc/
Dsiena.c676 memset(&wol->sopass, 0, sizeof(wol->sopass)); in siena_get_wol()
Def10.c2039 memset(&wol->sopass, 0, sizeof(wol->sopass)); in efx_ef10_get_wol()
/drivers/net/phy/mscc/
Dmscc_main.c306 pwd[i] = wol_conf->sopass[5 - (i * 2 + 1)] << 8 | in vsc85xx_wol_set()
307 wol_conf->sopass[5 - i * 2]; in vsc85xx_wol_set()
374 wol_conf->sopass[5 - i * 2] = pwd[i] & 0x00ff; in vsc85xx_wol_get()
375 wol_conf->sopass[5 - (i * 2 + 1)] = (pwd[i] & 0xff00) in vsc85xx_wol_get()
/drivers/net/ethernet/natsemi/
Dnatsemi.c1391 u16 sopass[3]; in natsemi_reset() local
1417 sopass[i] = readw(ioaddr + RxFilterData); in natsemi_reset()
1455 writew(sopass[i], ioaddr + RxFilterData); in natsemi_reset()
2609 netdev_get_sopass(dev, wol->sopass); in get_wol()
2619 res = netdev_set_sopass(dev, wol->sopass); in set_wol()
/drivers/net/ethernet/toshiba/
Dps3_gelic_net.c1296 memset(&wol->sopass, 0, sizeof(wol->sopass)); in gelic_net_get_wol()
/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c797 memset(&wol->sopass, 0, sizeof(wol->sopass)); in be_get_wol()
/drivers/net/ethernet/3com/
Dtyphoon.c1120 memset(&wol->sopass, 0, sizeof(wol->sopass)); in typhoon_get_wol()
/drivers/net/ethernet/sfc/falcon/
Dfalcon.c2691 memset(&wol->sopass, 0, sizeof(wol->sopass)); in falcon_get_wol()
/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c1914 memset(&wol->sopass, 0, sizeof(wol->sopass)); in cxgb4vf_get_wol()
/drivers/net/ethernet/via/
Dvia-velocity.c3443 memcpy(&wol->sopass, vptr->wol_passwd, 6); in velocity_ethtool_get_wol()
3473 memcpy(vptr->wol_passwd, wol->sopass, 6); in velocity_ethtool_set_wol()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c1155 memset(&wol->sopass, 0, sizeof(wol->sopass)); in bnx2x_get_wol()
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c2108 memset(&wol->sopass, 0, sizeof(wol->sopass)); in get_wol()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1410 memset(&wol->sopass, 0, sizeof(wol->sopass)); in bnxt_get_wol()
/drivers/net/ethernet/micrel/
Dksz884x.c6096 memset(&wol->sopass, 0, sizeof(wol->sopass)); in netdev_get_wol()

12