| /kernel/linux/linux-6.6/drivers/net/ethernet/microsoft/mana/ |
| D | hw_channel.c | 7 static int mana_hwc_get_msg_index(struct hw_channel_context *hwc, u16 *msg_id) in mana_hwc_get_msg_index() 29 static void mana_hwc_put_msg_index(struct hw_channel_context *hwc, u16 msg_id) in mana_hwc_put_msg_index() 77 static void mana_hwc_handle_resp(struct hw_channel_context *hwc, u32 resp_len, in mana_hwc_handle_resp() 114 struct hw_channel_context *hwc = ctx; in mana_hwc_init_event_handler() local 212 struct hw_channel_context *hwc = ctx; in mana_hwc_rx_event_handler() local 256 struct hw_channel_context *hwc = ctx; in mana_hwc_tx_event_handler() local 262 static int mana_hwc_create_gdma_wq(struct hw_channel_context *hwc, in mana_hwc_create_gdma_wq() 278 static int mana_hwc_create_gdma_cq(struct hw_channel_context *hwc, in mana_hwc_create_gdma_cq() 296 static int mana_hwc_create_gdma_eq(struct hw_channel_context *hwc, in mana_hwc_create_gdma_eq() 355 static int mana_hwc_create_cq(struct hw_channel_context *hwc, u16 q_depth, in mana_hwc_create_cq() [all …]
|
| /kernel/linux/linux-5.10/arch/s390/include/asm/ |
| D | perf_event.h | 68 #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
|
| /kernel/linux/linux-6.6/drivers/perf/hisilicon/ |
| D | hisi_uncore_ddrc_pmu.c | 59 #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 …]
|
| D | hisi_uncore_pmu.c | 186 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_event_init() local 245 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_enable_event() local 263 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_disable_event() local 275 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_set_event_period() local 295 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_event_update() local 316 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_start() local 338 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_stop() local 356 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_add() local 379 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_del() local
|
| D | hisi_uncore_cpa_pmu.c | 50 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()
|
| D | hisi_uncore_uc_pmu.c | 263 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()
|
| /kernel/linux/linux-6.6/arch/s390/include/asm/ |
| D | perf_event.h | 67 #define OVERFLOW_REG(hwc) ((hwc)->extra_reg.config) argument 68 #define SFB_ALLOC_REG(hwc) ((hwc)->extra_reg.alloc) argument 69 #define TEAR_REG(hwc) ((hwc)->last_tag) argument 70 #define SAMPL_RATE(hwc) ((hwc)->event_base) argument 71 #define SAMPL_FLAGS(hwc) ((hwc)->config_base) argument 72 #define SAMPL_DIAG_MODE(hwc) (SAMPL_FLAGS(hwc) & PERF_CPUM_SF_DIAG_MODE) argument 73 #define SAMPLE_FREQ_MODE(hwc) (SAMPL_FLAGS(hwc) & PERF_CPUM_SF_FREQ_MODE) argument
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_pmu.c | 48 struct hw_perf_event *hwc = &event->hw; in amdgpu_perf_event_init() local 63 struct hw_perf_event *hwc = &event->hw; in amdgpu_perf_start() local 92 struct hw_perf_event *hwc = &event->hw; in amdgpu_perf_read() local 119 struct hw_perf_event *hwc = &event->hw; in amdgpu_perf_stop() local 148 struct hw_perf_event *hwc = &event->hw; in amdgpu_perf_add() local 179 struct hw_perf_event *hwc = &event->hw; in amdgpu_perf_del() local
|
| /kernel/linux/linux-5.10/drivers/perf/hisilicon/ |
| D | hisi_uncore_pmu.c | 134 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_event_init() local 190 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_enable_event() local 205 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_disable_event() local 214 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_set_event_period() local 234 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_event_update() local 255 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_start() local 277 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_stop() local 295 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_add() local 318 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_del() local
|
| D | hisi_uncore_ddrc_pmu.c | 47 #define GET_DDRC_EVENTID(hwc) (hwc->config_base & 0x7) argument 65 struct hw_perf_event *hwc) in hisi_ddrc_pmu_read_counter() 79 struct hw_perf_event *hwc, u64 val) in hisi_ddrc_pmu_write_counter() 122 struct hw_perf_event *hwc) in hisi_ddrc_pmu_enable_counter() 133 struct hw_perf_event *hwc) in hisi_ddrc_pmu_disable_counter() 147 struct hw_perf_event *hwc = &event->hw; in hisi_ddrc_pmu_get_event_idx() local 160 struct hw_perf_event *hwc) in hisi_ddrc_pmu_enable_counter_int() 171 struct hw_perf_event *hwc) in hisi_ddrc_pmu_disable_counter_int()
|
| D | hisi_uncore_hha_pmu.c | 51 struct hw_perf_event *hwc) in hisi_hha_pmu_read_counter() 65 struct hw_perf_event *hwc, u64 val) in hisi_hha_pmu_write_counter() 128 struct hw_perf_event *hwc) in hisi_hha_pmu_enable_counter() 139 struct hw_perf_event *hwc) in hisi_hha_pmu_disable_counter() 150 struct hw_perf_event *hwc) in hisi_hha_pmu_enable_counter_int() 161 struct hw_perf_event *hwc) in hisi_hha_pmu_disable_counter_int()
|
| D | hisi_uncore_l3c_pmu.c | 50 struct hw_perf_event *hwc) in hisi_l3c_pmu_read_counter() 64 struct hw_perf_event *hwc, u64 val) in hisi_l3c_pmu_write_counter() 127 struct hw_perf_event *hwc) in hisi_l3c_pmu_enable_counter() 138 struct hw_perf_event *hwc) in hisi_l3c_pmu_disable_counter() 149 struct hw_perf_event *hwc) in hisi_l3c_pmu_enable_counter_int() 160 struct hw_perf_event *hwc) in hisi_l3c_pmu_disable_counter_int()
|
| /kernel/linux/linux-6.6/drivers/iio/buffer/ |
| 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()
|
| /kernel/linux/linux-6.6/drivers/perf/ |
| D | riscv_pmu.c | 151 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_ctr_get_width_mask() local 165 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_event_update() local 191 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_stop() local 208 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_event_set_period() local 246 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_start() local 265 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_add() local 289 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_del() local 310 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_event_init() local
|
| /kernel/linux/linux-5.10/drivers/iio/buffer/ |
| 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() 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()
|
| /kernel/linux/linux-5.10/arch/riscv/kernel/ |
| D | perf_event.c | 216 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
|
| /kernel/linux/linux-5.10/arch/alpha/kernel/ |
| 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 810 struct hw_perf_event *hwc; in alpha_perf_event_irq_handler() local
|
| /kernel/linux/linux-6.6/arch/alpha/kernel/ |
| 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
|
| /kernel/linux/linux-5.10/arch/loongarch/kernel/ |
| D | perf_event.c | 254 static int loongarch_pmu_alloc_counter(struct cpu_hw_events *cpuc, struct hw_perf_event *hwc) in loongarch_pmu_alloc_counter() 301 struct hw_perf_event *hwc, in loongarch_pmu_event_set_period() 337 struct hw_perf_event *hwc, in loongarch_pmu_event_update() 359 struct hw_perf_event *hwc = &event->hw; in loongarch_pmu_start() local 375 struct hw_perf_event *hwc = &event->hw; in loongarch_pmu_stop() local 390 struct hw_perf_event *hwc = &event->hw; in loongarch_pmu_add() local 424 struct hw_perf_event *hwc = &event->hw; in loongarch_pmu_del() local 438 struct hw_perf_event *hwc = &event->hw; in loongarch_pmu_read() local 476 struct hw_perf_event *hwc = &event->hw; in handle_associated_event() local 741 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init() local
|
| /kernel/linux/linux-6.6/arch/loongarch/kernel/ |
| 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 485 struct hw_perf_event *hwc = &event->hw; in handle_associated_event() local 750 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init() local
|
| /kernel/linux/linux-6.6/arch/arm/kernel/ |
| D | perf_event_xscale.c | 175 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 …]
|
| /kernel/linux/linux-5.10/arch/arm/kernel/ |
| D | perf_event_xscale.c | 175 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 …]
|
| /kernel/linux/linux-6.6/arch/sh/kernel/ |
| 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
|
| /kernel/linux/linux-5.10/arch/x86/events/amd/ |
| D | iommu.c | 207 struct hw_perf_event *hwc = &event->hw; in perf_iommu_event_init() local 239 struct hw_perf_event *hwc = &ev->hw; in perf_iommu_enable_event() local 269 struct hw_perf_event *hwc = &event->hw; in perf_iommu_disable_event() local 278 struct hw_perf_event *hwc = &event->hw; in perf_iommu_start() local 311 struct hw_perf_event *hwc = &event->hw; in perf_iommu_read() local 330 struct hw_perf_event *hwc = &event->hw; in perf_iommu_stop() local 366 struct hw_perf_event *hwc = &event->hw; in perf_iommu_del() local
|