/linux-master/drivers/net/ethernet/ti/ |
H A D | cpsw_priv.h | 488 void cpsw_get_wol(struct net_device *ndev, struct ethtool_wolinfo *wol); 489 int cpsw_set_wol(struct net_device *ndev, struct ethtool_wolinfo *wol);
|
/linux-master/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet.h | 701 void bcmgenet_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol); 702 int bcmgenet_set_wol(struct net_device *dev, struct ethtool_wolinfo *wol);
|
/linux-master/drivers/net/ethernet/atheros/atlx/ |
H A D | atl2.h | 439 u32 wol; member in struct:atl2_adapter
|
/linux-master/drivers/net/ethernet/intel/e1000/ |
H A D | e1000.h | 209 u32 wol; member in struct:e1000_adapter
|
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | ethtool.c | 753 struct ethtool_wolinfo *wol) 756 return efx->type->get_wol(efx, wol); 761 struct ethtool_wolinfo *wol) 764 return efx->type->set_wol(efx, wol->wolopts); 752 ef4_ethtool_get_wol(struct net_device *net_dev, struct ethtool_wolinfo *wol) argument 760 ef4_ethtool_set_wol(struct net_device *net_dev, struct ethtool_wolinfo *wol) argument
|
/linux-master/drivers/net/phy/ |
H A D | phy.c | 1724 * @wol: Configuration requested 1726 int phy_ethtool_set_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol) argument 1732 ret = phydev->drv->set_wol(phydev, wol); 1746 * @wol: Store the current configuration here 1748 void phy_ethtool_get_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol) argument 1752 phydev->drv->get_wol(phydev, wol);
|
H A D | phylink.c | 2339 * @wol: a pointer to &struct ethtool_wolinfo to hold the read parameters 2345 void phylink_ethtool_get_wol(struct phylink *pl, struct ethtool_wolinfo *wol) argument 2349 wol->supported = 0; 2350 wol->wolopts = 0; 2353 phy_ethtool_get_wol(pl->phydev, wol); 2360 * @wol: a pointer to &struct ethtool_wolinfo for the desired parameters 2368 int phylink_ethtool_set_wol(struct phylink *pl, struct ethtool_wolinfo *wol) argument 2375 ret = phy_ethtool_set_wol(pl->phydev, wol);
|
H A D | marvell.c | 1859 struct ethtool_wolinfo *wol) 1863 wol->supported = WAKE_MAGIC | WAKE_PHY; 1864 wol->wolopts = 0; 1872 wol->wolopts |= WAKE_MAGIC; 1875 wol->wolopts |= WAKE_PHY; 1879 struct ethtool_wolinfo *wol) 1887 if (wol->wolopts & (WAKE_MAGIC | WAKE_PHY)) { 1921 if (wol->wolopts & WAKE_MAGIC) { 1962 if (wol->wolopts & WAKE_PHY) { 1858 m88e1318_get_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol) argument 1878 m88e1318_set_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol) argument
|
/linux-master/include/linux/ |
H A D | phy.h | 1005 int (*set_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol); 1011 void (*get_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol); 2006 int phy_ethtool_set_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol); 2008 struct ethtool_wolinfo *wol);
|
/linux-master/drivers/net/ethernet/via/ |
H A D | via-velocity.c | 3428 static void velocity_ethtool_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol) argument 3431 wol->supported = WAKE_PHY | WAKE_MAGIC | WAKE_UCAST | WAKE_ARP; 3432 wol->wolopts |= WAKE_MAGIC; 3435 wol.wolopts|=WAKE_PHY; 3438 wol->wolopts |= WAKE_UCAST; 3440 wol->wolopts |= WAKE_ARP; 3441 memcpy(&wol->sopass, vptr->wol_passwd, 6); 3444 static int velocity_ethtool_set_wol(struct net_device *dev, struct ethtool_wolinfo *wol) argument 3448 if (!(wol->wolopts & (WAKE_PHY | WAKE_MAGIC | WAKE_UCAST | WAKE_ARP))) 3453 if (wol [all...] |
H A D | via-rhine.c | 2342 static void rhine_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol) argument 2350 wol->supported = WAKE_PHY | WAKE_MAGIC | 2352 wol->wolopts = rp->wolopts; 2356 static int rhine_set_wol(struct net_device *dev, struct ethtool_wolinfo *wol) argument 2365 if (wol->wolopts & ~support) 2369 rp->wolopts = wol->wolopts;
|
/linux-master/drivers/net/phy/qcom/ |
H A D | at803x.c | 868 struct ethtool_wolinfo *wol) 873 ret = at803x_set_wol(phydev, wol); 877 if (wol->wolopts & WAKE_MAGIC) 867 at8031_set_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol) argument
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ethtool.c | 2063 static void bnxt_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol) argument 2067 wol->supported = 0; 2068 wol->wolopts = 0; 2069 memset(&wol->sopass, 0, sizeof(wol->sopass)); 2071 wol->supported = WAKE_MAGIC; 2072 if (bp->wol) 2073 wol->wolopts = WAKE_MAGIC; 2077 static int bnxt_set_wol(struct net_device *dev, struct ethtool_wolinfo *wol) argument 2081 if (wol [all...] |
/linux-master/drivers/net/ethernet/marvell/ |
H A D | sky2.c | 850 if (sky2->wol & WAKE_PHY) 855 if (sky2->wol & WAKE_MAGIC) 3526 static void sky2_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol) argument 3530 wol->supported = sky2_wol_supported(sky2->hw); 3531 wol->wolopts = sky2->wol; 3534 static int sky2_set_wol(struct net_device *dev, struct ethtool_wolinfo *wol) argument 3541 if ((wol->wolopts & ~sky2_wol_supported(sky2->hw)) || 3545 sky2->wol = wol 4591 sky2_init_netdev(struct sky2_hw *hw, unsigned port, int highmem, int wol) argument [all...] |
/linux-master/drivers/net/ethernet/natsemi/ |
H A D | natsemi.c | 2604 static void get_wol(struct net_device *dev, struct ethtool_wolinfo *wol) argument 2608 netdev_get_wol(dev, &wol->supported, &wol->wolopts); 2609 netdev_get_sopass(dev, wol->sopass); 2613 static int set_wol(struct net_device *dev, struct ethtool_wolinfo *wol) argument 2618 netdev_set_wol(dev, wol->wolopts); 2619 res = netdev_set_sopass(dev, wol->sopass); 3219 u32 wol = readl(ioaddr + WOLCmd) & WakeOptsSummary; local 3220 if (wol) { 3302 u32 wol local [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_ethtool.c | 3678 * @wol: Ethtool structure to retrieve WoL settings 3680 static void ice_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument 3690 wol->supported = WAKE_MAGIC; 3691 wol->wolopts = pf->wol_ena ? WAKE_MAGIC : 0; 3693 wol->supported = 0; 3694 wol->wolopts = 0; 3701 * @wol: Ethtool structure to set WoL 3703 static int ice_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument 3713 if (wol->wolopts && wol [all...] |
/linux-master/drivers/net/phy/mscc/ |
H A D | mscc_main.c | 277 struct ethtool_wolinfo *wol) 284 struct ethtool_wolinfo *wol_conf = wol; 290 if (wol->wolopts & WAKE_MAGIC) { 328 if (wol->wolopts & WAKE_MAGIC) { 350 struct ethtool_wolinfo *wol) 356 struct ethtool_wolinfo *wol_conf = wol; 276 vsc85xx_wol_set(struct phy_device *phydev, struct ethtool_wolinfo *wol) argument 349 vsc85xx_wol_get(struct phy_device *phydev, struct ethtool_wolinfo *wol) argument
|
/linux-master/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_ethtool.c | 648 static void qede_get_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) argument 653 wol->supported = WAKE_MAGIC; 654 wol->wolopts = edev->wol_enabled ? WAKE_MAGIC : 0; 658 static int qede_set_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) argument 664 if (wol->wolopts & ~WAKE_MAGIC) { 670 wol_requested = !!(wol->wolopts & WAKE_MAGIC);
|
/linux-master/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e.h | 427 u32 wol; member in struct:atl1e_adapter
|
/linux-master/drivers/net/vmxnet3/ |
H A D | vmxnet3_int.h | 394 u32 wol; member in struct:vmxnet3_adapter
|
/linux-master/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c.h | 530 u32 wol; member in struct:atl1c_adapter
|
/linux-master/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_pci_func.c | 393 aq_nic_deinit(nic, !nic->aq_hw->aq_nic_cfg->wol);
|
/linux-master/drivers/net/ethernet/ |
H A D | jme.c | 2527 struct ethtool_wolinfo *wol) 2531 wol->supported = WAKE_MAGIC | WAKE_PHY; 2533 wol->wolopts = 0; 2536 wol->wolopts |= WAKE_PHY; 2539 wol->wolopts |= WAKE_MAGIC; 2545 struct ethtool_wolinfo *wol) 2549 if (wol->wolopts & (WAKE_MAGICSECURE | 2558 if (wol->wolopts & WAKE_PHY) 2561 if (wol->wolopts & WAKE_MAGIC) 2526 jme_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument 2544 jme_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument
|
/linux-master/drivers/net/ethernet/broadcom/ |
H A D | bnx2.c | 3935 if (bp->wol) { 4046 pci_wake_from_d3(bp->pdev, bp->wol); 4050 if (bp->wol) 5538 else if (bp->wol) 7096 bnx2_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol) argument 7101 wol->supported = 0; 7102 wol->wolopts = 0; 7105 wol->supported = WAKE_MAGIC; 7106 if (bp->wol) 7107 wol 7115 bnx2_set_wol(struct net_device *dev, struct ethtool_wolinfo *wol) argument [all...] |
/linux-master/drivers/net/ethernet/intel/ |
H A D | e100.c | 2472 static void e100_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument 2475 wol->supported = (nic->mac >= mac_82558_D101_A4) ? WAKE_MAGIC : 0; 2476 wol->wolopts = (nic->flags & wol_magic) ? WAKE_MAGIC : 0; 2479 static int e100_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument 2483 if ((wol->wolopts && wol->wolopts != WAKE_MAGIC) || 2487 if (wol->wolopts) 2492 device_set_wakeup_enable(&nic->pdev->dev, wol->wolopts);
|