Lines Matching refs:xp
391 struct xen_pmu_params xp; in pmu_mode_store() local
396 xp.val = pmu_modes[i].mode; in pmu_mode_store()
404 xp.version.maj = XENPMU_VER_MAJ; in pmu_mode_store()
405 xp.version.min = XENPMU_VER_MIN; in pmu_mode_store()
406 ret = HYPERVISOR_xenpmu_op(XENPMU_mode_set, &xp); in pmu_mode_store()
416 struct xen_pmu_params xp; in pmu_mode_show() local
420 xp.version.maj = XENPMU_VER_MAJ; in pmu_mode_show()
421 xp.version.min = XENPMU_VER_MIN; in pmu_mode_show()
422 ret = HYPERVISOR_xenpmu_op(XENPMU_mode_get, &xp); in pmu_mode_show()
426 mode = (uint32_t)xp.val; in pmu_mode_show()
441 struct xen_pmu_params xp; in pmu_features_store() local
447 xp.val = features; in pmu_features_store()
448 xp.version.maj = XENPMU_VER_MAJ; in pmu_features_store()
449 xp.version.min = XENPMU_VER_MIN; in pmu_features_store()
450 ret = HYPERVISOR_xenpmu_op(XENPMU_feature_set, &xp); in pmu_features_store()
460 struct xen_pmu_params xp; in pmu_features_show() local
462 xp.version.maj = XENPMU_VER_MAJ; in pmu_features_show()
463 xp.version.min = XENPMU_VER_MIN; in pmu_features_show()
464 ret = HYPERVISOR_xenpmu_op(XENPMU_feature_get, &xp); in pmu_features_show()
468 return sprintf(buffer, "0x%x\n", (uint32_t)xp.val); in pmu_features_show()