Searched refs:armpmu (Results 1 – 3 of 3) sorted by relevance
202 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_event_set_period() local235 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() local251 new_raw_count = armpmu->read_counter(event); in armpmu_event_update()274 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_stop() local282 armpmu->disable(event); in armpmu_stop()290 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_start() local309 armpmu->enable(event); in armpmu_start()315 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_del() local316 struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); in armpmu_del()[all …]
156 static int armpmu_request_irqs(struct arm_pmu *armpmu) in armpmu_request_irqs() argument158 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() argument177 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()
1083 static int __armv8_pmuv3_map_event_id(struct arm_pmu *armpmu, in __armv8_pmuv3_map_event_id() argument1090 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() local1116 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()