Lines Matching refs:shared_regs
1757 era = &cpuc->shared_regs->regs[idx]; in __intel_shared_reg_get_constraints()
1830 era = &cpuc->shared_regs->regs[reg->idx]; in __intel_shared_reg_put_constraints()
2573 cpuc->shared_regs = allocate_shared_regs(cpu); in intel_pmu_cpu_prepare()
2574 if (!cpuc->shared_regs) in intel_pmu_cpu_prepare()
2588 kfree(cpuc->shared_regs); in intel_pmu_cpu_prepare()
2611 if (!cpuc->shared_regs) in intel_pmu_cpu_starting()
2620 pc = per_cpu(cpu_hw_events, i).shared_regs; in intel_pmu_cpu_starting()
2622 *onln = cpuc->shared_regs; in intel_pmu_cpu_starting()
2623 cpuc->shared_regs = pc; in intel_pmu_cpu_starting()
2627 cpuc->shared_regs->core_id = core_id; in intel_pmu_cpu_starting()
2628 cpuc->shared_regs->refcnt++; in intel_pmu_cpu_starting()
2632 cpuc->lbr_sel = &cpuc->shared_regs->regs[EXTRA_REG_LBR]; in intel_pmu_cpu_starting()
2671 pc = cpuc->shared_regs; in intel_pmu_cpu_dying()
2675 cpuc->shared_regs = NULL; in intel_pmu_cpu_dying()