Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet_wol.c55 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 Dbcmgenet.h645 u8 sopass[SOPASS_MAX]; member
/linux/drivers/net/phy/
H A 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()
H A Ddp83822.c179 (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 Ddp83869.c312 (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 Ddp83867.c244 (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 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()
H A Dioctl.c1716 !memcmp(wol.sopass, cur_wol.sopass, sizeof(wol.sopass))) in ethtool_set_wol()
/linux/drivers/net/ethernet/microchip/
H A Dlan743x_ethtool.c1131 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 Dlan743x_main.c3736 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 Dlan743x_main.h1054 u8 sopass[SOPASS_MAX]; member
/linux/drivers/net/dsa/
H A Dbcm_sf2.c1013 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 Dbcmsysport.c520 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 Db44.c2080 memset(&wol->sopass, 0, sizeof(wol->sopass)); in b44_get_wol()
/linux/drivers/net/ethernet/natsemi/
H A 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/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp.h347 u8 sopass[SOPASS_MAX]; member
H A Dbcmasp_intf.c1308 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 Dbe_ethtool.c799 memset(&wol->sopass, 0, sizeof(wol->sopass)); in be_get_wol()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_cmd.h880 u8 sopass[SOPASS_MAX]; member
/linux/drivers/net/ethernet/toshiba/
H A Dps3_gelic_net.c1307 memset(&wol->sopass, 0, sizeof(wol->sopass)); in gelic_net_get_wol()
/linux/include/uapi/linux/
H A Dethtool.h215 __u8 sopass[SOPASS_MAX]; member
/linux/drivers/net/ethernet/3com/
H A Dtyphoon.c1115 memset(&wol->sopass, 0, sizeof(wol->sopass)); in typhoon_get_wol()
/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dcxgb4vf_main.c1918 memset(&wol->sopass, 0, sizeof(wol->sopass)); in cxgb4vf_get_wol()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_ethtool.c1155 memset(&wol->sopass, 0, sizeof(wol->sopass)); in bnx2x_get_wol()
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_main.c2098 memset(&wol->sopass, 0, sizeof(wol->sopass)); in get_wol()

12