Lines Matching refs:wol_info

11616 			     struct hclge_wol_info *wol_info)  in hclge_set_wol_cfg()  argument
11624 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() local
11643 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() local
11654 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()
11668 struct hclge_wol_info *wol_info = hclge_get_wol_info(handle); in hclge_get_wol() local
11670 wol->supported = wol_info->wol_support_mode; in hclge_get_wol()
11671 wol->wolopts = wol_info->wol_current_mode; in hclge_get_wol()
11672 if (wol_info->wol_current_mode & WAKE_MAGICSECURE) in hclge_get_wol()
11673 memcpy(wol->sopass, wol_info->wol_sopass, SOPASS_MAX); in hclge_get_wol()
11679 struct hclge_wol_info *wol_info = hclge_get_wol_info(handle); in hclge_set_wol() local
11685 if (wol_mode & ~wol_info->wol_support_mode) in hclge_set_wol()
11688 wol_info->wol_current_mode = wol_mode; in hclge_set_wol()
11690 memcpy(wol_info->wol_sopass, wol->sopass, SOPASS_MAX); in hclge_set_wol()
11691 wol_info->wol_sopass_size = SOPASS_MAX; in hclge_set_wol()
11693 wol_info->wol_sopass_size = 0; in hclge_set_wol()
11696 ret = hclge_set_wol_cfg(vport->back, wol_info); in hclge_set_wol()
11698 wol_info->wol_current_mode = 0; in hclge_set_wol()