Searched refs:cpu_hw_evt (Results 1 – 1 of 1) sorted by relevance
621 struct cpu_hw_events *cpu_hw_evt = this_cpu_ptr(pmu->hw_events); in pmu_sbi_stop_hw_ctrs() local625 cpu_hw_evt->used_hw_ctrs[0], 0, 0, 0, 0); in pmu_sbi_stop_hw_ctrs()638 struct cpu_hw_events *cpu_hw_evt = this_cpu_ptr(pmu->hw_events); in pmu_sbi_start_overflow_mask() local646 ctr_start_mask = cpu_hw_evt->used_hw_ctrs[0] & ~ctr_ovf_mask; in pmu_sbi_start_overflow_mask()655 event = cpu_hw_evt->events[idx]; in pmu_sbi_start_overflow_mask()684 struct cpu_hw_events *cpu_hw_evt = dev; in pmu_sbi_ovf_handler() local687 if (WARN_ON_ONCE(!cpu_hw_evt)) in pmu_sbi_ovf_handler()691 fidx = find_first_bit(cpu_hw_evt->used_hw_ctrs, RISCV_MAX_COUNTERS); in pmu_sbi_ovf_handler()692 event = cpu_hw_evt->events[fidx]; in pmu_sbi_ovf_handler()716 for_each_set_bit(lidx, cpu_hw_evt->used_hw_ctrs, RISCV_MAX_COUNTERS) { in pmu_sbi_ovf_handler()[all …]