Home
last modified time | relevance | path

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

12345

/linux-6.12.1/drivers/net/ethernet/microsoft/mana/
Dhw_channel.c8 static int mana_hwc_get_msg_index(struct hw_channel_context *hwc, u16 *msg_id) in mana_hwc_get_msg_index()
30 static void mana_hwc_put_msg_index(struct hw_channel_context *hwc, u16 msg_id) in mana_hwc_put_msg_index()
78 static void mana_hwc_handle_resp(struct hw_channel_context *hwc, u32 resp_len, in mana_hwc_handle_resp()
115 struct hw_channel_context *hwc = ctx; in mana_hwc_init_event_handler() local
213 struct hw_channel_context *hwc = ctx; in mana_hwc_rx_event_handler() local
257 struct hw_channel_context *hwc = ctx; in mana_hwc_tx_event_handler() local
263 static int mana_hwc_create_gdma_wq(struct hw_channel_context *hwc, in mana_hwc_create_gdma_wq()
279 static int mana_hwc_create_gdma_cq(struct hw_channel_context *hwc, in mana_hwc_create_gdma_cq()
297 static int mana_hwc_create_gdma_eq(struct hw_channel_context *hwc, in mana_hwc_create_gdma_eq()
357 static int mana_hwc_create_cq(struct hw_channel_context *hwc, u16 q_depth, in mana_hwc_create_cq()
[all …]
/linux-6.12.1/drivers/perf/hisilicon/
Dhisi_uncore_ddrc_pmu.c59 #define GET_DDRC_EVENTID(hwc) (hwc->config_base & 0x7) argument
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() local
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()
[all …]
Dhisi_uncore_pmu.c172 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_event_init() local
231 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_enable_event() local
249 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_disable_event() local
261 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_set_event_period() local
281 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_event_update() local
302 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_start() local
324 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_stop() local
342 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_add() local
365 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_del() local
Dhisi_uncore_uc_pmu.c263 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()
299 struct hw_perf_event *hwc, u64 val) in hisi_uc_pmu_write_counter_normal()
305 struct hw_perf_event *hwc, u64 val) in hisi_uc_pmu_write_counter_quirk_v2()
313 struct hw_perf_event *hwc, u64 val) in hisi_uc_pmu_write_counter()
337 struct hw_perf_event *hwc) in hisi_uc_pmu_enable_counter_int()
347 struct hw_perf_event *hwc) in hisi_uc_pmu_disable_counter_int()
Dhisi_uncore_cpa_pmu.c50 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()
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 …]
Dhisi_uncore_l3c_pmu.c108 struct hw_perf_event *hwc = &event->hw; in hisi_l3c_pmu_write_ds() local
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()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/sf/
Dhw_table.c36 struct mlx5_sf_hwc_table hwc[MLX5_SF_HWC_MAX]; member
49 struct mlx5_sf_hwc_table *hwc; in mlx5_sf_sw_to_hw_id() local
55 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
105 struct mlx5_sf_hwc_table *hwc; in mlx5_sf_hw_table_id_free() local
173 struct mlx5_sf_hwc_table *hwc, int idx) in mlx5_sf_hw_table_hwc_sf_free()
185 struct mlx5_sf_hwc_table *hwc; in mlx5_sf_hw_table_sf_deferred_free() local
209 struct mlx5_sf_hwc_table *hwc) in mlx5_sf_hw_table_hwc_dealloc_all()
225 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()
242 static void mlx5_sf_hw_table_hwc_cleanup(struct mlx5_sf_hwc_table *hwc) in mlx5_sf_hw_table_hwc_cleanup()
[all …]
/linux-6.12.1/drivers/perf/
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
Darm_xscale_pmu.c175 struct hw_perf_event *hwc; in xscale1pmu_handle_irq() local
207 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_enable_event() local
239 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_disable_event() local
270 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_get_event_idx() local
313 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_read_counter() local
334 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_write_counter() local
508 struct hw_perf_event *hwc; in xscale2pmu_handle_irq() local
540 struct hw_perf_event *hwc = &event->hw; in xscale2pmu_enable_event() local
582 struct hw_perf_event *hwc = &event->hw; in xscale2pmu_disable_event() local
663 struct hw_perf_event *hwc = &event->hw; in xscale2pmu_read_counter() local
[all …]
Dthunderx2_pmu.c325 struct hw_perf_event *hwc = &event->hw; in init_cntr_base_l3c() local
341 struct hw_perf_event *hwc = &event->hw; in init_cntr_base_dmc() local
357 struct hw_perf_event *hwc = &event->hw; in init_cntr_base_ccpi2() local
370 struct hw_perf_event *hwc = &event->hw; in uncore_start_event_l3c() local
391 struct hw_perf_event *hwc = &event->hw; in uncore_start_event_dmc() local
416 struct hw_perf_event *hwc = &event->hw; in uncore_stop_event_dmc() local
433 struct hw_perf_event *hwc = &event->hw; in uncore_start_event_ccpi2() local
457 struct hw_perf_event *hwc = &event->hw; in uncore_stop_event_ccpi2() local
466 struct hw_perf_event *hwc = &event->hw; in tx2_uncore_event_update() local
569 struct hw_perf_event *hwc = &event->hw; in tx2_uncore_event_init() local
[all …]
Dstarfive_starlink_pmu.c158 struct hw_perf_event *hwc = &event->hw; in starlink_pmu_set_event_period() local
178 struct hw_perf_event *hwc = &event->hw; in starlink_pmu_counter_start() local
215 struct hw_perf_event *hwc = &event->hw; in starlink_pmu_counter_stop() local
235 struct hw_perf_event *hwc = &event->hw; in starlink_pmu_update() local
261 struct hw_perf_event *hwc = &event->hw; in starlink_pmu_start() local
280 struct hw_perf_event *hwc = &event->hw; in starlink_pmu_stop() local
295 struct hw_perf_event *hwc = &event->hw; in starlink_pmu_add() local
335 struct hw_perf_event *hwc = &event->hw; in starlink_pmu_del() local
371 struct hw_perf_event *hwc = &event->hw; in starlink_pmu_event_init() local
Darm_v6_pmu.c174 struct hw_perf_event *hwc = &event->hw; in armv6pmu_read_counter() local
192 struct hw_perf_event *hwc = &event->hw; in armv6pmu_write_counter() local
208 struct hw_perf_event *hwc = &event->hw; in armv6pmu_enable_event() local
260 struct hw_perf_event *hwc; in armv6pmu_handle_irq() local
317 struct hw_perf_event *hwc = &event->hw; in armv6pmu_get_event_idx() local
349 struct hw_perf_event *hwc = &event->hw; in armv6pmu_disable_event() local
Darm_v7_pmu.c733 struct hw_perf_event *hwc = &event->hw; in armv7pmu_read_counter() local
753 struct hw_perf_event *hwc = &event->hw; in armv7pmu_write_counter() local
850 struct hw_perf_event *hwc = &event->hw; in armv7pmu_enable_event() local
891 struct hw_perf_event *hwc = &event->hw; in armv7pmu_disable_event() local
942 struct hw_perf_event *hwc; in armv7pmu_handle_irq() local
994 struct hw_perf_event *hwc = &event->hw; in armv7pmu_get_event_idx() local
1456 struct hw_perf_event *hwc = &event->hw; in krait_pmu_disable_event() local
1476 struct hw_perf_event *hwc = &event->hw; in krait_pmu_enable_event() local
1533 struct hw_perf_event *hwc = &event->hw; in krait_event_to_bit() local
1560 struct hw_perf_event *hwc = &event->hw; in krait_pmu_get_event_idx() local
[all …]
/linux-6.12.1/drivers/iio/buffer/
Dindustrialio-hw-consumer.c53 struct iio_hw_consumer *hwc, struct iio_dev *indio_dev) in iio_hw_consumer_get_buffer()
86 struct iio_hw_consumer *hwc; in iio_hw_consumer_alloc() local
129 void iio_hw_consumer_free(struct iio_hw_consumer *hwc) in iio_hw_consumer_free()
178 int iio_hw_consumer_enable(struct iio_hw_consumer *hwc) in iio_hw_consumer_enable()
202 void iio_hw_consumer_disable(struct iio_hw_consumer *hwc) in iio_hw_consumer_disable()
/linux-6.12.1/arch/alpha/kernel/
Dperf_event.c253 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() local
436 struct hw_perf_event *hwc = &event->hw; in alpha_pmu_add() local
488 struct hw_perf_event *hwc = &event->hw; in alpha_pmu_del() local
526 struct hw_perf_event *hwc = &event->hw; in alpha_pmu_read() local
534 struct hw_perf_event *hwc = &event->hw; in alpha_pmu_stop() local
554 struct hw_perf_event *hwc = &event->hw; in alpha_pmu_start() local
605 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init() local
806 struct hw_perf_event *hwc; in alpha_perf_event_irq_handler() local
/linux-6.12.1/arch/s390/kernel/
Dperf_cpum_sf.c35 #define OVERFLOW_REG(hwc) ((hwc)->extra_reg.config) argument
36 #define SFB_ALLOC_REG(hwc) ((hwc)->extra_reg.alloc) argument
37 #define TEAR_REG(hwc) ((hwc)->last_tag) argument
38 #define SAMPL_RATE(hwc) ((hwc)->event_base) argument
39 #define SAMPL_FLAGS(hwc) ((hwc)->config_base) argument
40 #define SAMPL_DIAG_MODE(hwc) (SAMPL_FLAGS(hwc) & PERF_CPUM_SF_DIAG_MODE) argument
41 #define SAMPL_FREQ_MODE(hwc) (SAMPL_FLAGS(hwc) & PERF_CPUM_SF_FREQ_MODE) argument
375 static unsigned long sfb_max_limit(struct hw_perf_event *hwc) in sfb_max_limit()
382 struct hw_perf_event *hwc) in sfb_pending_allocs()
391 static void sfb_account_allocs(unsigned long num, struct hw_perf_event *hwc) in sfb_account_allocs()
[all …]
/linux-6.12.1/arch/loongarch/kernel/
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
740 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init() local
/linux-6.12.1/arch/x86/events/amd/
Diommu.c208 struct hw_perf_event *hwc = &event->hw; in perf_iommu_event_init() local
240 struct hw_perf_event *hwc = &ev->hw; in perf_iommu_enable_event() local
270 struct hw_perf_event *hwc = &event->hw; in perf_iommu_disable_event() local
279 struct hw_perf_event *hwc = &event->hw; in perf_iommu_start() local
312 struct hw_perf_event *hwc = &event->hw; in perf_iommu_read() local
331 struct hw_perf_event *hwc = &event->hw; in perf_iommu_stop() local
367 struct hw_perf_event *hwc = &event->hw; in perf_iommu_del() local
Dcore.c346 static inline unsigned int amd_get_event_code(struct hw_perf_event *hwc) in amd_get_event_code()
351 static inline bool amd_is_pair_event_code(struct hw_perf_event *hwc) in amd_is_pair_event_code()
388 static inline int amd_is_nb_event(struct hw_perf_event *hwc) in amd_is_nb_event()
483 struct hw_perf_event *hwc = &event->hw; in __amd_get_nb_event_constraints() local
771 struct hw_perf_event *hwc = &event->hw; in amd_pmu_v2_enable_event() local
947 struct hw_perf_event *hwc; in amd_pmu_v2_handle_irq() local
1149 struct hw_perf_event *hwc = &event->hw; in amd_get_event_constraints_f15h() local
1224 struct hw_perf_event *hwc = &event->hw; in amd_get_event_constraints_f17h() local
1235 struct hw_perf_event *hwc = &event->hw; in amd_put_event_constraints_f17h() local
1265 struct hw_perf_event *hwc = &event->hw; in amd_get_event_constraints_f19h() local
Duncore.c93 struct hw_perf_event *hwc = &event->hw; in amd_uncore_read() local
121 struct hw_perf_event *hwc = &event->hw; in amd_uncore_start() local
133 struct hw_perf_event *hwc = &event->hw; in amd_uncore_stop() local
149 struct hw_perf_event *hwc = &event->hw; in amd_uncore_add() local
196 struct hw_perf_event *hwc = &event->hw; in amd_uncore_del() local
214 struct hw_perf_event *hwc = &event->hw; in amd_uncore_event_init() local
596 struct hw_perf_event *hwc = &event->hw; in amd_uncore_df_event_init() local
612 struct hw_perf_event *hwc = &event->hw; in amd_uncore_df_add() local
735 struct hw_perf_event *hwc = &event->hw; in amd_uncore_l3_event_init() local
870 struct hw_perf_event *hwc = &event->hw; in amd_uncore_umc_event_init() local
[all …]
/linux-6.12.1/arch/sh/kernel/
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-6.12.1/arch/xtensa/kernel/
Dperf_event.c146 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() local
269 struct hw_perf_event *hwc = &event->hw; in xtensa_pmu_stop() local
293 struct hw_perf_event *hwc = &event->hw; in xtensa_pmu_add() local
377 struct hw_perf_event *hwc = &event->hw; in xtensa_pmu_irq_handler() local
/linux-6.12.1/drivers/dma/idxd/
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-6.12.1/arch/x86/events/intel/
Dp4.c856 static inline int p4_pmu_clear_cccr_ovf(struct hw_perf_event *hwc) in p4_pmu_clear_cccr_ovf()
906 struct hw_perf_event *hwc = &event->hw; in p4_pmu_disable_event() local
952 struct hw_perf_event *hwc = &event->hw; in __p4_pmu_enable_event() local
1011 struct hw_perf_event *hwc = &event->hw; in p4_pmu_set_period() local
1037 struct hw_perf_event *hwc; in p4_pmu_handle_irq() local
1100 static void p4_pmu_swap_config_ts(struct hw_perf_event *hwc, int cpu) in p4_pmu_swap_config_ts()
1245 struct hw_perf_event *hwc; in p4_pmu_schedule_events() local

12345