Lines Matching refs:scic
300 #define GVT_OPREGION_FUNC(scic) \ argument
303 __ret = (scic & OPREGION_SCIC_FUNC_MASK) >> \
308 #define GVT_OPREGION_SUBFUNC(scic) \ argument
311 __ret = (scic & OPREGION_SCIC_SUBFUNC_MASK) >> \
387 static bool querying_capabilities(u32 scic) in querying_capabilities() argument
391 func = GVT_OPREGION_FUNC(scic); in querying_capabilities()
392 subfunc = GVT_OPREGION_SUBFUNC(scic); in querying_capabilities()
415 u32 scic, parm; in intel_vgpu_emulate_opregion_request() local
424 ret = intel_gvt_read_gpa(vgpu, scic_pa, &scic, sizeof(scic)); in intel_vgpu_emulate_opregion_request()
427 ret, scic_pa, sizeof(scic)); in intel_vgpu_emulate_opregion_request()
434 ret, scic_pa, sizeof(scic)); in intel_vgpu_emulate_opregion_request()
449 func = GVT_OPREGION_FUNC(scic); in intel_vgpu_emulate_opregion_request()
450 subfunc = GVT_OPREGION_SUBFUNC(scic); in intel_vgpu_emulate_opregion_request()
451 if (!querying_capabilities(scic)) { in intel_vgpu_emulate_opregion_request()
460 scic &= ~OPREGION_SCIC_EXIT_MASK; in intel_vgpu_emulate_opregion_request()
464 scic = 0; in intel_vgpu_emulate_opregion_request()
468 ret = intel_gvt_write_gpa(vgpu, scic_pa, &scic, sizeof(scic)); in intel_vgpu_emulate_opregion_request()
471 ret, scic_pa, sizeof(scic)); in intel_vgpu_emulate_opregion_request()
478 ret, scic_pa, sizeof(scic)); in intel_vgpu_emulate_opregion_request()