Searched refs:wol (Results 76 - 100 of 160) sorted by relevance

1234567

/linux-master/drivers/net/ethernet/ti/
H A Dcpsw_priv.h488 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 Dbcmgenet.h701 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 Datl2.h439 u32 wol; member in struct:atl2_adapter
/linux-master/drivers/net/ethernet/intel/e1000/
H A De1000.h209 u32 wol; member in struct:e1000_adapter
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c753 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 Dphy.c1724 * @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 Dphylink.c2339 * @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 Dmarvell.c1859 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 Dphy.h1005 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 Dvia-velocity.c3428 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 Dvia-rhine.c2342 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 Dat803x.c868 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 Dbnxt_ethtool.c2063 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 Dsky2.c850 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 Dnatsemi.c2604 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 Dice_ethtool.c3678 * @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 Dmscc_main.c277 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 Dqede_ethtool.c648 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 Datl1e.h427 u32 wol; member in struct:atl1e_adapter
/linux-master/drivers/net/vmxnet3/
H A Dvmxnet3_int.h394 u32 wol; member in struct:vmxnet3_adapter
/linux-master/drivers/net/ethernet/atheros/atl1c/
H A Datl1c.h530 u32 wol; member in struct:atl1c_adapter
/linux-master/drivers/net/ethernet/aquantia/atlantic/
H A Daq_pci_func.c393 aq_nic_deinit(nic, !nic->aq_hw->aq_nic_cfg->wol);
/linux-master/drivers/net/ethernet/
H A Djme.c2527 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 Dbnx2.c3935 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 De100.c2472 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);

Completed in 693 milliseconds

1234567