/linux-master/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_main.c | 2094 static void get_wol(struct net_device *dev, struct ethtool_wolinfo *wol) argument 2096 wol->supported = 0; 2097 wol->wolopts = 0; 2098 memset(&wol->sopass, 0, sizeof(wol->sopass));
|
/linux-master/drivers/net/phy/ |
H A D | phy_device.c | 1978 struct ethtool_wolinfo wol = { .cmd = ETHTOOL_GWOL }; local 1986 phy_ethtool_get_wol(phydev, &wol); 1987 phydev->wol_enabled = wol.wolopts || (netdev && netdev->wol_enabled);
|
/linux-master/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_main.c | 153 /* wol sts read-clear */ 786 adapter->wol = 0; 2513 u32 wufc = adapter->wol; 2558 pci_wake_from_d3(pdev, adapter->wol);
|
/linux-master/drivers/net/ethernet/realtek/ |
H A D | r8169_main.c | 1535 static void rtl8169_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol) argument 1539 wol->supported = WAKE_ANY; 1540 wol->wolopts = tp->saved_wolopts; 1615 static int rtl8169_set_wol(struct net_device *dev, struct ethtool_wolinfo *wol) argument 1619 if (wol->wolopts & ~WAKE_ANY) 1622 tp->saved_wolopts = wol->wolopts;
|
/linux-master/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H A D | hw_atl_utils.c | 1017 if (self->aq_nic_cfg->wol & WAKE_MAGIC) {
|
/linux-master/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_mcp.c | 2582 "Read configuration from shmem: pause_on_host %02x protocol %02x BW [%02x - %02x] MAC %pM wwn port %llx node %llx ovlan %04x wol %02x\n", 2949 struct qed_ptt *p_ptt, enum qed_ov_wol wol) 2961 switch (wol) { 2972 DP_ERR(p_hwfn, "Invalid wol state %d\n", wol); 2979 DP_ERR(p_hwfn, "Failed to send wol mode, rc = %d\n", rc); 2982 p_hwfn->cdev->wol_config = (u8)wol; 2948 qed_mcp_ov_update_wol(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, enum qed_ov_wol wol) argument
|
/linux-master/drivers/net/ethernet/cadence/ |
H A D | macb.h | 1301 u32 wol; member in struct:macb
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | net_driver.h | 1385 void (*get_wol)(struct efx_nic *efx, struct ethtool_wolinfo *wol);
|
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | net_driver.h | 1336 void (*get_wol)(struct efx_nic *efx, struct ethtool_wolinfo *wol);
|
H A D | mcdi.c | 1329 netif_info(efx, wol, efx->net_dev, "MCDI PM event.\n");
|
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe.h | 756 u32 wol; member in struct:ixgbe_adapter
|
H A D | ixgbe_main.c | 6050 if (!netif_running(adapter->netdev) && !adapter->wol) 6921 if (hw->phy.ops.set_phy_power && !adapter->wol) 7020 u32 wufc = adapter->wol; 11158 adapter->wol = 0; 11163 adapter->wol = IXGBE_WUFC_MAG; 11165 device_set_wakeup_enable(&adapter->pdev->dev, adapter->wol);
|
/linux-master/drivers/net/vmxnet3/ |
H A D | vmxnet3_drv.c | 4265 if (adapter->wol & WAKE_UCAST) { 4275 if (adapter->wol & WAKE_ARP) { 4325 if (adapter->wol & WAKE_MAGIC) 4343 adapter->wol);
|
/linux-master/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_main.c | 437 if (!adapter->wol && hw->mac_type >= e1000_82540 && 1177 /* initialize the wol settings based on the eeprom settings */ 1178 adapter->wol = adapter->eeprom_wol; 1179 device_set_wakeup_enable(&adapter->pdev->dev, adapter->wol); 5062 u32 wufc = adapter->wol;
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.h | 297 struct hclge_wol_info wol; member in struct:hclge_mac
|
H A D | hclge_main.c | 11567 return &vport->back->hw.mac.wol; 11584 "failed to query wol supported, ret = %d\n", ret); 11609 "failed to set wol config, ret = %d\n", ret); 11616 struct hclge_wol_info *wol_info = &hdev->hw.mac.wol; 11626 struct hclge_wol_info *wol_info = &hdev->hw.mac.wol; 11644 struct ethtool_wolinfo *wol) 11648 wol->supported = wol_info->wol_support_mode; 11649 wol->wolopts = wol_info->wol_current_mode; 11651 memcpy(wol->sopass, wol_info->wol_sopass, SOPASS_MAX); 11655 struct ethtool_wolinfo *wol) 11643 hclge_get_wol(struct hnae3_handle *handle, struct ethtool_wolinfo *wol) argument 11654 hclge_set_wol(struct hnae3_handle *handle, struct ethtool_wolinfo *wol) argument [all...] |
/linux-master/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_type.h | 1068 u32 wol; member in struct:wx
|
/linux-master/drivers/net/usb/ |
H A D | r8152.c | 6692 netif_warn(tp, ifup, tp->netdev, "wol setting is changed\n"); 8688 static void rtl8152_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol) argument 8696 wol->supported = 0; 8697 wol->wolopts = 0; 8700 wol->supported = WAKE_ANY; 8701 wol->wolopts = __rtl_get_wol(tp); 8708 static int rtl8152_set_wol(struct net_device *dev, struct ethtool_wolinfo *wol) argument 8716 if (wol->wolopts & ~WAKE_ANY) 8725 __rtl_set_wol(tp, wol->wolopts); 8726 tp->saved_wolopts = wol [all...] |
/linux-master/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_main.c | 567 adapter->wol = 0; 2080 u32 wufc = adapter->wol; 2115 /* turn on magic packet wol */
|
/linux-master/drivers/net/ethernet/marvell/ |
H A D | sky2.h | 2259 u8 wol; /* WAKE_ bits */ member in struct:sky2_port
|
H A D | skge.h | 2460 u8 wol; member in struct:skge_port
|
/linux-master/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp_intf.c | 1333 netif_dbg(intf, wol, ndev, "entered WOL mode\n");
|
/linux-master/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 12414 static void tg3_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol) argument 12419 wol->supported = WAKE_MAGIC; 12421 wol->supported = 0; 12422 wol->wolopts = 0; 12424 wol->wolopts = WAKE_MAGIC; 12425 memset(&wol->sopass, 0, sizeof(wol->sopass)); 12428 static int tg3_set_wol(struct net_device *dev, struct ethtool_wolinfo *wol) argument 12433 if (wol->wolopts & ~WAKE_MAGIC) 12435 if ((wol [all...] |
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_main.c | 1205 struct ethtool_wolinfo wol = { .cmd = ETHTOOL_GWOL }; local 1207 phylink_ethtool_get_wol(priv->phylink, &wol); 1208 device_set_wakeup_capable(priv->device, !!wol.supported); 1209 device_set_wakeup_enable(priv->device, !!wol.wolopts); 3640 sprintf(int_name, "%s:%s", dev->name, "wol"); 3646 "%s: alloc wol MSI %d (error: %d)\n",
|
/linux-master/drivers/net/ethernet/intel/igb/ |
H A D | igb_main.c | 3461 /* initialize the wol settings based on the eeprom settings */ 3463 adapter->wol |= E1000_WUFC_MAG; 3469 adapter->wol = 0; 3479 adapter->wol = 0; 3486 adapter->wol = 0; 9340 u32 wufc = runtime ? E1000_WUFC_LNKC : adapter->wol;
|