Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/phy/
Ddp83822.c124 (wol->sopass[1] << 8) | wol->sopass[0]); in dp83822_set_wol()
127 (wol->sopass[3] << 8) | wol->sopass[2]); in dp83822_set_wol()
130 (wol->sopass[5] << 8) | wol->sopass[4]); in dp83822_set_wol()
168 wol->sopass[0] = (sopass_val & 0xff); in dp83822_get_wol()
169 wol->sopass[1] = (sopass_val >> 8); in dp83822_get_wol()
173 wol->sopass[2] = (sopass_val & 0xff); in dp83822_get_wol()
174 wol->sopass[3] = (sopass_val >> 8); in dp83822_get_wol()
178 wol->sopass[4] = (sopass_val & 0xff); in dp83822_get_wol()
179 wol->sopass[5] = (sopass_val >> 8); in dp83822_get_wol()
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()
171 wol->sopass[0] = (sopass_val & 0xff); in dp83811_get_wol()
172 wol->sopass[1] = (sopass_val >> 8); in dp83811_get_wol()
176 wol->sopass[2] = (sopass_val & 0xff); in dp83811_get_wol()
177 wol->sopass[3] = (sopass_val >> 8); in dp83811_get_wol()
181 wol->sopass[4] = (sopass_val & 0xff); in dp83811_get_wol()
182 wol->sopass[5] = (sopass_val >> 8); in dp83811_get_wol()
Dmscc.c631 pwd[i] = wol_conf->sopass[5 - (i * 2 + 1)] << 8 | in vsc85xx_wol_set()
632 wol_conf->sopass[5 - i * 2]; in vsc85xx_wol_set()
699 wol_conf->sopass[5 - i * 2] = pwd[i] & 0x00ff; in vsc85xx_wol_get()
700 wol_conf->sopass[5 - (i * 2 + 1)] = (pwd[i] & 0xff00) in vsc85xx_wol_get()
/Linux-v5.4/drivers/net/ethernet/broadcom/genet/
Dbcmgenet_wol.c48 memset(wol->sopass, 0, sizeof(wol->sopass)); in bcmgenet_get_wol()
52 put_unaligned_be16(reg, &wol->sopass[0]); in bcmgenet_get_wol()
54 put_unaligned_be32(reg, &wol->sopass[2]); in bcmgenet_get_wol()
75 bcmgenet_umac_writel(priv, get_unaligned_be16(&wol->sopass[0]), in bcmgenet_set_wol()
77 bcmgenet_umac_writel(priv, get_unaligned_be32(&wol->sopass[2]), in bcmgenet_set_wol()
/Linux-v5.4/drivers/net/dsa/
Dbcm_sf2.c747 memset(&wol->sopass, 0, sizeof(wol->sopass)); in bcm_sf2_sw_get_wol()
750 memcpy(&wol->sopass, pwol.sopass, sizeof(wol->sopass)); in bcm_sf2_sw_get_wol()
/Linux-v5.4/drivers/net/ethernet/broadcom/
Dbcmsysport.c522 memcpy(wol->sopass, priv->sopass, sizeof(priv->sopass)); in bcm_sysport_get_wol()
539 memcpy(priv->sopass, wol->sopass, sizeof(priv->sopass)); in bcm_sysport_set_wol()
2603 umac_writel(priv, get_unaligned_be16(&priv->sopass[0]), in bcm_sysport_suspend_to_wol()
2605 umac_writel(priv, get_unaligned_be32(&priv->sopass[2]), in bcm_sysport_suspend_to_wol()
Dbcmsysport.h771 u8 sopass[SOPASS_MAX]; member
Db44.c2099 memset(&wol->sopass, 0, sizeof(wol->sopass)); in b44_get_wol()
Dbnx2.c7132 memset(&wol->sopass, 0, sizeof(wol->sopass)); in bnx2_get_wol()
Dtg3.c12338 memset(&wol->sopass, 0, sizeof(wol->sopass)); in tg3_get_wol()
/Linux-v5.4/drivers/net/ethernet/sfc/
Dsiena.c671 memset(&wol->sopass, 0, sizeof(wol->sopass)); in siena_get_wol()
Def10.c2130 memset(&wol->sopass, 0, sizeof(wol->sopass)); in efx_ef10_get_wol()
/Linux-v5.4/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()
2613 netdev_get_sopass(dev, wol->sopass); in get_wol()
2623 res = netdev_set_sopass(dev, wol->sopass); in set_wol()
/Linux-v5.4/include/uapi/linux/
Dethtool.h207 __u8 sopass[SOPASS_MAX]; member
/Linux-v5.4/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c794 memset(&wol->sopass, 0, sizeof(wol->sopass)); in be_get_wol()
/Linux-v5.4/drivers/net/ethernet/toshiba/
Dps3_gelic_net.c1295 memset(&wol->sopass, 0, sizeof(wol->sopass)); in gelic_net_get_wol()
/Linux-v5.4/drivers/net/ethernet/3com/
Dtyphoon.c1121 memset(&wol->sopass, 0, sizeof(wol->sopass)); in typhoon_get_wol()
/Linux-v5.4/drivers/net/ethernet/sfc/falcon/
Dfalcon.c2691 memset(&wol->sopass, 0, sizeof(wol->sopass)); in falcon_get_wol()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c1913 memset(&wol->sopass, 0, sizeof(wol->sopass)); in cxgb4vf_get_wol()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c1161 memset(&wol->sopass, 0, sizeof(wol->sopass)); in bnx2x_get_wol()
/Linux-v5.4/drivers/net/ethernet/via/
Dvia-velocity.c3432 memcpy(&wol->sopass, vptr->wol_passwd, 6); in velocity_ethtool_get_wol()
3462 memcpy(vptr->wol_passwd, wol->sopass, 6); in velocity_ethtool_set_wol()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c2105 memset(&wol->sopass, 0, sizeof(wol->sopass)); in get_wol()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1254 memset(&wol->sopass, 0, sizeof(wol->sopass)); in bnxt_get_wol()
/Linux-v5.4/drivers/net/ethernet/micrel/
Dksz884x.c6176 memset(&wol->sopass, 0, sizeof(wol->sopass)); in netdev_get_wol()