Home
last modified time | relevance | path

Searched defs:hwc (Results 1 – 25 of 63) sorted by relevance

123

/linux/drivers/net/ethernet/microsoft/mana/
H A Dhw_channel.c9 static int mana_hwc_get_msg_index(struct hw_channel_context *hwc, u16 *msg_id) in mana_hwc_get_msg_index()
31 static void mana_hwc_put_msg_index(struct hw_channel_context *hwc, u16 msg_id) in mana_hwc_put_msg_index()
79 static void mana_hwc_handle_resp(struct hw_channel_context *hwc, u32 resp_len, in mana_hwc_handle_resp()
117 struct hw_channel_context *hwc = ctx; in mana_hwc_init_event_handler() local
245 struct hw_channel_context *hwc = ctx; in mana_hwc_rx_event_handler() local
289 struct hw_channel_context *hwc = ctx; in mana_hwc_tx_event_handler() local
295 static int mana_hwc_create_gdma_wq(struct hw_channel_context *hwc, in mana_hwc_create_gdma_wq()
311 static int mana_hwc_create_gdma_cq(struct hw_channel_context *hwc, in mana_hwc_create_gdma_cq()
329 static int mana_hwc_create_gdma_eq(struct hw_channel_context *hwc, in mana_hwc_create_gdma_eq()
389 static int mana_hwc_create_cq(struct hw_channel_context *hwc, u16 q_depth, in mana_hwc_create_cq()
[all …]
/linux/drivers/perf/hisilicon/
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() local
201 struct hw_perf_event *hwc = &event->hw; in hisi_l3c_pmu_clear_req_tracetag() local
222 struct hw_perf_event *hwc = &event->hw; in hisi_l3c_pmu_write_ds() local
245 struct hw_perf_event *hwc = &event->hw; in hisi_l3c_pmu_config_ds() local
263 struct hw_perf_event *hwc = &event->hw; in hisi_l3c_pmu_clear_ds() local
281 struct hw_perf_event *hwc = &event->hw; in hisi_l3c_pmu_config_core_tracetag() local
[all …]
H A Dhisi_uncore_pmu.c209 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_event_init() local
268 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_enable_event() local
286 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_disable_event() local
298 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_set_event_period() local
318 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_event_update() local
339 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_start() local
361 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_stop() local
379 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_add() local
402 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_del() local
H A Dhisi_uncore_ddrc_pmu.c68 #define GET_DDRC_EVENTID(hwc) (hwc->config_base & 0x7) argument
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() local
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_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() local
H A Dhisi_pcie_pmu.c268 struct hw_perf_event *hwc = &event->hw; in hisi_pcie_pmu_config_event_ctrl() local
277 struct hw_perf_event *hwc = &event->hw; in hisi_pcie_pmu_clear_event_ctrl() local
384 struct hw_perf_event *hwc = &event->hw; in hisi_pcie_pmu_event_init() local
448 struct hw_perf_event *hwc = &event->hw; in hisi_pcie_pmu_event_update() local
469 struct hw_perf_event *hwc = &event->hw; in hisi_pcie_pmu_set_period() local
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() local
[all …]
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/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Dhw_table.c34 struct mlx5_sf_hwc_table hwc[MLX5_SF_HWC_MAX]; member
47 struct mlx5_sf_hwc_table *hwc; in mlx5_sf_sw_to_hw_id() local
53 static u16 mlx5_sf_hw_to_sw_id(struct mlx5_sf_hwc_table *hwc, u16 hw_id) in mlx5_sf_hw_to_sw_id()
77 struct mlx5_sf_hwc_table *hwc; in mlx5_sf_hw_table_id_alloc() local
107 struct mlx5_sf_hwc_table *hwc; in mlx5_sf_hw_table_id_free() local
175 struct mlx5_sf_hwc_table *hwc, int idx) in mlx5_sf_hw_table_hwc_sf_free()
187 struct mlx5_sf_hwc_table *hwc; in mlx5_sf_hw_table_sf_deferred_free() local
211 struct mlx5_sf_hwc_table *hwc) in mlx5_sf_hw_table_hwc_dealloc_all()
229 static int mlx5_sf_hw_table_hwc_init(struct mlx5_sf_hwc_table *hwc, u16 max_fn, u16 base_id) in mlx5_sf_hw_table_hwc_init()
246 static void mlx5_sf_hw_table_hwc_cleanup(struct mlx5_sf_hwc_table *hwc) in mlx5_sf_hw_table_hwc_cleanup()
[all …]
/linux/drivers/perf/
H A Driscv_pmu.c149 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_ctr_get_width_mask() local
163 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_event_update() local
189 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_stop() local
204 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_event_set_period() local
242 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_start() local
261 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_add() local
285 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_del() local
306 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_event_init() local
H A Darm_pmu.c207 struct hw_perf_event *hwc = &event->hw; in armpmu_event_set_period() local
249 struct hw_perf_event *hwc = &event->hw; in armpmu_event_update() local
279 struct hw_perf_event *hwc = &event->hw; in armpmu_stop() local
295 struct hw_perf_event *hwc = &event->hw; in armpmu_start() local
321 struct hw_perf_event *hwc = &event->hw; in armpmu_del() local
343 struct hw_perf_event *hwc = &event->hw; in armpmu_add() local
460 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init() local
H A Dfujitsu_uncore_pmu.c197 struct hw_perf_event *hwc = &event->hw; in fujitsu_uncore_event_init() local
230 struct hw_perf_event *hwc = &event->hw; in fujitsu_uncore_event_start() local
238 struct hw_perf_event *hwc = &event->hw; in fujitsu_uncore_event_stop() local
252 struct hw_perf_event *hwc = &event->hw; in fujitsu_uncore_event_add() local
277 struct hw_perf_event *hwc = &event->hw; in fujitsu_uncore_event_del() local
/linux/drivers/iio/buffer/
H A Dindustrialio-hw-consumer.c52 struct iio_hw_consumer *hwc, struct iio_dev *indio_dev) in iio_hw_consumer_get_buffer()
89 struct iio_hw_consumer *hwc; in iio_hw_consumer_alloc() local
132 void iio_hw_consumer_free(struct iio_hw_consumer *hwc) in iio_hw_consumer_free()
181 int iio_hw_consumer_enable(struct iio_hw_consumer *hwc) in iio_hw_consumer_enable()
205 void iio_hw_consumer_disable(struct iio_hw_consumer *hwc) in iio_hw_consumer_disable()
/linux/arch/s390/kernel/
H A Dperf_cpum_sf.c33 #define OVERFLOW_REG(hwc) ((hwc)->extra_reg.config) argument
34 #define SFB_ALLOC_REG(hwc) ((hwc)->extra_reg.alloc) argument
35 #define TEAR_REG(hwc) ((hwc)->last_tag) argument
36 #define SAMPL_RATE(hwc) ((hwc)->event_base) argument
37 #define SAMPL_FLAGS(hwc) ((hwc)->config_base) argument
38 #define SAMPL_DIAG_MODE(hwc) (SAMPL_FLAGS(hwc) & PERF_CPUM_SF_DIAG_MODE) argument
39 #define SAMPL_FREQ_MODE(hwc) (SAMPL_FLAGS(hwc) & PERF_CPUM_SF_FREQ_MODE) argument
361 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()
[all …]
/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()
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() local
374 struct hw_perf_event *hwc = &event->hw; in loongarch_pmu_stop() local
389 struct hw_perf_event *hwc = &event->hw; in loongarch_pmu_add() local
423 struct hw_perf_event *hwc = &event->hw; in loongarch_pmu_del() local
437 struct hw_perf_event *hwc = &event->hw; in loongarch_pmu_read() local
475 struct hw_perf_event *hwc = &event->hw; in handle_associated_event() local
754 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init() local
/linux/arch/x86/events/amd/
H A Diommu.c210 struct hw_perf_event *hwc = &event->hw; in perf_iommu_event_init() local
242 struct hw_perf_event *hwc = &ev->hw; in perf_iommu_enable_event() local
272 struct hw_perf_event *hwc = &event->hw; in perf_iommu_disable_event() local
281 struct hw_perf_event *hwc = &event->hw; in perf_iommu_start() local
314 struct hw_perf_event *hwc = &event->hw; in perf_iommu_read() local
333 struct hw_perf_event *hwc = &event->hw; in perf_iommu_stop() local
369 struct hw_perf_event *hwc = &event->hw; in perf_iommu_del() local
H A Duncore.c137 struct hw_perf_event *hwc = &event->hw; in amd_uncore_read() local
167 struct hw_perf_event *hwc = &event->hw; in amd_uncore_start() local
185 struct hw_perf_event *hwc = &event->hw; in amd_uncore_stop() local
206 struct hw_perf_event *hwc = &event->hw; in amd_uncore_add() local
253 struct hw_perf_event *hwc = &event->hw; in amd_uncore_del() local
271 struct hw_perf_event *hwc = &event->hw; in amd_uncore_event_init() local
656 struct hw_perf_event *hwc = &event->hw; in amd_uncore_df_event_init() local
669 struct hw_perf_event *hwc = &event->hw; in amd_uncore_df_add() local
792 struct hw_perf_event *hwc = &event->hw; in amd_uncore_l3_event_init() local
927 struct hw_perf_event *hwc = &event->hw; in amd_uncore_umc_event_init() local
[all …]
/linux/arch/sh/kernel/
H A Dperf_event.c103 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init() local
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() local
220 struct hw_perf_event *hwc = &event->hw; in sh_pmu_start() local
247 struct hw_perf_event *hwc = &event->hw; in sh_pmu_add() local
/linux/drivers/dma/idxd/
H A Dperfmon.c97 struct hw_perf_event *hwc = &event->hw; in perfmon_assign_hw_event() local
201 struct hw_perf_event *hwc = &event->hw; in perfmon_pmu_read_counter() local
215 struct hw_perf_event *hwc = &event->hw; in perfmon_pmu_event_update() local
293 struct hw_perf_event *hwc = &event->hw; in perfmon_pmu_event_start() local
343 struct hw_perf_event *hwc = &event->hw; in perfmon_pmu_event_stop() local
381 struct hw_perf_event *hwc = &event->hw; in perfmon_pmu_event_add() local
/linux/arch/x86/events/intel/
H A Duncore_discovery.c509 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_msr_enable_event() local
517 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_msr_disable_event() local
534 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_assign_hw_event() local
597 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_enable_event() local
606 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_disable_event() local
615 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_read_counter() local
684 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_mmio_enable_event() local
695 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_mmio_disable_event() local
/linux/drivers/gpu/drm/amd/amdgpu/
H A 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/arch/sparc/kernel/
H A 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/arch/x86/events/
H A Dcore.c130 struct hw_perf_event *hwc = &event->hw; in x86_perf_event_update() local
378 set_ext_hw_attr(struct hw_perf_event *hwc, struct perf_event *event) in set_ext_hw_attr()
495 struct hw_perf_event *hwc = &event->hw; in x86_setup_perfctr() local
711 struct hw_perf_event *hwc = &cpuc->events[idx]->hw; in x86_pmu_disable_all() local
768 struct hw_perf_event *hwc = &cpuc->events[idx]->hw; in x86_pmu_enable_all() local
1010 struct hw_perf_event *hwc; in x86_schedule_events() local
1241 struct hw_perf_event *hwc = &event->hw; in x86_assign_hw_event() local
1301 struct hw_perf_event *hwc = &event->hw; in match_prev_assignment() local
1315 struct hw_perf_event *hwc; in x86_pmu_enable() local
1409 struct hw_perf_event *hwc = &event->hw; in x86_perf_event_set_period() local
[all …]

123