Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/arch/s390/include/asm/
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
/kernel/linux/linux-4.19/arch/s390/include/asm/
Dperf_event.h66 #define OVERFLOW_REG(hwc) ((hwc)->extra_reg.config) argument
67 #define SFB_ALLOC_REG(hwc) ((hwc)->extra_reg.alloc) argument
68 #define TEAR_REG(hwc) ((hwc)->last_tag) argument
69 #define SAMPL_RATE(hwc) ((hwc)->event_base) argument
70 #define SAMPL_FLAGS(hwc) ((hwc)->config_base) argument
71 #define SAMPL_DIAG_MODE(hwc) (SAMPL_FLAGS(hwc) & PERF_CPUM_SF_DIAG_MODE) argument
72 #define SDB_FULL_BLOCKS(hwc) (SAMPL_FLAGS(hwc) & PERF_CPUM_SF_FULL_BLOCKS) argument
/kernel/linux/linux-4.19/drivers/perf/hisilicon/
Dhisi_uncore_pmu.c131 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_event_init() local
195 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_enable_event() local
210 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_disable_event() local
219 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_set_event_period() local
238 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_event_update() local
258 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_start() local
279 struct hw_perf_event *hwc = &event->hw; in hisi_uncore_pmu_stop() local
296 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
Dhisi_uncore_ddrc_pmu.c50 #define GET_DDRC_EVENTID(hwc) (hwc->config_base & 0x7) argument
68 struct hw_perf_event *hwc) in hisi_ddrc_pmu_read_counter()
82 struct hw_perf_event *hwc, u64 val) in hisi_ddrc_pmu_write_counter()
125 struct hw_perf_event *hwc) in hisi_ddrc_pmu_enable_counter()
136 struct hw_perf_event *hwc) in hisi_ddrc_pmu_disable_counter()
150 struct hw_perf_event *hwc = &event->hw; in hisi_ddrc_pmu_get_event_idx() local
163 struct hw_perf_event *hwc) in hisi_ddrc_pmu_enable_counter_int()
174 struct hw_perf_event *hwc) in hisi_ddrc_pmu_disable_counter_int()
Dhisi_uncore_hha_pmu.c54 struct hw_perf_event *hwc) in hisi_hha_pmu_read_counter()
68 struct hw_perf_event *hwc, u64 val) in hisi_hha_pmu_write_counter()
131 struct hw_perf_event *hwc) in hisi_hha_pmu_enable_counter()
142 struct hw_perf_event *hwc) in hisi_hha_pmu_disable_counter()
153 struct hw_perf_event *hwc) in hisi_hha_pmu_enable_counter_int()
164 struct hw_perf_event *hwc) in hisi_hha_pmu_disable_counter_int()
Dhisi_uncore_l3c_pmu.c53 struct hw_perf_event *hwc) in hisi_l3c_pmu_read_counter()
67 struct hw_perf_event *hwc, u64 val) in hisi_l3c_pmu_write_counter()
130 struct hw_perf_event *hwc) in hisi_l3c_pmu_enable_counter()
141 struct hw_perf_event *hwc) in hisi_l3c_pmu_disable_counter()
152 struct hw_perf_event *hwc) in hisi_l3c_pmu_enable_counter_int()
163 struct hw_perf_event *hwc) in hisi_l3c_pmu_disable_counter_int()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_pmu.c48 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-4.19/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()
196 void devm_iio_hw_consumer_free(struct device *dev, struct iio_hw_consumer *hwc) in devm_iio_hw_consumer_free()
212 int iio_hw_consumer_enable(struct iio_hw_consumer *hwc) in iio_hw_consumer_enable()
236 void iio_hw_consumer_disable(struct iio_hw_consumer *hwc) in iio_hw_consumer_disable()
/kernel/linux/linux-5.10/drivers/perf/hisilicon/
Dhisi_uncore_pmu.c134 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
Dhisi_uncore_ddrc_pmu.c47 #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()
Dhisi_uncore_hha_pmu.c51 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()
Dhisi_uncore_l3c_pmu.c50 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-5.10/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()
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/
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
/kernel/linux/linux-4.19/arch/riscv/kernel/
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
/kernel/linux/linux-4.19/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
815 struct hw_perf_event *hwc; in alpha_perf_event_irq_handler() local
/kernel/linux/linux-5.10/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
810 struct hw_perf_event *hwc; in alpha_perf_event_irq_handler() local
/kernel/linux/linux-4.19/arch/arm/kernel/
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 …]
/kernel/linux/linux-5.10/arch/arm/kernel/
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 …]
/kernel/linux/linux-5.10/arch/x86/events/amd/
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
Diommu.c207 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
/kernel/linux/linux-4.19/arch/arc/kernel/
Dperf_event.c104 struct hw_perf_event *hwc, int idx) in arc_perf_event_update()
154 struct hw_perf_event *hwc = &event->hw; in arc_pmu_event_init() local
218 struct hw_perf_event *hwc = &event->hw; in arc_pmu_event_set_period() local
264 struct hw_perf_event *hwc = &event->hw; in arc_pmu_start() local
289 struct hw_perf_event *hwc = &event->hw; in arc_pmu_stop() local
336 struct hw_perf_event *hwc = &event->hw; in arc_pmu_add() local
390 struct hw_perf_event *hwc; in arc_pmu_intr() local
/kernel/linux/linux-4.19/arch/sh/kernel/
Dperf_event.c124 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init() local
180 struct hw_perf_event *hwc, int idx) in sh_perf_event_update()
223 struct hw_perf_event *hwc = &event->hw; in sh_pmu_stop() local
241 struct hw_perf_event *hwc = &event->hw; in sh_pmu_start() local
268 struct hw_perf_event *hwc = &event->hw; in sh_pmu_add() local
/kernel/linux/linux-5.10/arch/sh/kernel/
Dperf_event.c121 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init() local
177 struct hw_perf_event *hwc, int idx) in sh_perf_event_update()
220 struct hw_perf_event *hwc = &event->hw; in sh_pmu_stop() local
238 struct hw_perf_event *hwc = &event->hw; in sh_pmu_start() local
265 struct hw_perf_event *hwc = &event->hw; in sh_pmu_add() local
/kernel/linux/linux-5.10/arch/nds32/kernel/
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 …]

123456