Searched refs:n_counter (Results 1 – 17 of 17) sorted by relevance
/linux-6.12.1/drivers/iio/frequency/ |
D | admv4420.c | 104 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/ |
D | core-fsl-emb.c | 280 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()
|
D | e6500-pmu.c | 100 .n_counter = 6,
|
D | e500-pmu.c | 111 .n_counter = 4,
|
D | core-book3s.c | 907 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()
|
D | mpc7450-pmu.c | 405 .n_counter = N_COUNTER,
|
D | generic-compat-pmu.c | 306 .n_counter = MAX_PMU_COUNTERS,
|
D | power8-pmu.c | 371 .n_counter = MAX_PMU_COUNTERS,
|
D | ppc970-pmu.c | 478 .n_counter = 8,
|
D | power7-pmu.c | 433 .n_counter = 6,
|
D | power9-pmu.c | 442 .n_counter = MAX_PMU_COUNTERS,
|
D | power6-pmu.c | 539 .n_counter = 6,
|
D | power5-pmu.c | 607 .n_counter = 6,
|
D | power5+-pmu.c | 665 .n_counter = 6,
|
D | power10-pmu.c | 582 .n_counter = MAX_PMU_COUNTERS,
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | perf_event_fsl_emb.h | 24 int n_counter; /* total number of counters */ member
|
D | perf_event_server.h | 33 int n_counter; member
|