Searched refs:hv_caps (Results 1 – 2 of 2) sorted by relevance
590 struct hv_vas_cop_feat_caps *hv_caps) in get_vas_capabilities() argument604 (u64)virt_to_phys(hv_caps)); in get_vas_capabilities()608 caps->user_mode = hv_caps->user_mode; in get_vas_capabilities()614 caps->descriptor = be64_to_cpu(hv_caps->descriptor); in get_vas_capabilities()615 caps->win_type = hv_caps->win_type; in get_vas_capabilities()620 caps->max_lpar_creds = be16_to_cpu(hv_caps->max_lpar_creds); in get_vas_capabilities()621 caps->max_win_creds = be16_to_cpu(hv_caps->max_win_creds); in get_vas_capabilities()623 be16_to_cpu(hv_caps->target_lpar_creds)); in get_vas_capabilities()625 caps->def_lpar_creds = be16_to_cpu(hv_caps->def_lpar_creds); in get_vas_capabilities()1078 struct hv_vas_all_caps *hv_caps; in pseries_vas_init() local[all …]
1145 struct hv_vas_all_caps *hv_caps; in nxcop_get_capabilities() local1149 hv_caps = kmalloc(sizeof(*hv_caps), GFP_KERNEL); in nxcop_get_capabilities()1150 if (!hv_caps) in nxcop_get_capabilities()1156 (u64)virt_to_phys(hv_caps)); in nxcop_get_capabilities()1160 caps_feat = be64_to_cpu(hv_caps->feat_type); in nxcop_get_capabilities()1193 kfree(hv_caps); in nxcop_get_capabilities()