Searched refs:wol_info (Results 1 – 3 of 3) sorted by relevance
1417 static void amd8111e_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol_info) in amd8111e_get_wol() argument1420 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() argument1428 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()
11616 struct hclge_wol_info *wol_info) in hclge_set_wol_cfg() argument11624 wol_cfg_cmd->wake_on_lan_mode = cpu_to_le32(wol_info->wol_current_mode); in hclge_set_wol_cfg()11625 wol_cfg_cmd->sopass_size = wol_info->wol_sopass_size; in hclge_set_wol_cfg()11626 memcpy(wol_cfg_cmd->sopass, wol_info->wol_sopass, SOPASS_MAX); in hclge_set_wol_cfg()11638 struct hclge_wol_info *wol_info = &hdev->hw.mac.wol; in hclge_update_wol() local11643 return hclge_set_wol_cfg(hdev, wol_info); in hclge_update_wol()11648 struct hclge_wol_info *wol_info = &hdev->hw.mac.wol; in hclge_init_wol() local11654 memset(wol_info, 0, sizeof(struct hclge_wol_info)); in hclge_init_wol()11656 &wol_info->wol_support_mode); in hclge_init_wol()11658 wol_info->wol_support_mode = 0; in hclge_init_wol()[all …]
719 u32 wol_info; member