/linux/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet_wol.c | 55 memset(wol->sopass, 0, sizeof(wol->sopass)); in bcmgenet_get_wol() 58 memcpy(wol->sopass, priv->sopass, sizeof(priv->sopass)); in bcmgenet_get_wol() 84 memcpy(priv->sopass, wol->sopass, sizeof(priv->sopass)); in bcmgenet_set_wol() 130 bcmgenet_umac_writel(priv, get_unaligned_be16(&priv->sopass[0]), in bcmgenet_set_mpd_password() 132 bcmgenet_umac_writel(priv, get_unaligned_be32(&priv->sopass[2]), in bcmgenet_set_mpd_password()
|
H A D | bcmgenet.h | 645 u8 sopass[SOPASS_MAX]; member
|
/linux/drivers/net/phy/ |
H A 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()
|
H A D | dp83822.c | 179 (wol->sopass[1] << 8) | wol->sopass[0]); in dp83822_config_wol() 182 (wol->sopass[3] << 8) | wol->sopass[2]); in dp83822_config_wol() 185 (wol->sopass[5] << 8) | wol->sopass[4]); in dp83822_config_wol() 237 wol->sopass[0] = (sopass_val & 0xff); in dp83822_get_wol() 238 wol->sopass[1] = (sopass_val >> 8); in dp83822_get_wol() 242 wol->sopass[2] = (sopass_val & 0xff); in dp83822_get_wol() 243 wol->sopass[3] = (sopass_val >> 8); in dp83822_get_wol() 247 wol->sopass[4] = (sopass_val & 0xff); in dp83822_get_wol() 248 wol->sopass[5] = (sopass_val >> 8); in dp83822_get_wol()
|
H A D | dp83869.c | 312 (wol->sopass[1] << 8) | wol->sopass[0]); in dp83869_set_wol() 318 (wol->sopass[3] << 8) | wol->sopass[2]); in dp83869_set_wol() 323 (wol->sopass[5] << 8) | wol->sopass[4]); in dp83869_set_wol() 385 wol->sopass[0] = (sopass_val & 0xff); in dp83869_get_wol() 386 wol->sopass[1] = (sopass_val >> 8); in dp83869_get_wol() 395 wol->sopass[2] = (sopass_val & 0xff); in dp83869_get_wol() 396 wol->sopass[3] = (sopass_val >> 8); in dp83869_get_wol() 405 wol->sopass[4] = (sopass_val & 0xff); in dp83869_get_wol() 406 wol->sopass[5] = (sopass_val >> 8); in dp83869_get_wol()
|
H A D | dp83867.c | 244 (wol->sopass[1] << 8) | wol->sopass[0]); in dp83867_set_wol() 246 (wol->sopass[3] << 8) | wol->sopass[2]); in dp83867_set_wol() 248 (wol->sopass[5] << 8) | wol->sopass[4]); in dp83867_set_wol() 298 wol->sopass[0] = (sopass_val & 0xff); in dp83867_get_wol() 299 wol->sopass[1] = (sopass_val >> 8); in dp83867_get_wol() 303 wol->sopass[2] = (sopass_val & 0xff); in dp83867_get_wol() 304 wol->sopass[3] = (sopass_val >> 8); in dp83867_get_wol() 308 wol->sopass[4] = (sopass_val & 0xff); in dp83867_get_wol() 309 wol->sopass[5] = (sopass_val >> 8); in dp83867_get_wol()
|
/linux/net/ethtool/ |
H A 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()
|
H A D | ioctl.c | 1716 !memcmp(wol.sopass, cur_wol.sopass, sizeof(wol.sopass))) in ethtool_set_wol()
|
/linux/drivers/net/ethernet/microchip/ |
H A D | lan743x_ethtool.c | 1131 memcpy(wol->sopass, adapter->sopass, sizeof(wol->sopass)); in lan743x_ethtool_get_wol() 1186 memcpy(adapter->sopass, wol->sopass, sizeof(wol->sopass)); in lan743x_ethtool_set_wol() 1189 memset(adapter->sopass, 0, sizeof(u8) * SOPASS_MAX); in lan743x_ethtool_set_wol()
|
H A D | lan743x_main.c | 3736 u32 sopass; in lan743x_pm_set_wol() local 3831 sopass = *(u32 *)adapter->sopass; in lan743x_pm_set_wol() 3832 lan743x_csr_write(adapter, MAC_MP_SO_LO, sopass); in lan743x_pm_set_wol() 3833 sopass = *(u16 *)&adapter->sopass[4]; in lan743x_pm_set_wol() 3834 lan743x_csr_write(adapter, MAC_MP_SO_HI, sopass); in lan743x_pm_set_wol()
|
H A D | lan743x_main.h | 1054 u8 sopass[SOPASS_MAX]; member
|
/linux/drivers/net/dsa/ |
H A D | bcm_sf2.c | 1013 memset(&wol->sopass, 0, sizeof(wol->sopass)); in bcm_sf2_sw_get_wol() 1016 memcpy(&wol->sopass, pwol.sopass, sizeof(wol->sopass)); in bcm_sf2_sw_get_wol()
|
/linux/drivers/net/ethernet/broadcom/ |
H A D | bcmsysport.c | 520 memcpy(wol->sopass, priv->sopass, sizeof(priv->sopass)); in bcm_sysport_get_wol() 537 memcpy(priv->sopass, wol->sopass, sizeof(priv->sopass)); in bcm_sysport_set_wol() 2658 umac_writel(priv, get_unaligned_be16(&priv->sopass[0]), in bcm_sysport_suspend_to_wol() 2660 umac_writel(priv, get_unaligned_be32(&priv->sopass[2]), in bcm_sysport_suspend_to_wol()
|
H A D | b44.c | 2080 memset(&wol->sopass, 0, sizeof(wol->sopass)); in b44_get_wol()
|
/linux/drivers/net/ethernet/natsemi/ |
H A 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/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp.h | 347 u8 sopass[SOPASS_MAX]; member
|
H A D | bcmasp_intf.c | 1308 umac_wl(intf, get_unaligned_be16(&intf->sopass[0]), in bcmasp_suspend_to_wol() 1310 umac_wl(intf, get_unaligned_be32(&intf->sopass[2]), in bcmasp_suspend_to_wol()
|
/linux/drivers/net/ethernet/emulex/benet/ |
H A D | be_ethtool.c | 799 memset(&wol->sopass, 0, sizeof(wol->sopass)); in be_get_wol()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_cmd.h | 880 u8 sopass[SOPASS_MAX]; member
|
/linux/drivers/net/ethernet/toshiba/ |
H A D | ps3_gelic_net.c | 1307 memset(&wol->sopass, 0, sizeof(wol->sopass)); in gelic_net_get_wol()
|
/linux/include/uapi/linux/ |
H A D | ethtool.h | 215 __u8 sopass[SOPASS_MAX]; member
|
/linux/drivers/net/ethernet/3com/ |
H A D | typhoon.c | 1115 memset(&wol->sopass, 0, sizeof(wol->sopass)); in typhoon_get_wol()
|
/linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | cxgb4vf_main.c | 1918 memset(&wol->sopass, 0, sizeof(wol->sopass)); in cxgb4vf_get_wol()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_ethtool.c | 1155 memset(&wol->sopass, 0, sizeof(wol->sopass)); in bnx2x_get_wol()
|
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_main.c | 2098 memset(&wol->sopass, 0, sizeof(wol->sopass)); in get_wol()
|