Lines Matching refs:hv_caps
590 struct hv_vas_cop_feat_caps *hv_caps) in get_vas_capabilities() argument
604 (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
1090 hv_caps = kmalloc(sizeof(*hv_caps), GFP_KERNEL); in pseries_vas_init()
1091 if (!hv_caps) in pseries_vas_init()
1097 (u64)virt_to_phys(hv_caps)); in pseries_vas_init()
1101 caps_all.descriptor = be64_to_cpu(hv_caps->descriptor); in pseries_vas_init()
1102 caps_all.feat_type = be64_to_cpu(hv_caps->feat_type); in pseries_vas_init()
1138 kfree(hv_caps); in pseries_vas_init()