Home
last modified time | relevance | path

Searched refs:wol_info (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/amd/
H A Damd8111e.c1417 static void amd8111e_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol_info) in amd8111e_get_wol() argument
1420 wol_info->supported = WAKE_MAGIC|WAKE_PHY; in amd8111e_get_wol()
1422 wol_info->wolopts = WAKE_MAGIC; in amd8111e_get_wol()
1425 static int amd8111e_set_wol(struct net_device *dev, struct ethtool_wolinfo *wol_info) in amd8111e_set_wol() argument
1428 if (wol_info->wolopts & ~(WAKE_MAGIC|WAKE_PHY)) in amd8111e_set_wol()
1431 if (wol_info->wolopts & WAKE_MAGIC) in amd8111e_set_wol()
1434 else if (wol_info->wolopts & WAKE_PHY) in amd8111e_set_wol()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c11606 struct hclge_wol_info *wol_info) in hclge_set_wol_cfg() argument
11614 wol_cfg_cmd->wake_on_lan_mode = cpu_to_le32(wol_info->wol_current_mode); in hclge_set_wol_cfg()
11615 wol_cfg_cmd->sopass_size = wol_info->wol_sopass_size; in hclge_set_wol_cfg()
11616 memcpy(wol_cfg_cmd->sopass, wol_info->wol_sopass, SOPASS_MAX); in hclge_set_wol_cfg()
11628 struct hclge_wol_info *wol_info = &hdev->hw.mac.wol; in hclge_update_wol() local
11633 return hclge_set_wol_cfg(hdev, wol_info); in hclge_update_wol()
11638 struct hclge_wol_info *wol_info = &hdev->hw.mac.wol; in hclge_init_wol() local
11644 memset(wol_info, 0, sizeof(struct hclge_wol_info)); in hclge_init_wol()
11646 &wol_info->wol_support_mode); in hclge_init_wol()
11648 wol_info->wol_support_mode = 0; in hclge_init_wol()
[all …]
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_mfw_hsi.h719 u32 wol_info; member