Searched refs:cpuhw (Results 1 – 3 of 3) sorted by relevance
192 struct cpu_hw_events *cpuhw; in fsl_emb_pmu_disable() local196 cpuhw = this_cpu_ptr(&cpu_hw_events); in fsl_emb_pmu_disable()198 if (!cpuhw->disabled) { in fsl_emb_pmu_disable()199 cpuhw->disabled = 1; in fsl_emb_pmu_disable()204 if (!cpuhw->pmcs_enabled) { in fsl_emb_pmu_disable()206 cpuhw->pmcs_enabled = 1; in fsl_emb_pmu_disable()231 struct cpu_hw_events *cpuhw; in fsl_emb_pmu_enable() local235 cpuhw = this_cpu_ptr(&cpu_hw_events); in fsl_emb_pmu_enable()236 if (!cpuhw->disabled) in fsl_emb_pmu_enable()239 cpuhw->disabled = 0; in fsl_emb_pmu_enable()[all …]
336 struct cpu_hw_events *cpuhw = &per_cpu(cpu_hw_events, cpu); in sh_pmu_prepare_cpu() local338 memset(cpuhw, 0, sizeof(struct cpu_hw_events)); in sh_pmu_prepare_cpu()
1514 struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events); in sparc_pmu_start_txn() local1516 WARN_ON_ONCE(cpuhw->txn_flags); /* txn already in flight */ in sparc_pmu_start_txn()1518 cpuhw->txn_flags = txn_flags; in sparc_pmu_start_txn()1532 struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events); in sparc_pmu_cancel_txn() local1535 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in sparc_pmu_cancel_txn()1537 txn_flags = cpuhw->txn_flags; in sparc_pmu_cancel_txn()1538 cpuhw->txn_flags = 0; in sparc_pmu_cancel_txn()