/linux/drivers/perf/hisilicon/ |
A D | hisi_uncore_ddrc_pmu.c | 82 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() 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() 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() 238 struct hw_perf_event *hwc) in hisi_ddrc_pmu_v1_disable_counter_int() 249 struct hw_perf_event *hwc) in hisi_ddrc_pmu_v2_enable_counter_int() [all …]
|
A D | hisi_uncore_pmu.h | 51 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 *);
|
A D | hisi_uncore_pmu.c | 187 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()
|
A D | hisi_uncore_pa_pmu.c | 145 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()
|
A D | hisi_uncore_l3c_pmu.c | 108 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()
|
A D | hisi_uncore_sllc_pmu.c | 176 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()
|
A D | hisi_uncore_hha_pmu.c | 169 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()
|
/linux/arch/sh/include/asm/ |
A D | perf_event.h | 5 struct hw_perf_event; 14 void (*enable)(struct hw_perf_event *, int); 15 void (*disable)(struct hw_perf_event *, int);
|
/linux/arch/arm/kernel/ |
A D | perf_event_xscale.c | 175 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 …]
|
A D | perf_event_v6.c | 238 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()
|
A D | perf_event_v7.c | 749 struct hw_perf_event *hwc = &event->hw; in armv7pmu_read_counter() 769 struct hw_perf_event *hwc = &event->hw; in armv7pmu_write_counter() 874 struct hw_perf_event *hwc = &event->hw; in armv7pmu_enable_event() 920 struct hw_perf_event *hwc = &event->hw; in armv7pmu_disable_event() 975 struct hw_perf_event *hwc; in armv7pmu_handle_irq() 1037 struct hw_perf_event *hwc = &event->hw; in armv7pmu_get_event_idx() 1496 struct hw_perf_event *hwc = &event->hw; in krait_pmu_disable_event() 1522 struct hw_perf_event *hwc = &event->hw; in krait_pmu_enable_event() 1584 struct hw_perf_event *hwc = &event->hw; in krait_event_to_bit() 1611 struct hw_perf_event *hwc = &event->hw; in krait_pmu_get_event_idx() [all …]
|
/linux/arch/alpha/kernel/ |
A D | perf_event.c | 253 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/drivers/perf/ |
A D | thunderx2_pmu.c | 325 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 …]
|
A D | qcom_l2_pmu.c | 299 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()
|
/linux/arch/arm/mm/ |
A D | cache-l2x0-pmu.c | 119 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/riscv/kernel/ |
A D | perf_event.c | 216 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_read() 253 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_stop() 269 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_start() 300 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_add() 331 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_del() 387 struct hw_perf_event *hwc = &event->hw; in riscv_event_init()
|
/linux/arch/sh/kernel/ |
A D | perf_event.c | 103 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/ |
A D | iommu.c | 208 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()
|
A D | ibs.c | 105 perf_event_set_period(struct hw_perf_event *hwc, u64 min, u64 max, u64 *hw_period) in perf_event_set_period() 150 struct hw_perf_event *hwc = &event->hw; in perf_event_try_update() 252 struct hw_perf_event *hwc = &event->hw; in perf_ibs_init() 311 struct hw_perf_event *hwc, u64 *period) in perf_ibs_set_period() 368 struct hw_perf_event *hwc, u64 config) in perf_ibs_enable_event() 386 struct hw_perf_event *hwc, u64 config) in perf_ibs_disable_event() 403 struct hw_perf_event *hwc = &event->hw; in perf_ibs_start() 434 struct hw_perf_event *hwc = &event->hw; in perf_ibs_stop() 589 struct hw_perf_event *hwc; in perf_ibs_handle_irq()
|
A D | core.c | 312 static inline unsigned int amd_get_event_code(struct hw_perf_event *hwc) in amd_get_event_code() 317 static inline bool amd_is_pair_event_code(struct hw_perf_event *hwc) in amd_is_pair_event_code() 349 static inline int amd_is_nb_event(struct hw_perf_event *hwc) in amd_is_nb_event() 442 struct hw_perf_event *hwc = &event->hw; in __amd_get_nb_event_constraints() 808 struct hw_perf_event *hwc = &event->hw; in amd_get_event_constraints_f15h() 883 struct hw_perf_event *hwc = &event->hw; in amd_get_event_constraints_f17h() 894 struct hw_perf_event *hwc = &event->hw; in amd_put_event_constraints_f17h()
|
/linux/arch/nds32/kernel/ |
A D | perf_event_cpu.c | 186 struct hw_perf_event *hwc = &event->hw; in nds32_pmu_event_set_period() 252 struct hw_perf_event *hwc; in nds32_pmu_handle_irq() 416 struct hw_perf_event *hwc = &event->hw; in nds32_pmu_enable_event() 467 struct hw_perf_event *hwc = &event->hw; in nds32_pmu_disable_event() 498 struct hw_perf_event *hwc = &event->hw; in nds32_pmu_read_counter() 527 struct hw_perf_event *hwc = &event->hw; in nds32_pmu_write_counter() 555 struct hw_perf_event *hwc = &event->hw; in nds32_pmu_get_event_idx() 799 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init() 891 struct hw_perf_event *hwc = &event->hw; in nds32_start() 910 struct hw_perf_event *hwc = &event->hw; in nds32_pmu_add() [all …]
|
/linux/arch/xtensa/kernel/ |
A D | perf_event.c | 137 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/arch/x86/events/intel/ |
A D | uncore_discovery.c | 358 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_msr_enable_event() 366 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_msr_disable_event() 409 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_enable_event() 418 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_disable_event() 427 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_read_counter() 500 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_mmio_enable_event() 511 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_mmio_disable_event()
|
/linux/arch/arc/kernel/ |
A D | perf_event.c | 119 struct hw_perf_event *hwc, int idx) in arc_perf_event_update() 169 struct hw_perf_event *hwc = &event->hw; in arc_pmu_event_init() 245 struct hw_perf_event *hwc = &event->hw; in arc_pmu_event_set_period() 291 struct hw_perf_event *hwc = &event->hw; in arc_pmu_start() 316 struct hw_perf_event *hwc = &event->hw; in arc_pmu_stop() 363 struct hw_perf_event *hwc = &event->hw; in arc_pmu_add() 418 struct hw_perf_event *hwc; in arc_pmu_intr()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_pmu.c | 211 struct hw_perf_event *hwc = &event->hw; in amdgpu_perf_event_init() 227 struct hw_perf_event *hwc = &event->hw; in amdgpu_perf_start() 265 struct hw_perf_event *hwc = &event->hw; in amdgpu_perf_read() 292 struct hw_perf_event *hwc = &event->hw; in amdgpu_perf_stop() 323 struct hw_perf_event *hwc = &event->hw; in amdgpu_perf_add() 370 struct hw_perf_event *hwc = &event->hw; in amdgpu_perf_del()
|