Home
last modified time | relevance | path

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

12

/Linux-v6.6/drivers/net/ethernet/broadcom/genet/
Dbcmgenet_wol.c59 memset(wol->sopass, 0, sizeof(wol->sopass)); in bcmgenet_get_wol()
62 memcpy(wol->sopass, priv->sopass, sizeof(priv->sopass)); in bcmgenet_get_wol()
88 memcpy(priv->sopass, wol->sopass, sizeof(priv->sopass)); in bcmgenet_set_wol()
134 bcmgenet_umac_writel(priv, get_unaligned_be16(&priv->sopass[0]), in bcmgenet_set_mpd_password()
136 bcmgenet_umac_writel(priv, get_unaligned_be32(&priv->sopass[2]), in bcmgenet_set_mpd_password()
Dbcmgenet.h643 u8 sopass[SOPASS_MAX]; member
/Linux-v6.6/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.c156 (wol->sopass[1] << 8) | wol->sopass[0]); in dp83822_set_wol()
159 (wol->sopass[3] << 8) | wol->sopass[2]); in dp83822_set_wol()
162 (wol->sopass[5] << 8) | wol->sopass[4]); in dp83822_set_wol()
199 wol->sopass[0] = (sopass_val & 0xff); in dp83822_get_wol()
200 wol->sopass[1] = (sopass_val >> 8); in dp83822_get_wol()
204 wol->sopass[2] = (sopass_val & 0xff); in dp83822_get_wol()
205 wol->sopass[3] = (sopass_val >> 8); in dp83822_get_wol()
209 wol->sopass[4] = (sopass_val & 0xff); in dp83822_get_wol()
210 wol->sopass[5] = (sopass_val >> 8); in dp83822_get_wol()
Ddp83869.c299 (wol->sopass[1] << 8) | wol->sopass[0]); in dp83869_set_wol()
305 (wol->sopass[3] << 8) | wol->sopass[2]); in dp83869_set_wol()
310 (wol->sopass[5] << 8) | wol->sopass[4]); in dp83869_set_wol()
372 wol->sopass[0] = (sopass_val & 0xff); in dp83869_get_wol()
373 wol->sopass[1] = (sopass_val >> 8); in dp83869_get_wol()
382 wol->sopass[2] = (sopass_val & 0xff); in dp83869_get_wol()
383 wol->sopass[3] = (sopass_val >> 8); in dp83869_get_wol()
392 wol->sopass[4] = (sopass_val & 0xff); in dp83869_get_wol()
393 wol->sopass[5] = (sopass_val >> 8); in dp83869_get_wol()
Ddp83867.c226 (wol->sopass[1] << 8) | wol->sopass[0]); in dp83867_set_wol()
228 (wol->sopass[3] << 8) | wol->sopass[2]); in dp83867_set_wol()
230 (wol->sopass[5] << 8) | wol->sopass[4]); in dp83867_set_wol()
280 wol->sopass[0] = (sopass_val & 0xff); in dp83867_get_wol()
281 wol->sopass[1] = (sopass_val >> 8); in dp83867_get_wol()
285 wol->sopass[2] = (sopass_val & 0xff); in dp83867_get_wol()
286 wol->sopass[3] = (sopass_val >> 8); in dp83867_get_wol()
290 wol->sopass[4] = (sopass_val & 0xff); in dp83867_get_wol()
291 wol->sopass[5] = (sopass_val >> 8); in dp83867_get_wol()
Dbcm-phy-lib.c849 BUILD_BUG_ON(sizeof(wol->sopass) != ETH_ALEN); in bcm_phy_set_wol()
910 ether_addr_copy(da, wol->sopass); in bcm_phy_set_wol()
1027 memcpy(wol->sopass, da, sizeof(da)); in bcm_phy_get_wol()
/Linux-v6.6/net/ethtool/
Dwol.c60 len += nla_total_size(sizeof(data->wol.sopass)); in wol_reply_size()
79 nla_put(skb, ETHTOOL_A_WOL_SOPASS, sizeof(data->wol.sopass), in wol_fill_reply()
80 data->wol.sopass)) in wol_fill_reply()
131 ethnl_update_binary(wol.sopass, sizeof(wol.sopass), in ethnl_set_wol()
/Linux-v6.6/drivers/net/ethernet/broadcom/asp2/
Dbcmasp_ethtool.c197 memset(wol->sopass, 0, sizeof(wol->sopass)); in bcmasp_get_wol()
200 memcpy(wol->sopass, intf->sopass, sizeof(intf->sopass)); in bcmasp_get_wol()
215 memcpy(intf->sopass, wol->sopass, sizeof(wol->sopass)); in bcmasp_set_wol()
Dbcmasp.h335 u8 sopass[SOPASS_MAX]; member
Dbcmasp_intf.c1310 umac_wl(intf, get_unaligned_be16(&intf->sopass[0]), in bcmasp_suspend_to_wol()
1312 umac_wl(intf, get_unaligned_be32(&intf->sopass[2]), in bcmasp_suspend_to_wol()
/Linux-v6.6/drivers/net/ethernet/microchip/
Dlan743x_ethtool.c1157 memcpy(wol->sopass, adapter->sopass, sizeof(wol->sopass)); in lan743x_ethtool_get_wol()
1180 memcpy(adapter->sopass, wol->sopass, sizeof(wol->sopass)); in lan743x_ethtool_set_wol()
1183 memset(adapter->sopass, 0, sizeof(u8) * SOPASS_MAX); in lan743x_ethtool_set_wol()
Dlan743x_main.c3493 u32 sopass; in lan743x_pm_set_wol() local
3589 sopass = *(u32 *)adapter->sopass; in lan743x_pm_set_wol()
3590 lan743x_csr_write(adapter, MAC_MP_SO_LO, sopass); in lan743x_pm_set_wol()
3591 sopass = *(u16 *)&adapter->sopass[4]; in lan743x_pm_set_wol()
3592 lan743x_csr_write(adapter, MAC_MP_SO_HI, sopass); in lan743x_pm_set_wol()
Dlan743x_main.h1015 u8 sopass[SOPASS_MAX]; member
/Linux-v6.6/drivers/net/dsa/
Dbcm_sf2.c1002 memset(&wol->sopass, 0, sizeof(wol->sopass)); in bcm_sf2_sw_get_wol()
1005 memcpy(&wol->sopass, pwol.sopass, sizeof(wol->sopass)); in bcm_sf2_sw_get_wol()
/Linux-v6.6/drivers/net/ethernet/broadcom/
Dbcmsysport.c554 memcpy(wol->sopass, priv->sopass, sizeof(priv->sopass)); in bcm_sysport_get_wol()
571 memcpy(priv->sopass, wol->sopass, sizeof(priv->sopass)); in bcm_sysport_set_wol()
2683 umac_writel(priv, get_unaligned_be16(&priv->sopass[0]), in bcm_sysport_suspend_to_wol()
2685 umac_writel(priv, get_unaligned_be32(&priv->sopass[2]), in bcm_sysport_suspend_to_wol()
Dbcmsysport.h752 u8 sopass[SOPASS_MAX]; member
/Linux-v6.6/drivers/net/ethernet/sfc/siena/
Dsiena.c679 memset(&wol->sopass, 0, sizeof(wol->sopass)); in siena_get_wol()
/Linux-v6.6/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()
370 wol_conf->sopass[5 - i * 2] = pwd[i] & 0x00ff; in vsc85xx_wol_get()
371 wol_conf->sopass[5 - (i * 2 + 1)] = (pwd[i] & 0xff00) in vsc85xx_wol_get()
/Linux-v6.6/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()
/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.h879 u8 sopass[SOPASS_MAX]; member
/Linux-v6.6/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c799 memset(&wol->sopass, 0, sizeof(wol->sopass)); in be_get_wol()
/Linux-v6.6/drivers/net/ethernet/toshiba/
Dps3_gelic_net.c1296 memset(&wol->sopass, 0, sizeof(wol->sopass)); in gelic_net_get_wol()
/Linux-v6.6/tools/net/ynl/generated/
Dethtool-user.h1277 void *sopass; member
1363 void *sopass; member
1422 const void *sopass, size_t len) in ethtool_wol_set_req_set_sopass() argument
1424 free(req->sopass); in ethtool_wol_set_req_set_sopass()
1426 req->sopass = malloc(req->_present.sopass_len); in ethtool_wol_set_req_set_sopass()
1427 memcpy(req->sopass, sopass, req->_present.sopass_len); in ethtool_wol_set_req_set_sopass()
/Linux-v6.6/include/uapi/linux/
Dethtool.h215 __u8 sopass[SOPASS_MAX]; member

12