Lines Matching refs:xp
420 struct xen_pmu_params xp; in pmu_mode_store() local
425 xp.val = pmu_modes[i].mode; in pmu_mode_store()
433 xp.version.maj = XENPMU_VER_MAJ; in pmu_mode_store()
434 xp.version.min = XENPMU_VER_MIN; in pmu_mode_store()
435 ret = HYPERVISOR_xenpmu_op(XENPMU_mode_set, &xp); in pmu_mode_store()
445 struct xen_pmu_params xp; in pmu_mode_show() local
449 xp.version.maj = XENPMU_VER_MAJ; in pmu_mode_show()
450 xp.version.min = XENPMU_VER_MIN; in pmu_mode_show()
451 ret = HYPERVISOR_xenpmu_op(XENPMU_mode_get, &xp); in pmu_mode_show()
455 mode = (uint32_t)xp.val; in pmu_mode_show()
470 struct xen_pmu_params xp; in pmu_features_store() local
476 xp.val = features; in pmu_features_store()
477 xp.version.maj = XENPMU_VER_MAJ; in pmu_features_store()
478 xp.version.min = XENPMU_VER_MIN; in pmu_features_store()
479 ret = HYPERVISOR_xenpmu_op(XENPMU_feature_set, &xp); in pmu_features_store()
489 struct xen_pmu_params xp; in pmu_features_show() local
491 xp.version.maj = XENPMU_VER_MAJ; in pmu_features_show()
492 xp.version.min = XENPMU_VER_MIN; in pmu_features_show()
493 ret = HYPERVISOR_xenpmu_op(XENPMU_feature_get, &xp); in pmu_features_show()
497 return sprintf(buffer, "0x%x\n", (uint32_t)xp.val); in pmu_features_show()