Home
last modified time | relevance | path

Searched defs:hwc (Results 26 – 50 of 98) sorted by relevance

1234

/Linux-v6.6/drivers/perf/hisilicon/
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()
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()
Dhns3_pmu.c914 struct hw_perf_event *hwc = &event->hw; in hns3_pmu_set_func_mode() local
929 struct hw_perf_event *hwc = &event->hw; in hns3_pmu_set_func_queue_mode() local
1026 struct hw_perf_event *hwc = &event->hw; in hns3_pmu_select_filter_mode() local
1101 struct hw_perf_event *hwc = &event->hw; in hns3_pmu_get_filter_condition() local
1132 struct hw_perf_event *hwc = &event->hw; in hns3_pmu_config_filter() local
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() local
[all …]
/Linux-v6.6/arch/arc/kernel/
Dperf_event.c281 struct hw_perf_event *hwc, int idx) in arc_perf_event_update()
331 struct hw_perf_event *hwc = &event->hw; in arc_pmu_event_init() local
407 struct hw_perf_event *hwc = &event->hw; in arc_pmu_event_set_period() local
453 struct hw_perf_event *hwc = &event->hw; in arc_pmu_start() local
478 struct hw_perf_event *hwc = &event->hw; in arc_pmu_stop() local
525 struct hw_perf_event *hwc = &event->hw; in arc_pmu_add() local
580 struct hw_perf_event *hwc; in arc_pmu_intr() local
/Linux-v6.6/arch/s390/kernel/
Dperf_cpum_sf.c384 static unsigned long sfb_max_limit(struct hw_perf_event *hwc) in sfb_max_limit()
391 struct hw_perf_event *hwc) in sfb_pending_allocs()
401 struct hw_perf_event *hwc) in sfb_has_pending_allocs()
406 static void sfb_account_allocs(unsigned long num, struct hw_perf_event *hwc) in sfb_account_allocs()
414 static void sfb_init_allocs(unsigned long num, struct hw_perf_event *hwc) in sfb_init_allocs()
426 static int allocate_buffers(struct cpu_hw_sf *cpuhw, struct hw_perf_event *hwc) in allocate_buffers()
516 struct hw_perf_event *hwc) in sfb_account_overflows()
555 struct hw_perf_event *hwc) in extend_sampling_buffer()
655 static void hw_init_period(struct hw_perf_event *hwc, u64 period) in hw_init_period()
784 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init_rate() local
[all …]
/Linux-v6.6/drivers/dma/idxd/
Dperfmon.c127 struct hw_perf_event *hwc = &event->hw; in perfmon_assign_hw_event() local
232 struct hw_perf_event *hwc = &event->hw; in perfmon_pmu_read_counter() local
246 struct hw_perf_event *hwc = &event->hw; in perfmon_pmu_event_update() local
324 struct hw_perf_event *hwc = &event->hw; in perfmon_pmu_event_start() local
374 struct hw_perf_event *hwc = &event->hw; in perfmon_pmu_event_stop() local
412 struct hw_perf_event *hwc = &event->hw; in perfmon_pmu_event_add() local
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_pmu.c211 struct hw_perf_event *hwc = &event->hw; in amdgpu_perf_event_init() local
227 struct hw_perf_event *hwc = &event->hw; in amdgpu_perf_start() local
269 struct hw_perf_event *hwc = &event->hw; in amdgpu_perf_read() local
299 struct hw_perf_event *hwc = &event->hw; in amdgpu_perf_stop() local
334 struct hw_perf_event *hwc = &event->hw; in amdgpu_perf_add() local
385 struct hw_perf_event *hwc = &event->hw; in amdgpu_perf_del() local
/Linux-v6.6/arch/x86/events/intel/
Duncore_nhmex.c247 struct hw_perf_event *hwc = &event->hw; in nhmex_uncore_msr_enable_event() local
352 struct hw_perf_event *hwc = &event->hw; in nhmex_bbox_hw_config() local
379 struct hw_perf_event *hwc = &event->hw; in nhmex_bbox_msr_enable_event() local
443 struct hw_perf_event *hwc = &event->hw; in nhmex_sbox_hw_config() local
464 struct hw_perf_event *hwc = &event->hw; in nhmex_sbox_msr_enable_event() local
631 struct hw_perf_event *hwc = &event->hw; in nhmex_mbox_alter_er() local
837 struct hw_perf_event *hwc = &event->hw; in nhmex_mbox_msr_enable_event() local
946 struct hw_perf_event *hwc = &event->hw; in nhmex_rbox_alter_er() local
980 struct hw_perf_event *hwc = &event->hw; in nhmex_rbox_get_constraint() local
1088 struct hw_perf_event *hwc = &event->hw; in nhmex_rbox_hw_config() local
[all …]
Dp6.c161 struct hw_perf_event *hwc = &event->hw; in p6_pmu_disable_event() local
169 struct hw_perf_event *hwc = &event->hw; in p6_pmu_enable_event() local
/Linux-v6.6/drivers/perf/
Dmarvell_cn10k_tad_pmu.c45 struct hw_perf_event *hwc = &event->hw; in tad_pmu_event_counter_read() local
63 struct hw_perf_event *hwc = &event->hw; in tad_pmu_event_counter_stop() local
82 struct hw_perf_event *hwc = &event->hw; in tad_pmu_event_counter_start() local
108 struct hw_perf_event *hwc = &event->hw; in tad_pmu_event_counter_del() local
119 struct hw_perf_event *hwc = &event->hw; in tad_pmu_event_counter_add() local
Dqcom_l2_pmu.c299 struct hw_perf_event *hwc = &event->hw; in l2_cache_event_update() local
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() local
377 struct hw_perf_event *hwc = &event->hw; in l2_cache_clear_event_idx() local
398 struct hw_perf_event *hwc; in l2_cache_handle_irq() local
440 struct hw_perf_event *hwc = &event->hw; in l2_cache_event_init() local
544 struct hw_perf_event *hwc = &event->hw; in l2_cache_event_start() local
574 struct hw_perf_event *hwc = &event->hw; in l2_cache_event_stop() local
590 struct hw_perf_event *hwc = &event->hw; in l2_cache_event_add() local
617 struct hw_perf_event *hwc = &event->hw; in l2_cache_event_del() local
Dmarvell_cn10k_ddr_pmu.c326 struct hw_perf_event *hwc = &event->hw; in cn10k_ddr_perf_event_init() local
409 struct hw_perf_event *hwc = &event->hw; in cn10k_ddr_perf_event_update() local
425 struct hw_perf_event *hwc = &event->hw; in cn10k_ddr_perf_event_start() local
438 struct hw_perf_event *hwc = &event->hw; in cn10k_ddr_perf_event_add() local
484 struct hw_perf_event *hwc = &event->hw; in cn10k_ddr_perf_event_stop() local
498 struct hw_perf_event *hwc = &event->hw; in cn10k_ddr_perf_event_del() local
530 struct hw_perf_event *hwc; in cn10k_ddr_perf_event_update_all() local
553 struct hw_perf_event *hwc; in cn10k_ddr_pmu_overflow_handler() local
Dfsl_imx9_ddr_perf.c402 struct hw_perf_event *hwc = &event->hw; in ddr_perf_event_update() local
416 struct hw_perf_event *hwc = &event->hw; in ddr_perf_event_init() local
454 struct hw_perf_event *hwc = &event->hw; in ddr_perf_event_start() local
466 struct hw_perf_event *hwc = &event->hw; in ddr_perf_event_add() local
491 struct hw_perf_event *hwc = &event->hw; in ddr_perf_event_stop() local
503 struct hw_perf_event *hwc = &event->hw; in ddr_perf_event_del() local
Darm_pmu.c203 struct hw_perf_event *hwc = &event->hw; in armpmu_event_set_period() local
245 struct hw_perf_event *hwc = &event->hw; in armpmu_event_update() local
275 struct hw_perf_event *hwc = &event->hw; in armpmu_stop() local
291 struct hw_perf_event *hwc = &event->hw; in armpmu_start() local
317 struct hw_perf_event *hwc = &event->hw; in armpmu_del() local
333 struct hw_perf_event *hwc = &event->hw; in armpmu_add() local
447 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init() local
Driscv_pmu_sbi.c343 struct hw_perf_event *hwc = &event->hw; in pmu_sbi_ctr_get_idx() local
402 struct hw_perf_event *hwc = &event->hw; in pmu_sbi_ctr_clear_idx() local
488 struct hw_perf_event *hwc = &event->hw; in pmu_sbi_ctr_read() local
530 struct hw_perf_event *hwc = &event->hw; in pmu_sbi_ctr_start() local
553 struct hw_perf_event *hwc = &event->hw; in pmu_sbi_ctr_stop() local
643 struct hw_perf_event *hwc; in pmu_sbi_start_overflow_mask() local
Dfsl_imx8_ddr_perf.c374 struct hw_perf_event *hwc = &event->hw; in ddr_perf_event_init() local
478 struct hw_perf_event *hwc = &event->hw; in ddr_perf_event_update() local
512 struct hw_perf_event *hwc = &event->hw; in ddr_perf_event_start() local
529 struct hw_perf_event *hwc = &event->hw; in ddr_perf_event_add() local
570 struct hw_perf_event *hwc = &event->hw; in ddr_perf_event_stop() local
586 struct hw_perf_event *hwc = &event->hw; in ddr_perf_event_del() local
Darm_smmuv3_pmu.c256 struct hw_perf_event *hwc = &event->hw; in smmu_pmu_event_update() local
274 struct hw_perf_event *hwc) in smmu_pmu_set_period()
397 struct hw_perf_event *hwc = &event->hw; in smmu_pmu_event_init() local
459 struct hw_perf_event *hwc = &event->hw; in smmu_pmu_event_start() local
472 struct hw_perf_event *hwc = &event->hw; in smmu_pmu_event_stop() local
486 struct hw_perf_event *hwc = &event->hw; in smmu_pmu_event_add() local
512 struct hw_perf_event *hwc = &event->hw; in smmu_pmu_event_del() local
701 struct hw_perf_event *hwc; in smmu_pmu_handle_irq() local
/Linux-v6.6/arch/mips/kernel/
Dperf_event_mipsxx.c315 struct hw_perf_event *hwc) in mipsxx_pmu_alloc_counter()
410 struct hw_perf_event *hwc, in mipspmu_event_set_period()
450 struct hw_perf_event *hwc, in mipspmu_event_update()
472 struct hw_perf_event *hwc = &event->hw; in mipspmu_start() local
488 struct hw_perf_event *hwc = &event->hw; in mipspmu_stop() local
502 struct hw_perf_event *hwc = &event->hw; in mipspmu_add() local
538 struct hw_perf_event *hwc = &event->hw; in mipspmu_del() local
552 struct hw_perf_event *hwc = &event->hw; in mipspmu_read() local
787 struct hw_perf_event *hwc = &event->hw; in handle_associated_event() local
1474 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init() local
/Linux-v6.6/arch/x86/events/amd/
Duncore.c84 struct hw_perf_event *hwc = &event->hw; in amd_uncore_read() local
103 struct hw_perf_event *hwc = &event->hw; in amd_uncore_start() local
115 struct hw_perf_event *hwc = &event->hw; in amd_uncore_stop() local
130 struct hw_perf_event *hwc = &event->hw; in amd_uncore_add() local
181 struct hw_perf_event *hwc = &event->hw; in amd_uncore_del() local
221 struct hw_perf_event *hwc = &event->hw; in amd_uncore_event_init() local
Dpower.c45 struct hw_perf_event *hwc = &event->hw; in event_update() local
89 struct hw_perf_event *hwc = &event->hw; in pmu_event_stop() local
108 struct hw_perf_event *hwc = &event->hw; in pmu_event_add() local
Dibs.c101 perf_event_set_period(struct hw_perf_event *hwc, u64 min, u64 max, u64 *hw_period) in perf_event_set_period()
146 struct hw_perf_event *hwc = &event->hw; in perf_event_try_update() local
273 struct hw_perf_event *hwc = &event->hw; in perf_ibs_init() local
332 struct hw_perf_event *hwc, u64 *period) in perf_ibs_set_period()
389 struct hw_perf_event *hwc, u64 config) in perf_ibs_enable_event()
407 struct hw_perf_event *hwc, u64 config) in perf_ibs_disable_event()
424 struct hw_perf_event *hwc = &event->hw; in perf_ibs_start() local
455 struct hw_perf_event *hwc = &event->hw; in perf_ibs_stop() local
1023 struct hw_perf_event *hwc; in perf_ibs_handle_irq() local
/Linux-v6.6/drivers/iommu/intel/
Dperfmon.c300 struct hw_perf_event *hwc = &event->hw; in iommu_pmu_event_init() local
323 struct hw_perf_event *hwc = &event->hw; in iommu_pmu_event_update() local
347 struct hw_perf_event *hwc = &event->hw; in iommu_pmu_start() local
384 struct hw_perf_event *hwc = &event->hw; in iommu_pmu_stop() local
411 struct hw_perf_event *hwc = &event->hw; in iommu_pmu_assign_event() local
457 struct hw_perf_event *hwc = &event->hw; in iommu_pmu_add() local
/Linux-v6.6/arch/x86/events/
Dcore.c117 struct hw_perf_event *hwc = &event->hw; in x86_perf_event_update() local
360 set_ext_hw_attr(struct hw_perf_event *hwc, struct perf_event *event) in set_ext_hw_attr()
477 struct hw_perf_event *hwc = &event->hw; in x86_setup_perfctr() local
683 struct hw_perf_event *hwc = &cpuc->events[idx]->hw; in x86_pmu_disable_all() local
740 struct hw_perf_event *hwc = &cpuc->events[idx]->hw; in x86_pmu_enable_all() local
982 struct hw_perf_event *hwc; in x86_schedule_events() local
1215 struct hw_perf_event *hwc = &event->hw; in x86_assign_hw_event() local
1272 static inline int match_prev_assignment(struct hw_perf_event *hwc, in match_prev_assignment()
1287 struct hw_perf_event *hwc; in x86_pmu_enable() local
1367 struct hw_perf_event *hwc = &event->hw; in x86_perf_event_set_period() local
[all …]
/Linux-v6.6/arch/sparc/kernel/
Dperf_event.c827 static inline void sparc_pmu_enable_event(struct cpu_hw_events *cpuc, struct hw_perf_event *hwc, in… in sparc_pmu_enable_event()
845 static inline void sparc_pmu_disable_event(struct cpu_hw_events *cpuc, struct hw_perf_event *hwc, i… in sparc_pmu_disable_event()
864 struct hw_perf_event *hwc, int idx) in sparc_perf_event_update()
888 struct hw_perf_event *hwc, int idx) in sparc_perf_event_set_period()
957 struct hw_perf_event *hwc = &cp->hw; in calculate_single_pcr() local
992 struct hw_perf_event *hwc = &cp->hw; in calculate_multiple_pcrs() local
1153 struct hw_perf_event *hwc = &event->hw; in sparc_pmu_read() local
1419 struct hw_perf_event *hwc = &event->hw; in sparc_pmu_event_init() local
1655 struct hw_perf_event *hwc; in perf_event_nmi_handler() local
/Linux-v6.6/arch/sh/kernel/cpu/sh4/
Dperf_event.c208 static void sh7750_pmu_disable(struct hw_perf_event *hwc, int idx) in sh7750_pmu_disable()
217 static void sh7750_pmu_enable(struct hw_perf_event *hwc, int idx) in sh7750_pmu_enable()

1234