Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/net/ethernet/broadcom/genet/
Dbcmgenet_wol.c47 memset(wol->sopass, 0, sizeof(wol->sopass)); in bcmgenet_get_wol()
50 memcpy(wol->sopass, priv->sopass, sizeof(priv->sopass)); in bcmgenet_get_wol()
68 memcpy(priv->sopass, wol->sopass, sizeof(priv->sopass)); in bcmgenet_set_wol()
110 bcmgenet_umac_writel(priv, get_unaligned_be16(&priv->sopass[0]), in bcmgenet_set_mpd_password()
112 bcmgenet_umac_writel(priv, get_unaligned_be32(&priv->sopass[2]), in bcmgenet_set_mpd_password()
Dbcmgenet.h697 u8 sopass[SOPASS_MAX]; member
/Linux-v5.10/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.c170 (wol->sopass[1] << 8) | wol->sopass[0]); in dp83822_set_wol()
173 (wol->sopass[3] << 8) | wol->sopass[2]); in dp83822_set_wol()
176 (wol->sopass[5] << 8) | wol->sopass[4]); in dp83822_set_wol()
213 wol->sopass[0] = (sopass_val & 0xff); in dp83822_get_wol()
214 wol->sopass[1] = (sopass_val >> 8); in dp83822_get_wol()
218 wol->sopass[2] = (sopass_val & 0xff); in dp83822_get_wol()
219 wol->sopass[3] = (sopass_val >> 8); in dp83822_get_wol()
223 wol->sopass[4] = (sopass_val & 0xff); in dp83822_get_wol()
224 wol->sopass[5] = (sopass_val >> 8); in dp83822_get_wol()
Ddp83869.c264 (wol->sopass[1] << 8) | wol->sopass[0]); in dp83869_set_wol()
270 (wol->sopass[3] << 8) | wol->sopass[2]); in dp83869_set_wol()
275 (wol->sopass[5] << 8) | wol->sopass[4]); in dp83869_set_wol()
337 wol->sopass[0] = (sopass_val & 0xff); in dp83869_get_wol()
338 wol->sopass[1] = (sopass_val >> 8); in dp83869_get_wol()
347 wol->sopass[2] = (sopass_val & 0xff); in dp83869_get_wol()
348 wol->sopass[3] = (sopass_val >> 8); in dp83869_get_wol()
357 wol->sopass[4] = (sopass_val & 0xff); in dp83869_get_wol()
358 wol->sopass[5] = (sopass_val >> 8); in dp83869_get_wol()
Ddp83867.c215 (wol->sopass[1] << 8) | wol->sopass[0]); in dp83867_set_wol()
217 (wol->sopass[3] << 8) | wol->sopass[2]); in dp83867_set_wol()
219 (wol->sopass[5] << 8) | wol->sopass[4]); in dp83867_set_wol()
269 wol->sopass[0] = (sopass_val & 0xff); in dp83867_get_wol()
270 wol->sopass[1] = (sopass_val >> 8); in dp83867_get_wol()
274 wol->sopass[2] = (sopass_val & 0xff); in dp83867_get_wol()
275 wol->sopass[3] = (sopass_val >> 8); in dp83867_get_wol()
279 wol->sopass[4] = (sopass_val & 0xff); in dp83867_get_wol()
280 wol->sopass[5] = (sopass_val >> 8); in dp83867_get_wol()
/Linux-v5.10/net/ethtool/
Dwol.c59 len += nla_total_size(sizeof(data->wol.sopass)); in wol_reply_size()
78 nla_put(skb, ETHTOOL_A_WOL_SOPASS, sizeof(data->wol.sopass), in wol_fill_reply()
79 data->wol.sopass)) in wol_fill_reply()
151 ethnl_update_binary(wol.sopass, sizeof(wol.sopass), in ethnl_set_wol()
/Linux-v5.10/drivers/net/dsa/
Dbcm_sf2.c890 memset(&wol->sopass, 0, sizeof(wol->sopass)); in bcm_sf2_sw_get_wol()
893 memcpy(&wol->sopass, pwol.sopass, sizeof(wol->sopass)); in bcm_sf2_sw_get_wol()
/Linux-v5.10/drivers/net/ethernet/broadcom/
Dbcmsysport.c542 memcpy(wol->sopass, priv->sopass, sizeof(priv->sopass)); in bcm_sysport_get_wol()
559 memcpy(priv->sopass, wol->sopass, sizeof(priv->sopass)); in bcm_sysport_set_wol()
2672 umac_writel(priv, get_unaligned_be16(&priv->sopass[0]), in bcm_sysport_suspend_to_wol()
2674 umac_writel(priv, get_unaligned_be32(&priv->sopass[2]), in bcm_sysport_suspend_to_wol()
Dbcmsysport.h771 u8 sopass[SOPASS_MAX]; member
Db44.c2096 memset(&wol->sopass, 0, sizeof(wol->sopass)); in b44_get_wol()
/Linux-v5.10/drivers/net/ethernet/sfc/
Dsiena.c676 memset(&wol->sopass, 0, sizeof(wol->sopass)); in siena_get_wol()
Def10.c2002 memset(&wol->sopass, 0, sizeof(wol->sopass)); in efx_ef10_get_wol()
/Linux-v5.10/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()
/Linux-v5.10/drivers/net/ethernet/natsemi/
Dnatsemi.c1394 u16 sopass[3]; in natsemi_reset() local
1420 sopass[i] = readw(ioaddr + RxFilterData); in natsemi_reset()
1458 writew(sopass[i], ioaddr + RxFilterData); in natsemi_reset()
2612 netdev_get_sopass(dev, wol->sopass); in get_wol()
2622 res = netdev_set_sopass(dev, wol->sopass); in set_wol()
/Linux-v5.10/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c793 memset(&wol->sopass, 0, sizeof(wol->sopass)); in be_get_wol()
/Linux-v5.10/drivers/net/ethernet/toshiba/
Dps3_gelic_net.c1293 memset(&wol->sopass, 0, sizeof(wol->sopass)); in gelic_net_get_wol()
/Linux-v5.10/include/uapi/linux/
Dethtool.h207 __u8 sopass[SOPASS_MAX]; member
/Linux-v5.10/drivers/net/ethernet/3com/
Dtyphoon.c1120 memset(&wol->sopass, 0, sizeof(wol->sopass)); in typhoon_get_wol()
/Linux-v5.10/drivers/net/ethernet/sfc/falcon/
Dfalcon.c2691 memset(&wol->sopass, 0, sizeof(wol->sopass)); in falcon_get_wol()
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c1910 memset(&wol->sopass, 0, sizeof(wol->sopass)); in cxgb4vf_get_wol()
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c1155 memset(&wol->sopass, 0, sizeof(wol->sopass)); in bnx2x_get_wol()
/Linux-v5.10/drivers/net/ethernet/via/
Dvia-velocity.c3445 memcpy(&wol->sopass, vptr->wol_passwd, 6); in velocity_ethtool_get_wol()
3475 memcpy(vptr->wol_passwd, wol->sopass, 6); in velocity_ethtool_set_wol()
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c2103 memset(&wol->sopass, 0, sizeof(wol->sopass)); in get_wol()
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1393 memset(&wol->sopass, 0, sizeof(wol->sopass)); in bnxt_get_wol()

12