Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/clocksource/
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/arch/x86/oprofile/
H A 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()
/OK3568_Linux_fs/kernel/drivers/counter/
H A Dmicrochip-tcb-capture.c280 .counter_width = 16,
284 .counter_width = 32,
288 .counter_width = 32,
294 .counter_width = 32,
/OK3568_Linux_fs/kernel/drivers/misc/
H A Datmel_tclib.c85 .counter_width = 16,
89 .counter_width = 32,
/OK3568_Linux_fs/kernel/arch/riscv/include/asm/
H A Dperf_event.h71 int counter_width; member
/OK3568_Linux_fs/kernel/arch/riscv/kernel/
H A Dperf_event.c234 ((1ULL << riscv_pmu->counter_width) - 1); in riscv_pmu_read()
454 .counter_width = 63,
/OK3568_Linux_fs/kernel/include/rdma/
H A Dib_pma.h38 u8 counter_width; /* resv: 7:3, counter width: 2:0 */ member
/OK3568_Linux_fs/kernel/include/soc/at91/
H A Datmel_tcb.h44 size_t counter_width; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mscc/
H A Docelot_vcap.c210 vcap->counter_width); in vcap_data_offset_get()
637 vcap->counter_width, filter->stats.pkts); in is2_entry_set()
772 vcap->counter_width, filter->stats.pkts); in is1_entry_set()
845 vcap->counter_width, filter->stats.pkts); in es0_entry_set()
872 vcap->counter_width); in vcap_entry_get()
1321 vcap->counter_width = counter_memory_width / vcap->counter_words; in ocelot_vcap_detect_constants()
/OK3568_Linux_fs/kernel/drivers/pwm/
H A 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()
/OK3568_Linux_fs/kernel/include/soc/mscc/
H A Docelot_vcap.h40 u16 counter_width; /* Counter width (in bits) */ member
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/qib/
H A Dqib_mad.c1204 p->counter_width = 4; /* 32 bit counters */ in pma_get_portsamplescontrol()