Home
last modified time | relevance | path

Searched refs:ovsr (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/perf/
Dqcom_l2_pmu.c287 static inline bool cluster_pmu_has_overflowed(u32 ovsr) in cluster_pmu_has_overflowed() argument
289 return !!(ovsr & l2_counter_present_mask); in cluster_pmu_has_overflowed()
292 static inline bool cluster_pmu_counter_has_overflowed(u32 ovsr, u32 idx) in cluster_pmu_counter_has_overflowed() argument
294 return !!(ovsr & idx_to_reg_bit(idx)); in cluster_pmu_counter_has_overflowed()
389 u32 ovsr; in l2_cache_handle_irq() local
392 ovsr = cluster_pmu_getreset_ovsr(); in l2_cache_handle_irq()
393 if (!cluster_pmu_has_overflowed(ovsr)) in l2_cache_handle_irq()
403 if (!cluster_pmu_counter_has_overflowed(ovsr, idx)) in l2_cache_handle_irq()
Darm_smmuv3_pmu.c658 u64 ovsr; in smmu_pmu_handle_irq() local
661 ovsr = readq(smmu_pmu->reloc_base + SMMU_PMCG_OVSSET0); in smmu_pmu_handle_irq()
662 if (!ovsr) in smmu_pmu_handle_irq()
665 writeq(ovsr, smmu_pmu->reloc_base + SMMU_PMCG_OVSCLR0); in smmu_pmu_handle_irq()
667 bitmap_from_u64(ovs, ovsr); in smmu_pmu_handle_irq()