Searched refs:num_events (Results 1 - 25 of 60) sorted by path

123

/linux-master/arch/sh/include/asm/
H A Dperf_event.h11 unsigned int num_events; member in struct:sh_pmu
H A Dhw_breakpoint.h31 unsigned int num_events; member in struct:sh_ubc
/linux-master/arch/sh/kernel/cpu/sh4/
H A Dperf_event.c227 for (i = 0; i < sh7750_pmu.num_events; i++)
235 for (i = 0; i < sh7750_pmu.num_events; i++)
241 .num_events = 2,
/linux-master/arch/sh/kernel/cpu/sh4a/
H A Dperf_event.c261 for (i = 0; i < sh4a_pmu.num_events; i++)
269 for (i = 0; i < sh4a_pmu.num_events; i++)
275 .num_events = 2,
H A Dubc.c48 for (i = 0; i < sh4a_ubc.num_events; i++)
58 for (i = 0; i < sh4a_ubc.num_events; i++)
68 for (i = 0; i < sh4a_ubc.num_events; i++)
87 .num_events = 2,
114 for (i = 0; i < sh4a_ubc.num_events; i++) {
/linux-master/arch/arm/kernel/
H A Dperf_event_v6.c259 for (idx = 0; idx < cpu_pmu->num_events; ++idx) {
396 cpu_pmu->num_events = 3;
H A Dperf_event_v7.c657 (ARMV7_IDX_CYCLE_COUNTER + cpu_pmu->num_events - 1)
963 for (idx = 0; idx < cpu_pmu->num_events; ++idx) {
1032 for (idx = ARMV7_IDX_COUNTER0; idx < cpu_pmu->num_events; ++idx) {
1078 u32 idx, nb_cnt = cpu_pmu->num_events, val;
1179 &arm_pmu->num_events, 1);
1529 u32 idx, nb_cnt = cpu_pmu->num_events;
1850 u32 idx, nb_cnt = cpu_pmu->num_events;
H A Dperf_event_xscale.c173 for (idx = 0; idx < cpu_pmu->num_events; ++idx) {
369 cpu_pmu->num_events = 3;
505 for (idx = 0; idx < cpu_pmu->num_events; ++idx) {
724 cpu_pmu->num_events = 5;
/linux-master/arch/arm64/kvm/
H A Dpmu-emul.c914 * The arm_pmu->num_events considers the cycle counter as well.
917 return arm_pmu->num_events - 1;
/linux-master/arch/powerpc/perf/
H A Dcore-book3s.c1944 static atomic_t num_events; variable
1953 if (!atomic_add_unless(&num_events, -1, 1)) {
1955 if (atomic_dec_return(&num_events) == 0)
2184 if (!atomic_inc_not_zero(&num_events)) {
2186 if (atomic_read(&num_events) == 0 &&
2190 atomic_inc(&num_events);
H A Dcore-fsl-emb.c30 static atomic_t num_events; variable
209 if (atomic_read(&num_events)) {
431 if (!atomic_add_unless(&num_events, -1, 1)) {
433 if (atomic_dec_return(&num_events) == 0)
556 if (!atomic_inc_not_zero(&num_events)) {
558 if (atomic_read(&num_events) == 0 &&
562 atomic_inc(&num_events);
H A De500-pmu.c83 static int num_events = 128; variable
91 if (event_low >= num_events)
125 num_events = 256;
H A De6500-pmu.c85 static int num_events = 512; variable
91 if (event_low >= num_events ||
/linux-master/arch/s390/kernel/
H A Dperf_cpum_sf.c588 static atomic_t num_events; variable
647 if (!atomic_add_unless(&num_events, -1, 1)) {
649 if (atomic_dec_return(&num_events) == 0)
817 if (!atomic_inc_not_zero(&num_events)) {
819 if (atomic_read(&num_events) == 0 && reserve_pmc_hardware())
822 atomic_inc(&num_events);
2146 if (!atomic_read(&num_events))
/linux-master/arch/sh/kernel/
H A Dhw_breakpoint.c35 static struct sh_ubc ubc_dummy = { .num_events = 0 };
52 for (i = 0; i < sh_ubc->num_events; i++) {
61 if (WARN_ONCE(i == sh_ubc->num_events, "Can't find any breakpoint slot"))
84 for (i = 0; i < sh_ubc->num_events; i++) {
93 if (WARN_ONCE(i == sh_ubc->num_events, "Can't find any breakpoint slot"))
267 for (i = 0; i < sh_ubc->num_events; i++) {
297 for (i = 0; i < sh_ubc->num_events; i++) {
405 WARN_ON(ubc->num_events > HBP_NUM);
H A Dperf_event.c39 static atomic_t num_events; variable
65 if (!atomic_add_unless(&num_events, -1, 1)) {
67 if (atomic_dec_return(&num_events) == 0)
118 if (!atomic_inc_not_zero(&num_events)) {
120 if (atomic_read(&num_events) == 0 &&
124 atomic_inc(&num_events);
254 idx = find_first_zero_bit(cpuc->used_mask, sh_pmu->num_events);
255 if (idx == sh_pmu->num_events)
357 WARN_ON(_pmu->num_events > MAX_HWEVENTS);
/linux-master/drivers/accel/qaic/
H A Dmhi_controller.c431 .num_events = ARRAY_SIZE(aic100_events),
/linux-master/drivers/bus/mhi/host/
H A Dinit.c679 num = config->num_events;
H A Dpci_generic.c278 .num_events = ARRAY_SIZE(modem_qcom_v1_mhi_events),
287 .num_events = ARRAY_SIZE(modem_qcom_v1_mhi_events),
361 .num_events = ARRAY_SIZE(mhi_quectel_em1xx_events),
410 .num_events = ARRAY_SIZE(mhi_foxconn_sdx55_events),
466 .num_events = ARRAY_SIZE(mhi_mv3x_events),
514 .num_events = ARRAY_SIZE(modem_sierra_em919x_mhi_events),
546 .num_events = ARRAY_SIZE(mhi_telit_fn980_hw_v1_events),
588 .num_events = ARRAY_SIZE(mhi_telit_fn990_events),
815 mhi_cntrl->nr_irqs = 1 + mhi_cntrl_config->num_events;
828 for (i = 0; i < mhi_cntrl_config->num_events;
[all...]
/linux-master/drivers/devfreq/event/
H A Dexynos-ppmu.c36 unsigned int num_events; member in struct:exynos_ppmu
525 info->num_events = count;
666 size = sizeof(struct devfreq_event_dev *) * info->num_events;
674 for (i = 0; i < info->num_events; i++) {
/linux-master/drivers/dma/idxd/
H A Dregisters.h502 u32 num_events:4; member in struct:idxd_cntrcap::__anon24::__anon25
/linux-master/drivers/dma/
H A Dimx-sdma.c500 int num_events; member in struct:sdma_driver_data
542 .num_events = 32,
563 .num_events = 48,
569 .num_events = 48,
587 .num_events = 48,
607 .num_events = 48,
626 .num_events = 48,
632 .num_events = 48,
651 .num_events = 48,
657 .num_events
[all...]
H A Dpl330.c284 unsigned int num_events:6; member in struct:pl330_config
1675 if (pl330->pcfg.num_events < 32
1676 && val & ~((1 << pl330->pcfg.num_events) - 1)) {
1684 for (ev = 0; ev < pl330->pcfg.num_events; ev++) {
1747 for (ev = 0; ev < pl330->pcfg.num_events; ev++)
1800 if (ev >= 0 && ev < pl330->pcfg.num_events
1859 pl330->pcfg.num_events = val;
1961 if (pl330->pcfg.num_events == 0) {
1976 for (i = 0; i < pl330->pcfg.num_events; i++)
3177 pcfg->num_peri, pcfg->num_events);
[all...]
/linux-master/drivers/firmware/arm_scmi/
H A Dbase.c372 .num_events = ARRAY_SIZE(base_events),
H A Dclock.c1058 .num_events = ARRAY_SIZE(clk_events),

Completed in 762 milliseconds

123