Home
last modified time | relevance | path

Searched refs:n_counter (Results 1 – 17 of 17) sorted by relevance

/linux-6.12.1/drivers/iio/frequency/
Dadmv4420.c104 u32 n_counter; member
113 struct admv4420_n_counter n_counter; member
204 return div_u64(st->vco_freq_hz * 10, st->n_counter.n_counter); in admv4420_calc_pfd_vco()
231 for (st->n_counter.n_counter = 1; st->n_counter.n_counter < MAX_N_COUNTER; in admv4420_calc_parameters()
232 st->n_counter.n_counter++) { in admv4420_calc_parameters()
243 st->n_counter.n_counter = 1; in admv4420_calc_parameters()
248 st->n_counter.int_val = div_u64_rem(st->n_counter.n_counter, 10, &st->n_counter.frac_val); in admv4420_calc_parameters()
249 st->n_counter.mod_val = 10; in admv4420_calc_parameters()
330 ret = admv4420_set_n_counter(st, st->n_counter.int_val, in admv4420_setup()
331 st->n_counter.frac_val, in admv4420_setup()
[all …]
/linux-6.12.1/arch/powerpc/perf/
Dcore-fsl-emb.c280 int num_counters = ppmu->n_counter; in fsl_emb_pmu_add()
478 if (ppmu->n_counter > MAX_HWEVENTS) { in fsl_emb_pmu_event_init()
480 ppmu->n_counter, MAX_HWEVENTS); in fsl_emb_pmu_event_init()
481 ppmu->n_counter = MAX_HWEVENTS; in fsl_emb_pmu_event_init()
518 ppmu->n_counter - 1, events); in fsl_emb_pmu_event_init()
649 for (i = 0; i < ppmu->n_counter; ++i) { in perf_event_interrupt()
De6500-pmu.c100 .n_counter = 6,
De500-pmu.c111 .n_counter = 4,
Dcore-book3s.c907 if (!ppmu->n_counter) in perf_event_print_debug()
913 smp_processor_id(), ppmu->name, ppmu->n_counter); in perf_event_print_debug()
915 for (i = 0; i < ppmu->n_counter; i++) in perf_event_print_debug()
924 if (ppmu->n_counter > 4) in perf_event_print_debug()
975 if (n_ev > ppmu->n_counter) in power_check_constraints()
1635 if (n0 >= ppmu->n_counter) in power_pmu_add()
2107 n = collect_events(event->group_leader, ppmu->n_counter - 1, in power_pmu_event_init()
2403 for (i = 0; i < ppmu->n_counter; ++i) in __perf_event_interrupt()
2408 for (i = 0; i < ppmu->n_counter; ++i) { in __perf_event_interrupt()
Dmpc7450-pmu.c405 .n_counter = N_COUNTER,
Dgeneric-compat-pmu.c306 .n_counter = MAX_PMU_COUNTERS,
Dpower8-pmu.c371 .n_counter = MAX_PMU_COUNTERS,
Dppc970-pmu.c478 .n_counter = 8,
Dpower7-pmu.c433 .n_counter = 6,
Dpower9-pmu.c442 .n_counter = MAX_PMU_COUNTERS,
Dpower6-pmu.c539 .n_counter = 6,
Dpower5-pmu.c607 .n_counter = 6,
Dpower5+-pmu.c665 .n_counter = 6,
Dpower10-pmu.c582 .n_counter = MAX_PMU_COUNTERS,
/linux-6.12.1/arch/powerpc/include/asm/
Dperf_event_fsl_emb.h24 int n_counter; /* total number of counters */ member
Dperf_event_server.h33 int n_counter; member