| /linux/drivers/perf/hisilicon/ |
| H A D | hisi_uncore_pmu.h | 58 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 D | hisi_uncore_l3c_pmu.c | 160 static u32 hisi_l3c_pmu_event_readl(struct hw_perf_event *hwc, u32 reg) in hisi_l3c_pmu_event_readl() 165 static void hisi_l3c_pmu_event_writel(struct hw_perf_event *hwc, u32 reg, u32 val) in hisi_l3c_pmu_event_writel() 170 static u64 hisi_l3c_pmu_event_readq(struct hw_perf_event *hwc, u32 reg) in hisi_l3c_pmu_event_readq() 175 static void hisi_l3c_pmu_event_writeq(struct hw_perf_event *hwc, u32 reg, u64 val) in hisi_l3c_pmu_event_writeq() 182 struct hw_perf_event *hwc = &event->hw; in hisi_l3c_pmu_config_req_tracetag() 203 struct hw_perf_event *hwc = &event->hw; in hisi_l3c_pmu_clear_req_tracetag() 224 struct hw_perf_event *hwc = &event->hw; in hisi_l3c_pmu_write_ds() 247 struct hw_perf_event *hwc = &event->hw; in hisi_l3c_pmu_config_ds() 265 struct hw_perf_event *hwc = &event->hw; in hisi_l3c_pmu_clear_ds() 283 struct hw_perf_event *hwc = &event->hw; in hisi_l3c_pmu_config_core_tracetag() [all …]
|
| H A 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()
|
| H A D | hisi_uncore_pmu.c | 209 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 D | hisi_uncore_uc_pmu.c | 258 struct hw_perf_event *hwc) in hisi_uc_pmu_enable_counter() 269 struct hw_perf_event *hwc) in hisi_uc_pmu_disable_counter() 280 struct hw_perf_event *hwc) in hisi_uc_pmu_read_counter() 294 struct hw_perf_event *hwc, u64 val) in hisi_uc_pmu_write_counter_normal() 300 struct hw_perf_event *hwc, u64 val) in hisi_uc_pmu_write_counter_quirk_v2() 308 struct hw_perf_event *hwc, u64 val) in hisi_uc_pmu_write_counter() 332 struct hw_perf_event *hwc) in hisi_uc_pmu_enable_counter_int() 342 struct hw_perf_event *hwc) in hisi_uc_pmu_disable_counter_int()
|
| H A D | hisi_pcie_pmu.c | 268 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 D | hisi_uncore_noc_pmu.c | 89 struct hw_perf_event *hwc) in hisi_noc_pmu_read_counter() 97 struct hw_perf_event *hwc, u64 val) in hisi_noc_pmu_write_counter() 105 struct hw_perf_event *hwc) in hisi_noc_pmu_enable_counter() 116 struct hw_perf_event *hwc) in hisi_noc_pmu_disable_counter() 127 struct hw_perf_event *hwc) in hisi_noc_pmu_enable_counter_int() 133 struct hw_perf_event *hwc) in hisi_noc_pmu_disable_counter_int() 178 struct hw_perf_event *hwc = &event->hw; in hisi_noc_pmu_enable_filter()
|
| H A D | hisi_uncore_its_pmu.c | 60 struct hw_perf_event *hwc) in hisi_its_pmu_read_counter() 68 struct hw_perf_event *hwc, u64 val) in hisi_its_pmu_write_counter() 76 struct hw_perf_event *hwc) in hisi_its_pmu_enable_counter() 87 struct hw_perf_event *hwc) in hisi_its_pmu_disable_counter() 98 struct hw_perf_event *hwc) in hisi_its_pmu_enable_counter_int() 104 struct hw_perf_event *hwc) in hisi_its_pmu_disable_counter_int()
|
| H A D | hisi_uncore_ddrc_pmu.c | 87 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 D | hisi_uncore_mn_pmu.c | 70 struct hw_perf_event *hwc) in hisi_mn_pmu_read_counter() 78 struct hw_perf_event *hwc, u64 val) in hisi_mn_pmu_write_counter() 124 struct hw_perf_event *hwc) in hisi_mn_pmu_enable_counter() 135 struct hw_perf_event *hwc) in hisi_mn_pmu_disable_counter() 146 struct hw_perf_event *hwc) in hisi_mn_pmu_enable_counter_int() 157 struct hw_perf_event *hwc) in hisi_mn_pmu_disable_counter_int()
|
| H 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()
|
| H A 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()
|
| /linux/arch/sh/include/asm/ |
| H 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/drivers/perf/ |
| H A D | riscv_pmu.c | 149 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 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() 569 struct hw_perf_event *hwc = &event->hw; in tx2_uncore_event_init() [all …]
|
| H A D | starfive_starlink_pmu.c | 157 struct hw_perf_event *hwc = &event->hw; in starlink_pmu_set_event_period() 177 struct hw_perf_event *hwc = &event->hw; in starlink_pmu_counter_start() 214 struct hw_perf_event *hwc = &event->hw; in starlink_pmu_counter_stop() 234 struct hw_perf_event *hwc = &event->hw; in starlink_pmu_update() 260 struct hw_perf_event *hwc = &event->hw; in starlink_pmu_start() 279 struct hw_perf_event *hwc = &event->hw; in starlink_pmu_stop() 294 struct hw_perf_event *hwc = &event->hw; in starlink_pmu_add() 334 struct hw_perf_event *hwc = &event->hw; in starlink_pmu_del() 370 struct hw_perf_event *hwc = &event->hw; in starlink_pmu_event_init()
|
| H A D | marvell_pem_pmu.c | 192 struct hw_perf_event *hwc = &event->hw; in pem_perf_event_init() 237 struct hw_perf_event *hwc = &event->hw; in pem_perf_event_update() 251 struct hw_perf_event *hwc = &event->hw; in pem_perf_event_start() 266 struct hw_perf_event *hwc = &event->hw; in pem_perf_event_add() 281 struct hw_perf_event *hwc = &event->hw; in pem_perf_event_stop() 291 struct hw_perf_event *hwc = &event->hw; in pem_perf_event_del()
|
| H 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/loongarch/kernel/ |
| H A 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() 475 struct hw_perf_event *hwc = &event->hw; in handle_associated_event() [all …]
|
| /linux/arch/arm/mm/ |
| H 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/sh/kernel/ |
| H 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/ |
| H A D | iommu.c | 210 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 D | core.c | 350 static inline unsigned int amd_get_event_code(struct hw_perf_event *hwc) in amd_get_event_code() 355 static inline bool amd_is_pair_event_code(struct hw_perf_event *hwc) in amd_is_pair_event_code() 392 static inline int amd_is_nb_event(struct hw_perf_event *hwc) in amd_is_nb_event() 487 struct hw_perf_event *hwc = &event->hw; in __amd_get_nb_event_constraints() 784 struct hw_perf_event *hwc = &event->hw; in amd_pmu_v2_enable_event() 962 struct hw_perf_event *hwc; in amd_pmu_v2_handle_irq() 1166 struct hw_perf_event *hwc = &event->hw; in amd_get_event_constraints_f15h() 1241 struct hw_perf_event *hwc = &event->hw; in amd_get_event_constraints_f17h() 1252 struct hw_perf_event *hwc = &event->hw; in amd_put_event_constraints_f17h() 1282 struct hw_perf_event *hwc = &event->hw; in amd_get_event_constraints_f19h()
|
| H A D | uncore.c | 138 struct hw_perf_event *hwc = &event->hw; in amd_uncore_read() 168 struct hw_perf_event *hwc = &event->hw; in amd_uncore_start() 186 struct hw_perf_event *hwc = &event->hw; in amd_uncore_stop() 207 struct hw_perf_event *hwc = &event->hw; in amd_uncore_add() 251 struct hw_perf_event *hwc = &event->hw; in amd_uncore_del() 289 struct hw_perf_event *hwc = &event->hw; in amd_uncore_event_init() 673 struct hw_perf_event *hwc = &event->hw; in amd_uncore_df_event_init() 686 struct hw_perf_event *hwc = &event->hw; in amd_uncore_df_add() 809 struct hw_perf_event *hwc = &event->hw; in amd_uncore_l3_event_init() 944 struct hw_perf_event *hwc = &event->hw; in amd_uncore_umc_event_init() [all …]
|
| H A D | power.c | 49 struct hw_perf_event *hwc = &event->hw; in event_update() 93 struct hw_perf_event *hwc = &event->hw; in pmu_event_stop() 112 struct hw_perf_event *hwc = &event->hw; in pmu_event_add()
|