Home
last modified time | relevance | path

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

123

/linux/drivers/perf/hisilicon/
H A Dhisi_uncore_pmu.h58 u64 (*read_counter)(struct hisi_pmu *, struct hw_perf_event *);
59 void (*write_counter)(struct hisi_pmu *, struct hw_perf_event *, u64);
60 void (*enable_counter)(struct hisi_pmu *, struct hw_perf_event *);
61 void (*disable_counter)(struct hisi_pmu *, struct hw_perf_event *);
62 void (*enable_counter_int)(struct hisi_pmu *, struct hw_perf_event *);
63 void (*disable_counter_int)(struct hisi_pmu *, struct hw_perf_event *);
H A Dhisi_uncore_l3c_pmu.c158 static u32 hisi_l3c_pmu_event_readl(struct hw_perf_event *hwc, u32 reg) in hisi_l3c_pmu_event_readl()
163 static void hisi_l3c_pmu_event_writel(struct hw_perf_event *hwc, u32 reg, u32 val) in hisi_l3c_pmu_event_writel()
168 static u64 hisi_l3c_pmu_event_readq(struct hw_perf_event *hwc, u32 reg) in hisi_l3c_pmu_event_readq()
173 static void hisi_l3c_pmu_event_writeq(struct hw_perf_event *hwc, u32 reg, u64 val) in hisi_l3c_pmu_event_writeq()
180 struct hw_perf_event *hwc = &event->hw; in hisi_l3c_pmu_config_req_tracetag()
201 struct hw_perf_event *hwc = &event->hw; in hisi_l3c_pmu_clear_req_tracetag()
222 struct hw_perf_event *hwc = &event->hw; in hisi_l3c_pmu_write_ds()
245 struct hw_perf_event *hwc = &event->hw; in hisi_l3c_pmu_config_ds()
263 struct hw_perf_event *hwc = &event->hw; in hisi_l3c_pmu_clear_ds()
281 struct hw_perf_event *hwc = &event->hw; in hisi_l3c_pmu_config_core_tracetag()
[all …]
H A Dhisi_uncore_pmu.c209 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_event_init()
268 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_enable_event()
286 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_disable_event()
298 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_set_event_period()
318 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_event_update()
339 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_start()
361 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_stop()
379 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_add()
402 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_del()
H A Dhisi_pcie_pmu.c268 struct hw_perf_event *hwc = &event->hw; in hisi_pcie_pmu_config_event_ctrl()
277 struct hw_perf_event *hwc = &event->hw; in hisi_pcie_pmu_clear_event_ctrl()
384 struct hw_perf_event *hwc = &event->hw; in hisi_pcie_pmu_event_init()
448 struct hw_perf_event *hwc = &event->hw; in hisi_pcie_pmu_event_update()
469 struct hw_perf_event *hwc = &event->hw; in hisi_pcie_pmu_set_period()
491 static void hisi_pcie_pmu_enable_counter(struct hisi_pcie_pmu *pcie_pmu, struct hw_perf_event *hwc) in hisi_pcie_pmu_enable_counter()
501 static void hisi_pcie_pmu_disable_counter(struct hisi_pcie_pmu *pcie_pmu, struct hw_perf_event *hwc) in hisi_pcie_pmu_disable_counter()
511 static void hisi_pcie_pmu_enable_int(struct hisi_pcie_pmu *pcie_pmu, struct hw_perf_event *hwc) in hisi_pcie_pmu_enable_int()
518 static void hisi_pcie_pmu_disable_int(struct hisi_pcie_pmu *pcie_pmu, struct hw_perf_event *hwc) in hisi_pcie_pmu_disable_int()
534 struct hw_perf_event *hwc = &event->hw; in hisi_pcie_pmu_start()
[all …]
H A Dhisi_uncore_noc_pmu.c93 struct hw_perf_event *hwc) in hisi_noc_pmu_read_counter()
101 struct hw_perf_event *hwc, u64 val) in hisi_noc_pmu_write_counter()
109 struct hw_perf_event *hwc) in hisi_noc_pmu_enable_counter()
120 struct hw_perf_event *hwc) in hisi_noc_pmu_disable_counter()
131 struct hw_perf_event *hwc) in hisi_noc_pmu_enable_counter_int()
137 struct hw_perf_event *hwc) in hisi_noc_pmu_disable_counter_int()
182 struct hw_perf_event *hwc = &event->hw; in hisi_noc_pmu_enable_filter()
H A Dhisi_uncore_ddrc_pmu.c87 struct hw_perf_event *hwc) in hisi_ddrc_pmu_read_counter()
98 struct hw_perf_event *hwc, u64 val) in hisi_ddrc_pmu_write_counter()
128 struct hw_perf_event *hwc = &event->hw; in hisi_ddrc_pmu_v1_get_event_idx()
172 struct hw_perf_event *hwc) in hisi_ddrc_pmu_enable_counter()
183 struct hw_perf_event *hwc) in hisi_ddrc_pmu_disable_counter()
194 struct hw_perf_event *hwc) in hisi_ddrc_pmu_enable_counter_int()
205 struct hw_perf_event *hwc) in hisi_ddrc_pmu_disable_counter_int()
H A Dhisi_uncore_mn_pmu.c74 struct hw_perf_event *hwc) in hisi_mn_pmu_read_counter()
82 struct hw_perf_event *hwc, u64 val) in hisi_mn_pmu_write_counter()
128 struct hw_perf_event *hwc) in hisi_mn_pmu_enable_counter()
139 struct hw_perf_event *hwc) in hisi_mn_pmu_disable_counter()
150 struct hw_perf_event *hwc) in hisi_mn_pmu_enable_counter_int()
161 struct hw_perf_event *hwc) in hisi_mn_pmu_disable_counter_int()
H A Dhisi_uncore_hha_pmu.c169 struct hw_perf_event *hwc) in hisi_hha_pmu_read_counter()
176 struct hw_perf_event *hwc, u64 val) in hisi_hha_pmu_write_counter()
232 struct hw_perf_event *hwc) in hisi_hha_pmu_enable_counter()
243 struct hw_perf_event *hwc) in hisi_hha_pmu_disable_counter()
254 struct hw_perf_event *hwc) in hisi_hha_pmu_enable_counter_int()
265 struct hw_perf_event *hwc) in hisi_hha_pmu_disable_counter_int()
H A Dhisi_uncore_pa_pmu.c157 struct hw_perf_event *hwc) in hisi_pa_pmu_read_counter()
163 struct hw_perf_event *hwc, u64 val) in hisi_pa_pmu_write_counter()
210 struct hw_perf_event *hwc) in hisi_pa_pmu_enable_counter()
221 struct hw_perf_event *hwc) in hisi_pa_pmu_disable_counter()
232 struct hw_perf_event *hwc) in hisi_pa_pmu_enable_counter_int()
244 struct hw_perf_event *hwc) in hisi_pa_pmu_disable_counter_int()
H A Dhisi_uncore_sllc_pmu.c215 struct hw_perf_event *hwc) in hisi_sllc_pmu_read_counter()
223 struct hw_perf_event *hwc, u64 val) in hisi_sllc_pmu_write_counter()
273 struct hw_perf_event *hwc) in hisi_sllc_pmu_enable_counter()
284 struct hw_perf_event *hwc) in hisi_sllc_pmu_disable_counter()
295 struct hw_perf_event *hwc) in hisi_sllc_pmu_enable_counter_int()
306 struct hw_perf_event *hwc) in hisi_sllc_pmu_disable_counter_int()
/linux/arch/sh/include/asm/
H A Dperf_event.h5 struct hw_perf_event;
14 void (*enable)(struct hw_perf_event *, int);
15 void (*disable)(struct hw_perf_event *, int);
/linux/drivers/perf/
H A Driscv_pmu.c149 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_ctr_get_width_mask()
163 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_event_update()
189 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_stop()
204 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_event_set_period()
242 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_start()
261 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_add()
285 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_del()
306 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_event_init()
H A Darm_pmu.c207 struct hw_perf_event *hwc = &event->hw; in armpmu_event_set_period()
249 struct hw_perf_event *hwc = &event->hw; in armpmu_event_update()
279 struct hw_perf_event *hwc = &event->hw; in armpmu_stop()
295 struct hw_perf_event *hwc = &event->hw; in armpmu_start()
321 struct hw_perf_event *hwc = &event->hw; in armpmu_del()
343 struct hw_perf_event *hwc = &event->hw; in armpmu_add()
460 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init()
H A Darm_smmuv3_pmu.c256 struct hw_perf_event *hwc = &event->hw; in smmu_pmu_event_update()
274 struct hw_perf_event *hwc) in smmu_pmu_set_period()
397 struct hw_perf_event *hwc = &event->hw; in smmu_pmu_event_init()
462 struct hw_perf_event *hwc = &event->hw; in smmu_pmu_event_start()
475 struct hw_perf_event *hwc = &event->hw; in smmu_pmu_event_stop()
489 struct hw_perf_event *hwc = &event->hw; in smmu_pmu_event_add()
515 struct hw_perf_event *hwc = &event->hw; in smmu_pmu_event_del()
704 struct hw_perf_event *hwc; in smmu_pmu_handle_irq()
H A Darm-ccn.c625 struct hw_perf_event *hw = &event->hw; in arm_ccn_pmu_event_alloc()
683 struct hw_perf_event *hw = &event->hw; in arm_ccn_pmu_event_release()
707 struct hw_perf_event *hw = &event->hw; in arm_ccn_pmu_event_init()
862 struct hw_perf_event *hw = &event->hw; in arm_ccn_pmu_event_update()
878 struct hw_perf_event *hw = &event->hw; in arm_ccn_pmu_xp_dt_config()
911 struct hw_perf_event *hw = &event->hw; in arm_ccn_pmu_event_start()
923 struct hw_perf_event *hw = &event->hw; in arm_ccn_pmu_event_stop()
937 struct hw_perf_event *hw = &event->hw; in arm_ccn_pmu_xp_watchpoint_config()
985 struct hw_perf_event *hw = &event->hw; in arm_ccn_pmu_xp_event_config()
1006 struct hw_perf_event *hw = &event->hw; in arm_ccn_pmu_node_event_config()
[all …]
H A Dfujitsu_uncore_pmu.c197 struct hw_perf_event *hwc = &event->hw; in fujitsu_uncore_event_init()
230 struct hw_perf_event *hwc = &event->hw; in fujitsu_uncore_event_start()
238 struct hw_perf_event *hwc = &event->hw; in fujitsu_uncore_event_stop()
252 struct hw_perf_event *hwc = &event->hw; in fujitsu_uncore_event_add()
277 struct hw_perf_event *hwc = &event->hw; in fujitsu_uncore_event_del()
/linux/arch/loongarch/kernel/
H A 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()
475 struct hw_perf_event *hwc = &event->hw; in handle_associated_event()
[all …]
/linux/arch/arm/mm/
H A 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/arch/sh/kernel/
H A 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/arch/x86/events/amd/
H A Diommu.c210 struct hw_perf_event *hwc = &event->hw; in perf_iommu_event_init()
242 struct hw_perf_event *hwc = &ev->hw; in perf_iommu_enable_event()
272 struct hw_perf_event *hwc = &event->hw; in perf_iommu_disable_event()
281 struct hw_perf_event *hwc = &event->hw; in perf_iommu_start()
314 struct hw_perf_event *hwc = &event->hw; in perf_iommu_read()
333 struct hw_perf_event *hwc = &event->hw; in perf_iommu_stop()
369 struct hw_perf_event *hwc = &event->hw; in perf_iommu_del()
H A Duncore.c137 struct hw_perf_event *hwc = &event->hw; in amd_uncore_read()
167 struct hw_perf_event *hwc = &event->hw; in amd_uncore_start()
185 struct hw_perf_event *hwc = &event->hw; in amd_uncore_stop()
206 struct hw_perf_event *hwc = &event->hw; in amd_uncore_add()
253 struct hw_perf_event *hwc = &event->hw; in amd_uncore_del()
271 struct hw_perf_event *hwc = &event->hw; in amd_uncore_event_init()
656 struct hw_perf_event *hwc = &event->hw; in amd_uncore_df_event_init()
669 struct hw_perf_event *hwc = &event->hw; in amd_uncore_df_add()
792 struct hw_perf_event *hwc = &event->hw; in amd_uncore_l3_event_init()
927 struct hw_perf_event *hwc = &event->hw; in amd_uncore_umc_event_init()
[all …]
/linux/arch/x86/events/intel/
H A Duncore_discovery.c509 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_msr_enable_event()
517 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_msr_disable_event()
534 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_assign_hw_event()
597 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_enable_event()
606 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_disable_event()
615 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_read_counter()
684 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_mmio_enable_event()
695 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_mmio_disable_event()
/linux/drivers/dma/idxd/
H A Dperfmon.c97 struct hw_perf_event *hwc = &event->hw; in perfmon_assign_hw_event()
201 struct hw_perf_event *hwc = &event->hw; in perfmon_pmu_read_counter()
215 struct hw_perf_event *hwc = &event->hw; in perfmon_pmu_event_update()
293 struct hw_perf_event *hwc = &event->hw; in perfmon_pmu_event_start()
343 struct hw_perf_event *hwc = &event->hw; in perfmon_pmu_event_stop()
381 struct hw_perf_event *hwc = &event->hw; in perfmon_pmu_event_add()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_pmu.c211 struct hw_perf_event *hwc = &event->hw; in amdgpu_perf_event_init()
227 struct hw_perf_event *hwc = &event->hw; in amdgpu_perf_start()
269 struct hw_perf_event *hwc = &event->hw; in amdgpu_perf_read()
299 struct hw_perf_event *hwc = &event->hw; in amdgpu_perf_stop()
334 struct hw_perf_event *hwc = &event->hw; in amdgpu_perf_add()
385 struct hw_perf_event *hwc = &event->hw; in amdgpu_perf_del()
/linux/arch/s390/kernel/
H A Dperf_cpum_sf.c361 static unsigned long sfb_max_limit(struct hw_perf_event *hwc) in sfb_max_limit()
368 struct hw_perf_event *hwc) in sfb_pending_allocs()
377 static void sfb_account_allocs(unsigned long num, struct hw_perf_event *hwc) in sfb_account_allocs()
385 static void sfb_init_allocs(unsigned long num, struct hw_perf_event *hwc) in sfb_init_allocs()
397 static int allocate_buffers(struct cpu_hw_sf *cpuhw, struct hw_perf_event *hwc) in allocate_buffers()
479 struct hw_perf_event *hwc) in sfb_account_overflows()
516 struct hw_perf_event *hwc) in extend_sampling_buffer()
587 static void hw_init_period(struct hw_perf_event *hwc, u64 period) in hw_init_period()
713 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init_rate()
738 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init()
[all …]

123