Lines Matching refs:x86_pmu
170 for (i = 0; i < x86_pmu.lbr_nr; i++) { in amd_pmu_lbr_read()
251 if (!x86_pmu.lbr_nr) in amd_pmu_lbr_setup_filter()
327 if (!x86_pmu.lbr_nr) in amd_pmu_lbr_reset()
331 for (i = 0; i < x86_pmu.lbr_nr; i++) { in amd_pmu_lbr_reset()
346 if (!x86_pmu.lbr_nr) in amd_pmu_lbr_add()
365 if (!x86_pmu.lbr_nr) in amd_pmu_lbr_del()
394 if (!cpuc->lbr_users || !x86_pmu.lbr_nr) in amd_pmu_lbr_enable_all()
415 if (!cpuc->lbr_users || !x86_pmu.lbr_nr) in amd_pmu_lbr_disable_all()
429 if (x86_pmu.version < 2 || !boot_cpu_has(X86_FEATURE_AMD_LBR_V2)) in amd_pmu_lbr_init()
434 x86_pmu.lbr_nr = ebx.split.lbr_v2_stack_sz; in amd_pmu_lbr_init()
436 pr_cont("%d-deep LBR, ", x86_pmu.lbr_nr); in amd_pmu_lbr_init()