Home
last modified time | relevance | path

Searched refs:counter_width (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.10/drivers/clocksource/
Dtimer-imx-tpm.c35 static int counter_width; variable
155 sched_clock_register(tpm_read_sched_clock, counter_width, in tpm_clocksource_init()
162 counter_width, in tpm_clocksource_init()
171 GENMASK(counter_width - 1, in tpm_clockevent_init()
199 counter_width = (readl(timer_base + TPM_PARAM) in tpm_timer_init()
202 to_tpm.clkevt.rating = counter_width == 0x20 ? 200 : 150; in tpm_timer_init()
225 (counter_width == 0x20 ? in tpm_timer_init()
230 writel(GENMASK(counter_width - 1, 0), timer_base + TPM_MOD); in tpm_timer_init()
Dtimer-atmel-tcb.c261 int bits = tc->tcb_config->counter_width; in setup_clkevents()
355 .counter_width = 16,
359 .counter_width = 32,
363 .counter_width = 32,
422 bits = tc.tcb_config->counter_width; in tcb_clksrc_init()
/Linux-v5.10/arch/x86/oprofile/
Dop_model_ppro.c27 static int counter_width = 32; variable
90 if (counter_width < eax.split.bit_width) in ppro_setup_ctrs()
91 counter_width = eax.split.bit_width; in ppro_setup_ctrs()
137 if (val & (1ULL << (counter_width - 1))) in ppro_check_ctrs()
/Linux-v5.10/drivers/counter/
Dmicrochip-tcb-capture.c266 .counter_width = 16,
270 .counter_width = 32,
274 .counter_width = 32,
280 .counter_width = 32,
/Linux-v5.10/drivers/misc/
Datmel_tclib.c85 .counter_width = 16,
89 .counter_width = 32,
/Linux-v5.10/arch/riscv/include/asm/
Dperf_event.h71 int counter_width; member
/Linux-v5.10/arch/riscv/kernel/
Dperf_event.c234 ((1ULL << riscv_pmu->counter_width) - 1); in riscv_pmu_read()
454 .counter_width = 63,
/Linux-v5.10/include/rdma/
Dib_pma.h38 u8 counter_width; /* resv: 7:3, counter width: 2:0 */ member
/Linux-v5.10/include/soc/at91/
Datmel_tcb.h44 size_t counter_width; member
/Linux-v5.10/drivers/pwm/
Dpwm-atmel-tcb.c310 max = min << tc->tcb_config->counter_width; in atmel_tcb_pwm_config()
323 max = min << tc->tcb_config->counter_width; in atmel_tcb_pwm_config()
/Linux-v5.10/drivers/net/ethernet/mscc/
Docelot_vcap.c210 vcap->counter_width); in vcap_data_offset_get()
638 vcap->counter_width, filter->stats.pkts); in is2_entry_set()
773 vcap->counter_width, filter->stats.pkts); in is1_entry_set()
846 vcap->counter_width, filter->stats.pkts); in es0_entry_set()
873 vcap->counter_width); in vcap_entry_get()
1314 vcap->counter_width = counter_memory_width / vcap->counter_words; in ocelot_vcap_detect_constants()
/Linux-v5.10/include/soc/mscc/
Docelot_vcap.h40 u16 counter_width; /* Counter width (in bits) */ member
/Linux-v5.10/drivers/infiniband/hw/qib/
Dqib_mad.c1204 p->counter_width = 4; /* 32 bit counters */ in pma_get_portsamplescontrol()