/Linux-v6.6/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet_wol.c | 59 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()
|
D | bcmgenet.h | 643 u8 sopass[SOPASS_MAX]; member
|
/Linux-v6.6/drivers/net/phy/ |
D | dp83tc811.c | 130 (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()
|
D | dp83822.c | 156 (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()
|
D | dp83869.c | 299 (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()
|
D | dp83867.c | 226 (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()
|
D | bcm-phy-lib.c | 849 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/ |
D | wol.c | 60 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/ |
D | bcmasp_ethtool.c | 197 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()
|
D | bcmasp.h | 335 u8 sopass[SOPASS_MAX]; member
|
D | bcmasp_intf.c | 1310 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/ |
D | lan743x_ethtool.c | 1157 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()
|
D | lan743x_main.c | 3493 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()
|
D | lan743x_main.h | 1015 u8 sopass[SOPASS_MAX]; member
|
/Linux-v6.6/drivers/net/dsa/ |
D | bcm_sf2.c | 1002 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/ |
D | bcmsysport.c | 554 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()
|
D | bcmsysport.h | 752 u8 sopass[SOPASS_MAX]; member
|
/Linux-v6.6/drivers/net/ethernet/sfc/siena/ |
D | siena.c | 679 memset(&wol->sopass, 0, sizeof(wol->sopass)); in siena_get_wol()
|
/Linux-v6.6/drivers/net/phy/mscc/ |
D | mscc_main.c | 306 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/ |
D | natsemi.c | 1391 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/ |
D | hclge_cmd.h | 879 u8 sopass[SOPASS_MAX]; member
|
/Linux-v6.6/drivers/net/ethernet/emulex/benet/ |
D | be_ethtool.c | 799 memset(&wol->sopass, 0, sizeof(wol->sopass)); in be_get_wol()
|
/Linux-v6.6/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_net.c | 1296 memset(&wol->sopass, 0, sizeof(wol->sopass)); in gelic_net_get_wol()
|
/Linux-v6.6/tools/net/ynl/generated/ |
D | ethtool-user.h | 1277 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/ |
D | ethtool.h | 215 __u8 sopass[SOPASS_MAX]; member
|