/linux/drivers/net/ethernet/microsoft/mana/ |
H A D | hw_channel.c | 8 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/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
H A D | hw_table.c | 36 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/drivers/perf/ |
H A D | riscv_pmu.c | 149 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 D | arm_xscale_pmu.c | 175 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 …]
|
H A D | starfive_starlink_pmu.c | 158 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
|
H A D | arm_v6_pmu.c | 174 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
|
H A D | arm_smmuv3_pmu.c | 256 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 462 struct hw_perf_event *hwc = &event->hw; in smmu_pmu_event_start() local 475 struct hw_perf_event *hwc = &event->hw; in smmu_pmu_event_stop() local 489 struct hw_perf_event *hwc = &event->hw; in smmu_pmu_event_add() local 515 struct hw_perf_event *hwc = &event->hw; in smmu_pmu_event_del() local 704 struct hw_perf_event *hwc; in smmu_pmu_handle_irq() local
|
H A D | riscv_pmu_sbi.c | 404 struct hw_perf_event *hwc = &event->hw; in pmu_sbi_ctr_get_idx() local 463 struct hw_perf_event *hwc = &event->hw; in pmu_sbi_ctr_clear_idx() local 653 struct hw_perf_event *hwc = &event->hw; in pmu_sbi_ctr_read() local 714 struct hw_perf_event *hwc = &event->hw; in pmu_sbi_ctr_start() local 737 struct hw_perf_event *hwc = &event->hw; in pmu_sbi_ctr_stop() local 874 struct hw_perf_event *hwc; in pmu_sbi_start_ovf_ctrs_sbi() local 912 struct hw_perf_event *hwc; in pmu_sbi_start_ovf_ctrs_snapshot() local
|
/linux/drivers/iio/buffer/ |
H A D | industrialio-hw-consumer.c | 53 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/alpha/kernel/ |
H A D | perf_event.c | 253 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/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() 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/arch/sh/kernel/ |
H A D | perf_event.c | 103 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/perf/hisilicon/ |
H A D | hisi_pcie_pmu.c | 268 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 …]
|
/linux/arch/xtensa/kernel/ |
H A D | perf_event.c | 146 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/drivers/dma/idxd/ |
H A D | perfmon.c | 97 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 D | uncore_discovery.c | 460 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_msr_enable_event() local 468 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_msr_disable_event() local 485 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_assign_hw_event() local 548 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_enable_event() local 557 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_disable_event() local 566 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_read_counter() local 635 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_mmio_enable_event() local 646 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_mmio_disable_event() local
|
H A D | uncore_nhmex.c | 248 struct hw_perf_event *hwc = &event->hw; in nhmex_uncore_msr_enable_event() local 353 struct hw_perf_event *hwc = &event->hw; in nhmex_bbox_hw_config() local 380 struct hw_perf_event *hwc = &event->hw; in nhmex_bbox_msr_enable_event() local 444 struct hw_perf_event *hwc = &event->hw; in nhmex_sbox_hw_config() local 465 struct hw_perf_event *hwc = &event->hw; in nhmex_sbox_msr_enable_event() local 632 struct hw_perf_event *hwc = &event->hw; in nhmex_mbox_alter_er() local 838 struct hw_perf_event *hwc = &event->hw; in nhmex_mbox_msr_enable_event() local 947 struct hw_perf_event *hwc = &event->hw; in nhmex_rbox_alter_er() local 981 struct hw_perf_event *hwc = &event->hw; in nhmex_rbox_get_constraint() local 1089 struct hw_perf_event *hwc = &event->hw; in nhmex_rbox_hw_config() local [all …]
|
/linux/arch/arc/kernel/ |
H A D | perf_event.c | 281 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/arch/x86/events/zhaoxin/ |
H A D | core.c | 289 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
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_pmu.c | 211 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/mips/kernel/ |
H A D | perf_event_mipsxx.c | 315 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/drivers/iommu/intel/ |
H A D | perfmon.c | 281 struct hw_perf_event *hwc = &event->hw; in iommu_pmu_event_init() local 304 struct hw_perf_event *hwc = &event->hw; in iommu_pmu_event_update() local 328 struct hw_perf_event *hwc = &event->hw; in iommu_pmu_start() local 365 struct hw_perf_event *hwc = &event->hw; in iommu_pmu_stop() local 392 struct hw_perf_event *hwc = &event->hw; in iommu_pmu_assign_event() local 438 struct hw_perf_event *hwc = &event->hw; in iommu_pmu_add() local
|
/linux/arch/x86/events/amd/ |
H A D | power.c | 45 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
|
/linux/arch/sparc/kernel/ |
H A D | perf_event.c | 827 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 D | core.c | 120 struct hw_perf_event *hwc = &event->hw; in x86_perf_event_update() local 368 set_ext_hw_attr(struct hw_perf_event *hwc, struct perf_event *event) in set_ext_hw_attr() 485 struct hw_perf_event *hwc = &event->hw; in x86_setup_perfctr() local 691 struct hw_perf_event *hwc = &cpuc->events[idx]->hw; in x86_pmu_disable_all() local 748 struct hw_perf_event *hwc = &cpuc->events[idx]->hw; in x86_pmu_enable_all() local 989 struct hw_perf_event *hwc; in x86_schedule_events() local 1220 struct hw_perf_event *hwc = &event->hw; in x86_assign_hw_event() local 1276 static inline int match_prev_assignment(struct hw_perf_event *hwc, in match_prev_assignment() 1291 struct hw_perf_event *hwc; in x86_pmu_enable() local 1380 struct hw_perf_event *hwc = &event->hw; in x86_perf_event_set_period() local [all …]
|