Home
last modified time | relevance | path

Searched refs:armpmu (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/perf/
H A Darm_pmu.c202 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_event_set_period() local
235 armpmu->write_counter(event, (u64)(-left) & max_period); in armpmu_event_set_period()
244 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_event_update() local
251 new_raw_count = armpmu->read_counter(event); in armpmu_event_update()
274 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_stop() local
282 armpmu->disable(event); in armpmu_stop()
290 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_start() local
309 armpmu->enable(event); in armpmu_start()
315 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_del() local
316 struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); in armpmu_del()
[all …]
H A Darm_pmu_platform.c156 static int armpmu_request_irqs(struct arm_pmu *armpmu) in armpmu_request_irqs() argument
158 struct pmu_hw_events __percpu *hw_events = armpmu->hw_events; in armpmu_request_irqs()
161 for_each_cpu(cpu, &armpmu->supported_cpus) { in armpmu_request_irqs()
174 static void armpmu_free_irqs(struct arm_pmu *armpmu) in armpmu_free_irqs() argument
177 struct pmu_hw_events __percpu *hw_events = armpmu->hw_events; in armpmu_free_irqs()
179 for_each_cpu(cpu, &armpmu->supported_cpus) { in armpmu_free_irqs()
H A Darm_pmuv3.c1083 static int __armv8_pmuv3_map_event_id(struct arm_pmu *armpmu, in __armv8_pmuv3_map_event_id() argument
1090 armpmu->pmceid_bitmap)) in __armv8_pmuv3_map_event_id()
1094 armpmu->pmceid_bitmap)) in __armv8_pmuv3_map_event_id()
1114 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in __armv8_pmuv3_map_event() local
1116 hw_event_id = __armv8_pmuv3_map_event_id(armpmu, event); in __armv8_pmuv3_map_event()
1142 !armv8pmu_has_long_event(armpmu)) in __armv8_pmuv3_map_event()
1150 && test_bit(hw_event_id, armpmu->pmceid_bitmap)) { in __armv8_pmuv3_map_event()