Home
last modified time | relevance | path

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

1234

/linux/drivers/net/ethernet/microsoft/mana/
A Dhw_channel.c7 static int mana_hwc_get_msg_index(struct hw_channel_context *hwc, u16 *msg_id) in mana_hwc_get_msg_index()
106 struct hw_channel_context *hwc = ctx; in mana_hwc_init_event_handler() local
178 struct hw_channel_context *hwc = ctx; in mana_hwc_rx_event_handler() local
224 struct hw_channel_context *hwc = ctx; in mana_hwc_tx_event_handler() local
230 static int mana_hwc_create_gdma_wq(struct hw_channel_context *hwc, in mana_hwc_create_gdma_wq()
246 static int mana_hwc_create_gdma_cq(struct hw_channel_context *hwc, in mana_hwc_create_gdma_cq()
443 static void mana_hwc_destroy_wq(struct hw_channel_context *hwc, in mana_hwc_destroy_wq()
455 static int mana_hwc_create_wq(struct hw_channel_context *hwc, in mana_hwc_create_wq()
593 struct hw_channel_context *hwc = gc->hwc.driver_data; in mana_hwc_establish_channel() local
679 struct hw_channel_context *hwc; in mana_hwc_create_channel() local
[all …]
/linux/arch/s390/include/asm/
A Dperf_event.h68 #define OVERFLOW_REG(hwc) ((hwc)->extra_reg.config) argument
69 #define SFB_ALLOC_REG(hwc) ((hwc)->extra_reg.alloc) argument
70 #define TEAR_REG(hwc) ((hwc)->last_tag) argument
71 #define SAMPL_RATE(hwc) ((hwc)->event_base) argument
72 #define SAMPL_FLAGS(hwc) ((hwc)->config_base) argument
73 #define SAMPL_DIAG_MODE(hwc) (SAMPL_FLAGS(hwc) & PERF_CPUM_SF_DIAG_MODE) argument
74 #define SDB_FULL_BLOCKS(hwc) (SAMPL_FLAGS(hwc) & PERF_CPUM_SF_FULL_BLOCKS) argument
75 #define SAMPLE_FREQ_MODE(hwc) (SAMPL_FLAGS(hwc) & PERF_CPUM_SF_FREQ_MODE) argument
/linux/drivers/perf/hisilicon/
A Dhisi_uncore_ddrc_pmu.c82 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()
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()
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()
238 struct hw_perf_event *hwc) in hisi_ddrc_pmu_v1_disable_counter_int()
249 struct hw_perf_event *hwc) in hisi_ddrc_pmu_v2_enable_counter_int()
[all …]
A Dhisi_uncore_pmu.c187 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_event_init() local
243 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_enable_event() local
261 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_disable_event() local
273 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_set_event_period() local
293 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_event_update() local
314 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_start() local
336 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_stop() local
354 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_add() local
377 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_del() local
A 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()
A Dhisi_uncore_pa_pmu.c145 struct hw_perf_event *hwc) in hisi_pa_pmu_read_counter()
151 struct hw_perf_event *hwc, u64 val) in hisi_pa_pmu_write_counter()
198 struct hw_perf_event *hwc) in hisi_pa_pmu_enable_counter()
209 struct hw_perf_event *hwc) in hisi_pa_pmu_disable_counter()
220 struct hw_perf_event *hwc) in hisi_pa_pmu_enable_counter_int()
231 struct hw_perf_event *hwc) in hisi_pa_pmu_disable_counter_int()
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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
A Dhw_table.c35 struct mlx5_sf_hwc_table hwc[MLX5_SF_HWC_MAX]; member
48 struct mlx5_sf_hwc_table *hwc; in mlx5_sf_sw_to_hw_id() local
54 static u16 mlx5_sf_hw_to_sw_id(struct mlx5_sf_hwc_table *hwc, u16 hw_id) in mlx5_sf_hw_to_sw_id()
76 struct mlx5_sf_hwc_table *hwc; in mlx5_sf_hw_table_id_alloc() local
104 struct mlx5_sf_hwc_table *hwc; in mlx5_sf_hw_table_id_free() local
172 struct mlx5_sf_hwc_table *hwc, int idx) in mlx5_sf_hw_table_hwc_sf_free()
184 struct mlx5_sf_hwc_table *hwc; in mlx5_sf_hw_table_sf_deferred_free() local
208 struct mlx5_sf_hwc_table *hwc) in mlx5_sf_hw_table_hwc_dealloc_all()
224 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()
241 static void mlx5_sf_hw_table_hwc_cleanup(struct mlx5_sf_hwc_table *hwc) in mlx5_sf_hw_table_hwc_cleanup()
[all …]
/linux/drivers/iio/buffer/
A 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/arch/riscv/kernel/
A Dperf_event.c216 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_read() local
253 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_stop() local
269 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_start() local
300 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_add() local
331 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_del() local
387 struct hw_perf_event *hwc = &event->hw; in riscv_event_init() local
/linux/arch/alpha/kernel/
A 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
810 struct hw_perf_event *hwc; in alpha_perf_event_irq_handler() local
/linux/arch/arm/kernel/
A Dperf_event_xscale.c175 struct hw_perf_event *hwc; in xscale1pmu_handle_irq() local
208 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_enable_event() local
244 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_disable_event() local
278 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_get_event_idx() local
327 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_read_counter() local
348 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_write_counter() local
521 struct hw_perf_event *hwc; in xscale2pmu_handle_irq() local
554 struct hw_perf_event *hwc = &event->hw; in xscale2pmu_enable_event() local
600 struct hw_perf_event *hwc = &event->hw; in xscale2pmu_disable_event() local
690 struct hw_perf_event *hwc = &event->hw; in xscale2pmu_read_counter() local
[all …]
A Dperf_event_v6.c238 struct hw_perf_event *hwc = &event->hw; in armv6pmu_read_counter() local
256 struct hw_perf_event *hwc = &event->hw; in armv6pmu_write_counter() local
273 struct hw_perf_event *hwc = &event->hw; in armv6pmu_enable_event() local
328 struct hw_perf_event *hwc; in armv6pmu_handle_irq() local
391 struct hw_perf_event *hwc = &event->hw; in armv6pmu_get_event_idx() local
424 struct hw_perf_event *hwc = &event->hw; in armv6pmu_disable_event() local
459 struct hw_perf_event *hwc = &event->hw; in armv6mpcore_pmu_disable_event() local
A Dperf_event_v7.c749 struct hw_perf_event *hwc = &event->hw; in armv7pmu_read_counter() local
769 struct hw_perf_event *hwc = &event->hw; in armv7pmu_write_counter() local
874 struct hw_perf_event *hwc = &event->hw; in armv7pmu_enable_event() local
920 struct hw_perf_event *hwc = &event->hw; in armv7pmu_disable_event() local
975 struct hw_perf_event *hwc; in armv7pmu_handle_irq() local
1037 struct hw_perf_event *hwc = &event->hw; in armv7pmu_get_event_idx() local
1496 struct hw_perf_event *hwc = &event->hw; in krait_pmu_disable_event() local
1522 struct hw_perf_event *hwc = &event->hw; in krait_pmu_enable_event() local
1584 struct hw_perf_event *hwc = &event->hw; in krait_event_to_bit() local
1611 struct hw_perf_event *hwc = &event->hw; in krait_pmu_get_event_idx() local
[all …]
/linux/arch/sh/kernel/
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/arch/nds32/kernel/
A Dperf_event_cpu.c186 struct hw_perf_event *hwc = &event->hw; in nds32_pmu_event_set_period() local
252 struct hw_perf_event *hwc; in nds32_pmu_handle_irq() local
416 struct hw_perf_event *hwc = &event->hw; in nds32_pmu_enable_event() local
467 struct hw_perf_event *hwc = &event->hw; in nds32_pmu_disable_event() local
498 struct hw_perf_event *hwc = &event->hw; in nds32_pmu_read_counter() local
527 struct hw_perf_event *hwc = &event->hw; in nds32_pmu_write_counter() local
555 struct hw_perf_event *hwc = &event->hw; in nds32_pmu_get_event_idx() local
799 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init() local
891 struct hw_perf_event *hwc = &event->hw; in nds32_start() local
910 struct hw_perf_event *hwc = &event->hw; in nds32_pmu_add() local
[all …]
/linux/arch/x86/events/amd/
A Dcore.c312 static inline unsigned int amd_get_event_code(struct hw_perf_event *hwc) in amd_get_event_code()
317 static inline bool amd_is_pair_event_code(struct hw_perf_event *hwc) in amd_is_pair_event_code()
349 static inline int amd_is_nb_event(struct hw_perf_event *hwc) in amd_is_nb_event()
442 struct hw_perf_event *hwc = &event->hw; in __amd_get_nb_event_constraints() local
808 struct hw_perf_event *hwc = &event->hw; in amd_get_event_constraints_f15h() local
883 struct hw_perf_event *hwc = &event->hw; in amd_get_event_constraints_f17h() local
894 struct hw_perf_event *hwc = &event->hw; in amd_put_event_constraints_f17h() local
A 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
A Dibs.c105 perf_event_set_period(struct hw_perf_event *hwc, u64 min, u64 max, u64 *hw_period) in perf_event_set_period()
150 struct hw_perf_event *hwc = &event->hw; in perf_event_try_update() local
252 struct hw_perf_event *hwc = &event->hw; in perf_ibs_init() local
311 struct hw_perf_event *hwc, u64 *period) in perf_ibs_set_period()
368 struct hw_perf_event *hwc, u64 config) in perf_ibs_enable_event()
386 struct hw_perf_event *hwc, u64 config) in perf_ibs_disable_event()
403 struct hw_perf_event *hwc = &event->hw; in perf_ibs_start() local
434 struct hw_perf_event *hwc = &event->hw; in perf_ibs_stop() local
589 struct hw_perf_event *hwc; in perf_ibs_handle_irq() local
/linux/drivers/perf/
A 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
574 struct hw_perf_event *hwc = &event->hw; in tx2_uncore_event_init() local
[all …]
/linux/arch/xtensa/kernel/
A Dperf_event.c137 struct hw_perf_event *hwc, int idx) in xtensa_perf_event_update()
155 struct hw_perf_event *hwc, int idx) in xtensa_perf_event_set_period()
242 struct hw_perf_event *hwc = &event->hw; in xtensa_pmu_start() local
260 struct hw_perf_event *hwc = &event->hw; in xtensa_pmu_stop() local
284 struct hw_perf_event *hwc = &event->hw; in xtensa_pmu_add() local
368 struct hw_perf_event *hwc = &event->hw; in xtensa_pmu_irq_handler() local
/linux/arch/x86/events/intel/
A Duncore_discovery.c358 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_msr_enable_event() local
366 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_msr_disable_event() local
409 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_enable_event() local
418 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_disable_event() local
427 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_read_counter() local
500 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_mmio_enable_event() local
511 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_mmio_disable_event() local
/linux/arch/arc/kernel/
A Dperf_event.c119 struct hw_perf_event *hwc, int idx) in arc_perf_event_update()
169 struct hw_perf_event *hwc = &event->hw; in arc_pmu_event_init() local
245 struct hw_perf_event *hwc = &event->hw; in arc_pmu_event_set_period() local
291 struct hw_perf_event *hwc = &event->hw; in arc_pmu_start() local
316 struct hw_perf_event *hwc = &event->hw; in arc_pmu_stop() local
363 struct hw_perf_event *hwc = &event->hw; in arc_pmu_add() local
418 struct hw_perf_event *hwc; in arc_pmu_intr() local
/linux/arch/s390/kernel/
A Dperf_cpum_sf.c331 static unsigned long sfb_max_limit(struct hw_perf_event *hwc) in sfb_max_limit()
338 struct hw_perf_event *hwc) in sfb_pending_allocs()
348 struct hw_perf_event *hwc) in sfb_has_pending_allocs()
361 static void sfb_init_allocs(unsigned long num, struct hw_perf_event *hwc) in sfb_init_allocs()
463 struct hw_perf_event *hwc) in sfb_account_overflows()
502 struct hw_perf_event *hwc) in extend_sampling_buffer()
613 static void hw_init_period(struct hw_perf_event *hwc, u64 period) in hw_init_period()
741 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init_rate() local
769 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init() local
944 struct hw_perf_event *hwc; in cpumsf_pmu_enable() local
[all …]
/linux/arch/x86/events/zhaoxin/
A Dcore.c289 static void zhaoxin_pmu_disable_fixed(struct hw_perf_event *hwc) in zhaoxin_pmu_disable_fixed()
303 struct hw_perf_event *hwc = &event->hw; in zhaoxin_pmu_disable_event() local
313 static void zhaoxin_pmu_enable_fixed(struct hw_perf_event *hwc) in zhaoxin_pmu_enable_fixed()
340 struct hw_perf_event *hwc = &event->hw; in zhaoxin_pmu_enable_event() local

Completed in 69 milliseconds

1234