Lines Matching full:xp
419 struct xen_pmu_params xp; in pmu_mode_store() local
424 xp.val = pmu_modes[i].mode; in pmu_mode_store()
432 xp.version.maj = XENPMU_VER_MAJ; in pmu_mode_store()
433 xp.version.min = XENPMU_VER_MIN; in pmu_mode_store()
434 ret = HYPERVISOR_xenpmu_op(XENPMU_mode_set, &xp); in pmu_mode_store()
444 struct xen_pmu_params xp; in pmu_mode_show() local
448 xp.version.maj = XENPMU_VER_MAJ; in pmu_mode_show()
449 xp.version.min = XENPMU_VER_MIN; in pmu_mode_show()
450 ret = HYPERVISOR_xenpmu_op(XENPMU_mode_get, &xp); in pmu_mode_show()
454 mode = (uint32_t)xp.val; in pmu_mode_show()
469 struct xen_pmu_params xp; in pmu_features_store() local
475 xp.val = features; in pmu_features_store()
476 xp.version.maj = XENPMU_VER_MAJ; in pmu_features_store()
477 xp.version.min = XENPMU_VER_MIN; in pmu_features_store()
478 ret = HYPERVISOR_xenpmu_op(XENPMU_feature_set, &xp); in pmu_features_store()
488 struct xen_pmu_params xp; in pmu_features_show() local
490 xp.version.maj = XENPMU_VER_MAJ; in pmu_features_show()
491 xp.version.min = XENPMU_VER_MIN; in pmu_features_show()
492 ret = HYPERVISOR_xenpmu_op(XENPMU_feature_get, &xp); in pmu_features_show()
496 return sprintf(buffer, "0x%x\n", (uint32_t)xp.val); in pmu_features_show()