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()
11531 struct hclge_wol_info *wol_info) in hclge_set_wol_cfg() argument11539 wol_cfg_cmd->wake_on_lan_mode = cpu_to_le32(wol_info->wol_current_mode); in hclge_set_wol_cfg()11540 wol_cfg_cmd->sopass_size = wol_info->wol_sopass_size; in hclge_set_wol_cfg()11541 memcpy(wol_cfg_cmd->sopass, wol_info->wol_sopass, SOPASS_MAX); in hclge_set_wol_cfg()11553 struct hclge_wol_info *wol_info = &hdev->hw.mac.wol; in hclge_update_wol() local11558 return hclge_set_wol_cfg(hdev, wol_info); in hclge_update_wol()11563 struct hclge_wol_info *wol_info = &hdev->hw.mac.wol; in hclge_init_wol() local11569 memset(wol_info, 0, sizeof(struct hclge_wol_info)); in hclge_init_wol()11571 &wol_info->wol_support_mode); in hclge_init_wol()11573 wol_info->wol_support_mode = 0; in hclge_init_wol()[all …]
719 u32 wol_info; member