/Linux-v6.6/drivers/perf/hisilicon/ |
D | hisi_uncore_pmu.h | 57 u64 (*read_counter)(struct hisi_pmu *, struct hw_perf_event *); 58 void (*write_counter)(struct hisi_pmu *, struct hw_perf_event *, u64); 59 void (*enable_counter)(struct hisi_pmu *, struct hw_perf_event *); 60 void (*disable_counter)(struct hisi_pmu *, struct hw_perf_event *); 61 void (*enable_counter_int)(struct hisi_pmu *, struct hw_perf_event *); 62 void (*disable_counter_int)(struct hisi_pmu *, struct hw_perf_event *);
|
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() 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 …]
|
D | hisi_uncore_pmu.c | 186 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_event_init() 245 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_enable_event() 263 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_disable_event() 275 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_set_event_period() 295 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_event_update() 316 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_start() 338 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_stop() 356 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_add() 379 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_del()
|
D | hisi_uncore_cpa_pmu.c | 50 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()
|
D | hisi_pcie_pmu.c | 222 struct hw_perf_event *hwc = &event->hw; in hisi_pcie_pmu_config_filter() 265 struct hw_perf_event *hwc = &event->hw; in hisi_pcie_pmu_clear_filter() 354 struct hw_perf_event *hwc = &event->hw; in hisi_pcie_pmu_event_init() 425 struct hw_perf_event *hwc = &event->hw; in hisi_pcie_pmu_event_update() 446 struct hw_perf_event *hwc = &event->hw; in hisi_pcie_pmu_set_period() 454 static void hisi_pcie_pmu_enable_counter(struct hisi_pcie_pmu *pcie_pmu, struct hw_perf_event *hwc) in hisi_pcie_pmu_enable_counter() 464 static void hisi_pcie_pmu_disable_counter(struct hisi_pcie_pmu *pcie_pmu, struct hw_perf_event *hwc) in hisi_pcie_pmu_disable_counter() 474 static void hisi_pcie_pmu_enable_int(struct hisi_pcie_pmu *pcie_pmu, struct hw_perf_event *hwc) in hisi_pcie_pmu_enable_int() 481 static void hisi_pcie_pmu_disable_int(struct hisi_pcie_pmu *pcie_pmu, struct hw_perf_event *hwc) in hisi_pcie_pmu_disable_int() 497 struct hw_perf_event *hwc = &event->hw; in hisi_pcie_pmu_start() [all …]
|
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()
|
D | hisi_uncore_pa_pmu.c | 157 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()
|
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()
|
D | hisi_uncore_uc_pmu.c | 263 struct hw_perf_event *hwc) in hisi_uc_pmu_enable_counter() 274 struct hw_perf_event *hwc) in hisi_uc_pmu_disable_counter() 285 struct hw_perf_event *hwc) in hisi_uc_pmu_read_counter() 291 struct hw_perf_event *hwc, u64 val) in hisi_uc_pmu_write_counter() 297 struct hw_perf_event *hwc) in hisi_uc_pmu_enable_counter_int() 307 struct hw_perf_event *hwc) in hisi_uc_pmu_disable_counter_int()
|
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()
|
D | hns3_pmu.c | 914 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-v6.6/arch/sh/include/asm/ |
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-v6.6/arch/arm/kernel/ |
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 …]
|
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()
|
/Linux-v6.6/drivers/perf/ |
D | riscv_pmu.c | 151 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_ctr_get_width_mask() 173 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_event_update() 199 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_stop() 216 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_event_set_period() 254 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_start() 273 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_add() 297 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_del() 318 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_event_init()
|
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 …]
|
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()
|
D | marvell_cn10k_ddr_pmu.c | 326 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()
|
/Linux-v6.6/arch/alpha/kernel/ |
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() 806 struct hw_perf_event *hwc; in alpha_perf_event_irq_handler()
|
/Linux-v6.6/arch/sh/kernel/ |
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-v6.6/arch/arm/mm/ |
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-v6.6/arch/loongarch/kernel/ |
D | perf_event.c | 253 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-v6.6/arch/x86/events/amd/ |
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()
|
/Linux-v6.6/arch/xtensa/kernel/ |
D | perf_event.c | 146 struct hw_perf_event *hwc, int idx) in xtensa_perf_event_update() 164 struct hw_perf_event *hwc, int idx) in xtensa_perf_event_set_period() 251 struct hw_perf_event *hwc = &event->hw; in xtensa_pmu_start() 269 struct hw_perf_event *hwc = &event->hw; in xtensa_pmu_stop() 293 struct hw_perf_event *hwc = &event->hw; in xtensa_pmu_add() 377 struct hw_perf_event *hwc = &event->hw; in xtensa_pmu_irq_handler()
|
/Linux-v6.6/arch/x86/events/intel/ |
D | uncore_discovery.c | 386 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_msr_enable_event() 394 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_msr_disable_event() 437 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_enable_event() 446 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_disable_event() 455 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_read_counter() 528 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_mmio_enable_event() 539 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_mmio_disable_event()
|