Home
last modified time | relevance | path

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

/linux/drivers/perf/
H A 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()
H A Darm_smmuv3_pmu.c689 u64 ovsr; in smmu_pmu_handle_irq() local
692 ovsr = readq(smmu_pmu->reloc_base + SMMU_PMCG_OVSSET0); in smmu_pmu_handle_irq()
693 if (!ovsr) in smmu_pmu_handle_irq()
696 writeq(ovsr, smmu_pmu->reloc_base + SMMU_PMCG_OVSCLR0); in smmu_pmu_handle_irq()
698 bitmap_from_u64(ovs, ovsr); in smmu_pmu_handle_irq()