/linux/drivers/net/ethernet/microsoft/mana/ |
H A D | hw_channel.c | 9 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 233 struct hw_channel_context *hwc = ctx; in mana_hwc_rx_event_handler() local 277 struct hw_channel_context *hwc = ctx; in mana_hwc_tx_event_handler() local 283 static int mana_hwc_create_gdma_wq(struct hw_channel_context *hwc, in mana_hwc_create_gdma_wq() 299 static int mana_hwc_create_gdma_cq(struct hw_channel_context *hwc, in mana_hwc_create_gdma_cq() 317 static int mana_hwc_create_gdma_eq(struct hw_channel_context *hwc, in mana_hwc_create_gdma_eq() 377 static int mana_hwc_create_cq(struct hw_channel_context *hwc, u16 q_depth, in mana_hwc_create_cq() [all …]
|
/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/drivers/perf/hisilicon/ |
H A D | hisi_uncore_pmu.c | 208 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_event_init() local 267 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_enable_event() local 285 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_disable_event() local 297 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_set_event_period() local 317 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_event_update() local 338 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_start() local 360 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_stop() local 378 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_add() local 401 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_del() local
|
H A D | hisi_uncore_uc_pmu.c | 262 struct hw_perf_event *hwc) in hisi_uc_pmu_enable_counter() 273 struct hw_perf_event *hwc) in hisi_uc_pmu_disable_counter() 284 struct hw_perf_event *hwc) in hisi_uc_pmu_read_counter() 298 struct hw_perf_event *hwc, u64 val) in hisi_uc_pmu_write_counter_normal() 304 struct hw_perf_event *hwc, u64 val) in hisi_uc_pmu_write_counter_quirk_v2() 312 struct hw_perf_event *hwc, u64 val) in hisi_uc_pmu_write_counter() 336 struct hw_perf_event *hwc) in hisi_uc_pmu_enable_counter_int() 346 struct hw_perf_event *hwc) in hisi_uc_pmu_disable_counter_int()
|
H A 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()
|
H A D | hisi_uncore_ddrc_pmu.c | 68 #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 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 …]
|
H A D | hisi_uncore_l3c_pmu.c | 108 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()
|
H A D | hisi_uncore_pa_pmu.c | 157 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()
|
/linux/arch/s390/kernel/ |
H A D | perf_cpum_sf.c | 34 #define OVERFLOW_REG(hwc) ((hwc)->extra_reg.config) argument 35 #define SFB_ALLOC_REG(hwc) ((hwc)->extra_reg.alloc) argument 36 #define TEAR_REG(hwc) ((hwc)->last_tag) argument 37 #define SAMPL_RATE(hwc) ((hwc)->event_base) argument 38 #define SAMPL_FLAGS(hwc) ((hwc)->config_base) argument 39 #define SAMPL_DIAG_MODE(hwc) (SAMPL_FLAGS(hwc) & PERF_CPUM_SF_DIAG_MODE) argument 40 #define SAMPL_FREQ_MODE(hwc) (SAMPL_FLAGS(hwc) & PERF_CPUM_SF_FREQ_MODE) argument 362 static unsigned long sfb_max_limit(struct hw_perf_event *hwc) in sfb_max_limit() 369 struct hw_perf_event *hwc) in sfb_pending_allocs() 378 static void sfb_account_allocs(unsigned long num, struct hw_perf_event *hwc) in sfb_account_allocs() [all …]
|
/linux/drivers/perf/ |
H A D | arm_xscale_pmu.c | 175 struct hw_perf_event *hwc; in xscale1pmu_handle_irq() local 206 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_enable_event() local 238 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_disable_event() local 269 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_get_event_idx() local 312 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_read_counter() local 333 struct hw_perf_event *hwc = &event->hw; in xscale1pmu_write_counter() local 507 struct hw_perf_event *hwc; in xscale2pmu_handle_irq() local 538 struct hw_perf_event *hwc = &event->hw; in xscale2pmu_enable_event() local 580 struct hw_perf_event *hwc = &event->hw; in xscale2pmu_disable_event() local 661 struct hw_perf_event *hwc = &event->hw; in xscale2pmu_read_counter() local [all …]
|
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 316 struct hw_perf_event *hwc = &event->hw; in armv6pmu_get_event_idx() local 348 struct hw_perf_event *hwc = &event->hw; in armv6pmu_disable_event() local
|
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_v7_pmu.c | 733 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 874 struct hw_perf_event *hwc = &event->hw; in armv7pmu_disable_event() local 914 struct hw_perf_event *hwc; in armv7pmu_handle_irq() local 965 struct hw_perf_event *hwc = &event->hw; in armv7pmu_get_event_idx() local 1427 struct hw_perf_event *hwc = &event->hw; in krait_pmu_disable_event() local 1447 struct hw_perf_event *hwc = &event->hw; in krait_pmu_enable_event() local 1493 struct hw_perf_event *hwc = &event->hw; in krait_event_to_bit() local 1520 struct hw_perf_event *hwc = &event->hw; in krait_pmu_get_event_idx() local [all …]
|
H A D | marvell_pem_pmu.c | 192 struct hw_perf_event *hwc = &event->hw; in pem_perf_event_init() local 237 struct hw_perf_event *hwc = &event->hw; in pem_perf_event_update() local 251 struct hw_perf_event *hwc = &event->hw; in pem_perf_event_start() local 266 struct hw_perf_event *hwc = &event->hw; in pem_perf_event_add() local 281 struct hw_perf_event *hwc = &event->hw; in pem_perf_event_stop() local 291 struct hw_perf_event *hwc = &event->hw; in pem_perf_event_del() 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 739 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init() local
|
/linux/arch/x86/events/amd/ |
H A D | iommu.c | 210 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 D | core.c | 347 static inline unsigned int amd_get_event_code(struct hw_perf_event *hwc) in amd_get_event_code() 352 static inline bool amd_is_pair_event_code(struct hw_perf_event *hwc) in amd_is_pair_event_code() 389 static inline int amd_is_nb_event(struct hw_perf_event *hwc) in amd_is_nb_event() 484 struct hw_perf_event *hwc = &event->hw; in __amd_get_nb_event_constraints() local 772 struct hw_perf_event *hwc = &event->hw; in amd_pmu_v2_enable_event() local 950 struct hw_perf_event *hwc; in amd_pmu_v2_handle_irq() local 1154 struct hw_perf_event *hwc = &event->hw; in amd_get_event_constraints_f15h() local 1229 struct hw_perf_event *hwc = &event->hw; in amd_get_event_constraints_f17h() local 1240 struct hw_perf_event *hwc = &event->hw; in amd_put_event_constraints_f17h() local 1270 struct hw_perf_event *hwc = &event->hw; in amd_get_event_constraints_f19h() local
|
H A D | uncore.c | 137 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 672 struct hw_perf_event *hwc = &event->hw; in amd_uncore_df_add() local 795 struct hw_perf_event *hwc = &event->hw; in amd_uncore_l3_event_init() local 930 struct hw_perf_event *hwc = &event->hw; in amd_uncore_umc_event_init() local [all …]
|
/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/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 | p4.c | 858 static inline int p4_pmu_clear_cccr_ovf(struct hw_perf_event *hwc) in p4_pmu_clear_cccr_ovf() 908 struct hw_perf_event *hwc = &event->hw; in p4_pmu_disable_event() local 954 struct hw_perf_event *hwc = &event->hw; in __p4_pmu_enable_event() local 1013 struct hw_perf_event *hwc = &event->hw; in p4_pmu_set_period() local 1039 struct hw_perf_event *hwc; in p4_pmu_handle_irq() local 1101 static void p4_pmu_swap_config_ts(struct hw_perf_event *hwc, int cpu) in p4_pmu_swap_config_ts() 1246 struct hw_perf_event *hwc; in p4_pmu_schedule_events() local
|
H A D | uncore_discovery.c | 508 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_msr_enable_event() local 516 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_msr_disable_event() local 533 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_assign_hw_event() local 596 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_enable_event() local 605 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_disable_event() local 614 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_pci_read_counter() local 683 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_mmio_enable_event() local 694 struct hw_perf_event *hwc = &event->hw; in intel_generic_uncore_mmio_disable_event() local
|
/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
|