Home
last modified time | relevance | path

Searched refs:hw_perf_event (Results 1 – 25 of 81) sorted by relevance

1234

/linux-6.1.9/drivers/perf/hisilicon/
Dhisi_uncore_pmu.h51 u64 (*read_counter)(struct hisi_pmu *, struct hw_perf_event *);
52 void (*write_counter)(struct hisi_pmu *, struct hw_perf_event *, u64);
53 void (*enable_counter)(struct hisi_pmu *, struct hw_perf_event *);
54 void (*disable_counter)(struct hisi_pmu *, struct hw_perf_event *);
55 void (*enable_counter_int)(struct hisi_pmu *, struct hw_perf_event *);
56 void (*disable_counter_int)(struct hisi_pmu *, struct hw_perf_event *);
Dhisi_uncore_ddrc_pmu.c82 struct hw_perf_event *hwc) in hisi_ddrc_pmu_v1_read_counter()
89 struct hw_perf_event *hwc, u64 val) in hisi_ddrc_pmu_v1_write_counter()
96 struct hw_perf_event *hwc) in hisi_ddrc_pmu_v2_read_counter()
103 struct hw_perf_event *hwc, u64 val) in hisi_ddrc_pmu_v2_write_counter()
146 struct hw_perf_event *hwc) in hisi_ddrc_pmu_v1_enable_counter()
157 struct hw_perf_event *hwc) in hisi_ddrc_pmu_v1_disable_counter()
171 struct hw_perf_event *hwc = &event->hw; in hisi_ddrc_pmu_v1_get_event_idx()
207 struct hw_perf_event *hwc) in hisi_ddrc_pmu_v2_enable_counter()
217 struct hw_perf_event *hwc) in hisi_ddrc_pmu_v2_disable_counter()
227 struct hw_perf_event *hwc) in hisi_ddrc_pmu_v1_enable_counter_int()
[all …]
Dhisi_uncore_pmu.c187 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_event_init()
243 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_enable_event()
261 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_disable_event()
273 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_set_event_period()
293 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_event_update()
314 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_start()
336 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_stop()
354 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_add()
377 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_del()
Dhisi_uncore_cpa_pmu.c50 struct hw_perf_event *hwc) in hisi_cpa_pmu_read_counter()
56 struct hw_perf_event *hwc, u64 val) in hisi_cpa_pmu_write_counter()
121 struct hw_perf_event *hwc) in hisi_cpa_pmu_enable_counter()
132 struct hw_perf_event *hwc) in hisi_cpa_pmu_disable_counter()
143 struct hw_perf_event *hwc) in hisi_cpa_pmu_enable_counter_int()
154 struct hw_perf_event *hwc) in hisi_cpa_pmu_disable_counter_int()
Dhisi_pcie_pmu.c217 struct hw_perf_event *hwc = &event->hw; in hisi_pcie_pmu_config_filter()
254 struct hw_perf_event *hwc = &event->hw; in hisi_pcie_pmu_clear_filter()
343 struct hw_perf_event *hwc = &event->hw; in hisi_pcie_pmu_event_init()
414 struct hw_perf_event *hwc = &event->hw; in hisi_pcie_pmu_event_update()
435 struct hw_perf_event *hwc = &event->hw; in hisi_pcie_pmu_set_period()
443 static void hisi_pcie_pmu_enable_counter(struct hisi_pcie_pmu *pcie_pmu, struct hw_perf_event *hwc) in hisi_pcie_pmu_enable_counter()
453 static void hisi_pcie_pmu_disable_counter(struct hisi_pcie_pmu *pcie_pmu, struct hw_perf_event *hwc) in hisi_pcie_pmu_disable_counter()
463 static void hisi_pcie_pmu_enable_int(struct hisi_pcie_pmu *pcie_pmu, struct hw_perf_event *hwc) in hisi_pcie_pmu_enable_int()
470 static void hisi_pcie_pmu_disable_int(struct hisi_pcie_pmu *pcie_pmu, struct hw_perf_event *hwc) in hisi_pcie_pmu_disable_int()
486 struct hw_perf_event *hwc = &event->hw; in hisi_pcie_pmu_start()
[all …]
Dhisi_uncore_pa_pmu.c145 struct hw_perf_event *hwc) in hisi_pa_pmu_read_counter()
151 struct hw_perf_event *hwc, u64 val) in hisi_pa_pmu_write_counter()
198 struct hw_perf_event *hwc) in hisi_pa_pmu_enable_counter()
209 struct hw_perf_event *hwc) in hisi_pa_pmu_disable_counter()
220 struct hw_perf_event *hwc) in hisi_pa_pmu_enable_counter_int()
231 struct hw_perf_event *hwc) in hisi_pa_pmu_disable_counter_int()
Dhisi_uncore_l3c_pmu.c108 struct hw_perf_event *hwc = &event->hw; in hisi_l3c_pmu_write_ds()
234 struct hw_perf_event *hwc) in hisi_l3c_pmu_read_counter()
240 struct hw_perf_event *hwc, u64 val) in hisi_l3c_pmu_write_counter()
295 struct hw_perf_event *hwc) in hisi_l3c_pmu_enable_counter()
306 struct hw_perf_event *hwc) in hisi_l3c_pmu_disable_counter()
317 struct hw_perf_event *hwc) in hisi_l3c_pmu_enable_counter_int()
328 struct hw_perf_event *hwc) in hisi_l3c_pmu_disable_counter_int()
Dhisi_uncore_sllc_pmu.c176 struct hw_perf_event *hwc) in hisi_sllc_pmu_read_counter()
183 struct hw_perf_event *hwc, u64 val) in hisi_sllc_pmu_write_counter()
231 struct hw_perf_event *hwc) in hisi_sllc_pmu_enable_counter()
241 struct hw_perf_event *hwc) in hisi_sllc_pmu_disable_counter()
251 struct hw_perf_event *hwc) in hisi_sllc_pmu_enable_counter_int()
262 struct hw_perf_event *hwc) in hisi_sllc_pmu_disable_counter_int()
Dhns3_pmu.c914 struct hw_perf_event *hwc = &event->hw; in hns3_pmu_set_func_mode()
929 struct hw_perf_event *hwc = &event->hw; in hns3_pmu_set_func_queue_mode()
1026 struct hw_perf_event *hwc = &event->hw; in hns3_pmu_select_filter_mode()
1101 struct hw_perf_event *hwc = &event->hw; in hns3_pmu_get_filter_condition()
1132 struct hw_perf_event *hwc = &event->hw; in hns3_pmu_config_filter()
1152 struct hw_perf_event *hwc) in hns3_pmu_enable_counter()
1163 struct hw_perf_event *hwc) in hns3_pmu_disable_counter()
1174 struct hw_perf_event *hwc) in hns3_pmu_enable_intr()
1185 struct hw_perf_event *hwc) in hns3_pmu_disable_intr()
1226 struct hw_perf_event *hwc = &event->hw; in hns3_pmu_init_counter()
[all …]
/linux-6.1.9/arch/sh/include/asm/
Dperf_event.h5 struct hw_perf_event;
14 void (*enable)(struct hw_perf_event *, int);
15 void (*disable)(struct hw_perf_event *, int);
/linux-6.1.9/drivers/perf/
Driscv_pmu.c78 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_ctr_get_width_mask()
100 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_event_update()
126 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_stop()
143 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_event_set_period()
179 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_start()
201 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_add()
225 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_del()
246 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_event_init()
Dthunderx2_pmu.c325 struct hw_perf_event *hwc = &event->hw; in init_cntr_base_l3c()
341 struct hw_perf_event *hwc = &event->hw; in init_cntr_base_dmc()
357 struct hw_perf_event *hwc = &event->hw; in init_cntr_base_ccpi2()
370 struct hw_perf_event *hwc = &event->hw; in uncore_start_event_l3c()
391 struct hw_perf_event *hwc = &event->hw; in uncore_start_event_dmc()
416 struct hw_perf_event *hwc = &event->hw; in uncore_stop_event_dmc()
433 struct hw_perf_event *hwc = &event->hw; in uncore_start_event_ccpi2()
457 struct hw_perf_event *hwc = &event->hw; in uncore_stop_event_ccpi2()
466 struct hw_perf_event *hwc = &event->hw; in tx2_uncore_event_update()
574 struct hw_perf_event *hwc = &event->hw; in tx2_uncore_event_init()
[all …]
Dqcom_l2_pmu.c299 struct hw_perf_event *hwc = &event->hw; in l2_cache_event_update()
320 struct hw_perf_event *hwc) in l2_cache_cluster_set_period()
342 struct hw_perf_event *hwc = &event->hw; in l2_cache_get_event_idx()
377 struct hw_perf_event *hwc = &event->hw; in l2_cache_clear_event_idx()
398 struct hw_perf_event *hwc; in l2_cache_handle_irq()
440 struct hw_perf_event *hwc = &event->hw; in l2_cache_event_init()
544 struct hw_perf_event *hwc = &event->hw; in l2_cache_event_start()
574 struct hw_perf_event *hwc = &event->hw; in l2_cache_event_stop()
590 struct hw_perf_event *hwc = &event->hw; in l2_cache_event_add()
617 struct hw_perf_event *hwc = &event->hw; in l2_cache_event_del()
Dmarvell_cn10k_ddr_pmu.c326 struct hw_perf_event *hwc = &event->hw; in cn10k_ddr_perf_event_init()
409 struct hw_perf_event *hwc = &event->hw; in cn10k_ddr_perf_event_update()
425 struct hw_perf_event *hwc = &event->hw; in cn10k_ddr_perf_event_start()
438 struct hw_perf_event *hwc = &event->hw; in cn10k_ddr_perf_event_add()
484 struct hw_perf_event *hwc = &event->hw; in cn10k_ddr_perf_event_stop()
498 struct hw_perf_event *hwc = &event->hw; in cn10k_ddr_perf_event_del()
530 struct hw_perf_event *hwc; in cn10k_ddr_perf_event_update_all()
553 struct hw_perf_event *hwc; in cn10k_ddr_pmu_overflow_handler()
Dmarvell_cn10k_tad_pmu.c45 struct hw_perf_event *hwc = &event->hw; in tad_pmu_event_counter_read()
63 struct hw_perf_event *hwc = &event->hw; in tad_pmu_event_counter_stop()
82 struct hw_perf_event *hwc = &event->hw; in tad_pmu_event_counter_start()
108 struct hw_perf_event *hwc = &event->hw; in tad_pmu_event_counter_del()
119 struct hw_perf_event *hwc = &event->hw; in tad_pmu_event_counter_add()
/linux-6.1.9/arch/arm/kernel/
Dperf_event_xscale.c175 struct hw_perf_event *hwc; in xscale1pmu_handle_irq()
208 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_enable_event()
244 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_disable_event()
278 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_get_event_idx()
327 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_read_counter()
348 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_write_counter()
521 struct hw_perf_event *hwc; in xscale2pmu_handle_irq()
554 struct hw_perf_event *hwc = &event->hw; in xscale2pmu_enable_event()
600 struct hw_perf_event *hwc = &event->hw; in xscale2pmu_disable_event()
690 struct hw_perf_event *hwc = &event->hw; in xscale2pmu_read_counter()
[all …]
Dperf_event_v6.c238 struct hw_perf_event *hwc = &event->hw; in armv6pmu_read_counter()
256 struct hw_perf_event *hwc = &event->hw; in armv6pmu_write_counter()
273 struct hw_perf_event *hwc = &event->hw; in armv6pmu_enable_event()
328 struct hw_perf_event *hwc; in armv6pmu_handle_irq()
391 struct hw_perf_event *hwc = &event->hw; in armv6pmu_get_event_idx()
424 struct hw_perf_event *hwc = &event->hw; in armv6pmu_disable_event()
459 struct hw_perf_event *hwc = &event->hw; in armv6mpcore_pmu_disable_event()
/linux-6.1.9/arch/alpha/kernel/
Dperf_event.c253 struct hw_perf_event *hwc, int idx) in alpha_perf_event_set_period()
308 struct hw_perf_event *hwc, int idx, long ovf) in alpha_perf_event_update()
413 struct hw_perf_event *hwc = &pe->hw; in maybe_change_configuration()
436 struct hw_perf_event *hwc = &event->hw; in alpha_pmu_add()
488 struct hw_perf_event *hwc = &event->hw; in alpha_pmu_del()
526 struct hw_perf_event *hwc = &event->hw; in alpha_pmu_read()
534 struct hw_perf_event *hwc = &event->hw; in alpha_pmu_stop()
554 struct hw_perf_event *hwc = &event->hw; in alpha_pmu_start()
605 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init()
810 struct hw_perf_event *hwc; in alpha_perf_event_irq_handler()
/linux-6.1.9/arch/sh/kernel/
Dperf_event.c103 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init()
159 struct hw_perf_event *hwc, int idx) in sh_perf_event_update()
202 struct hw_perf_event *hwc = &event->hw; in sh_pmu_stop()
220 struct hw_perf_event *hwc = &event->hw; in sh_pmu_start()
247 struct hw_perf_event *hwc = &event->hw; in sh_pmu_add()
/linux-6.1.9/arch/arm/mm/
Dcache-l2x0-pmu.c119 struct hw_perf_event *hw = &event->hw; in l2x0_pmu_event_read()
135 struct hw_perf_event *hw = &event->hw; in l2x0_pmu_event_configure()
188 struct hw_perf_event *hw = &event->hw; in l2x0_pmu_event_start()
214 struct hw_perf_event *hw = &event->hw; in l2x0_pmu_event_stop()
231 struct hw_perf_event *hw = &event->hw; in l2x0_pmu_event_add()
261 struct hw_perf_event *hw = &event->hw; in l2x0_pmu_event_del()
296 struct hw_perf_event *hw = &event->hw; in l2x0_pmu_event_init()
/linux-6.1.9/arch/loongarch/kernel/
Dperf_event.c253 static int loongarch_pmu_alloc_counter(struct cpu_hw_events *cpuc, struct hw_perf_event *hwc) in loongarch_pmu_alloc_counter()
265 static void loongarch_pmu_enable_event(struct hw_perf_event *evt, int idx) in loongarch_pmu_enable_event()
300 struct hw_perf_event *hwc, in loongarch_pmu_event_set_period()
336 struct hw_perf_event *hwc, in loongarch_pmu_event_update()
358 struct hw_perf_event *hwc = &event->hw; in loongarch_pmu_start()
374 struct hw_perf_event *hwc = &event->hw; in loongarch_pmu_stop()
389 struct hw_perf_event *hwc = &event->hw; in loongarch_pmu_add()
423 struct hw_perf_event *hwc = &event->hw; in loongarch_pmu_del()
437 struct hw_perf_event *hwc = &event->hw; in loongarch_pmu_read()
485 struct hw_perf_event *hwc = &event->hw; in handle_associated_event()
[all …]
/linux-6.1.9/arch/x86/events/amd/
Diommu.c208 struct hw_perf_event *hwc = &event->hw; in perf_iommu_event_init()
240 struct hw_perf_event *hwc = &ev->hw; in perf_iommu_enable_event()
270 struct hw_perf_event *hwc = &event->hw; in perf_iommu_disable_event()
279 struct hw_perf_event *hwc = &event->hw; in perf_iommu_start()
312 struct hw_perf_event *hwc = &event->hw; in perf_iommu_read()
331 struct hw_perf_event *hwc = &event->hw; in perf_iommu_stop()
367 struct hw_perf_event *hwc = &event->hw; in perf_iommu_del()
Dcore.c317 static inline unsigned int amd_get_event_code(struct hw_perf_event *hwc) in amd_get_event_code()
322 static inline bool amd_is_pair_event_code(struct hw_perf_event *hwc) in amd_is_pair_event_code()
359 static inline int amd_is_nb_event(struct hw_perf_event *hwc) in amd_is_nb_event()
452 struct hw_perf_event *hwc = &event->hw; in __amd_get_nb_event_constraints()
739 struct hw_perf_event *hwc = &event->hw; in amd_pmu_v2_enable_event()
884 struct hw_perf_event *hwc; in amd_pmu_v2_handle_irq()
1081 struct hw_perf_event *hwc = &event->hw; in amd_get_event_constraints_f15h()
1156 struct hw_perf_event *hwc = &event->hw; in amd_get_event_constraints_f17h()
1167 struct hw_perf_event *hwc = &event->hw; in amd_put_event_constraints_f17h()
1197 struct hw_perf_event *hwc = &event->hw; in amd_get_event_constraints_f19h()
/linux-6.1.9/arch/xtensa/kernel/
Dperf_event.c137 struct hw_perf_event *hwc, int idx) in xtensa_perf_event_update()
155 struct hw_perf_event *hwc, int idx) in xtensa_perf_event_set_period()
242 struct hw_perf_event *hwc = &event->hw; in xtensa_pmu_start()
260 struct hw_perf_event *hwc = &event->hw; in xtensa_pmu_stop()
284 struct hw_perf_event *hwc = &event->hw; in xtensa_pmu_add()
368 struct hw_perf_event *hwc = &event->hw; in xtensa_pmu_irq_handler()
/linux-6.1.9/arch/x86/events/intel/
Duncore_discovery.c366 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_msr_enable_event()
374 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_msr_disable_event()
417 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_enable_event()
426 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_disable_event()
435 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_read_counter()
508 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_mmio_enable_event()
519 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_mmio_disable_event()

1234