• Home
  • Raw
  • Download

Lines Matching refs:hw_events

217 	struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events);  in armpmu_del()  local
222 hw_events->events[idx] = NULL; in armpmu_del()
223 clear_bit(idx, hw_events->used_mask); in armpmu_del()
225 armpmu->clear_event_idx(hw_events, event); in armpmu_del()
234 struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); in armpmu_add() local
246 idx = armpmu->get_event_idx(hw_events, event); in armpmu_add()
258 hw_events->events[idx] = event; in armpmu_add()
273 validate_event(struct pmu *pmu, struct pmu_hw_events *hw_events, in validate_event() argument
296 return armpmu->get_event_idx(hw_events, event) >= 0; in validate_event()
509 struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); in armpmu_enable() local
510 int enabled = bitmap_weight(hw_events->used_mask, armpmu->num_events); in armpmu_enable()
614 struct pmu_hw_events __percpu *hw_events = cpu_pmu->hw_events; in cpu_pmu_free_irq() local
621 free_percpu_irq(irq, &hw_events->percpu_pmu); in cpu_pmu_free_irq()
633 free_irq(irq, per_cpu_ptr(&hw_events->percpu_pmu, cpu)); in cpu_pmu_free_irq()
642 struct pmu_hw_events __percpu *hw_events = cpu_pmu->hw_events; in cpu_pmu_request_irq() local
656 &hw_events->percpu_pmu); in cpu_pmu_request_irq()
688 per_cpu_ptr(&hw_events->percpu_pmu, cpu)); in cpu_pmu_request_irq()
731 struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); in cpu_pm_pmu_setup() local
740 if (!test_bit(idx, hw_events->used_mask)) in cpu_pm_pmu_setup()
743 event = hw_events->events[idx]; in cpu_pm_pmu_setup()
778 struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); in cpu_pm_pmu_notify() local
779 int enabled = bitmap_weight(hw_events->used_mask, armpmu->num_events); in cpu_pm_pmu_notify()
851 cpu_pmu->hw_events = cpu_hw_events; in cpu_pmu_init()
877 free_percpu(cpu_pmu->hw_events); in cpu_pmu_destroy()