Searched refs:counter_width (Results 1 – 13 of 13) sorted by relevance
/Linux-v5.10/drivers/clocksource/ |
D | timer-imx-tpm.c | 35 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()
|
D | timer-atmel-tcb.c | 261 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/ |
D | op_model_ppro.c | 27 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/ |
D | microchip-tcb-capture.c | 266 .counter_width = 16, 270 .counter_width = 32, 274 .counter_width = 32, 280 .counter_width = 32,
|
/Linux-v5.10/drivers/misc/ |
D | atmel_tclib.c | 85 .counter_width = 16, 89 .counter_width = 32,
|
/Linux-v5.10/arch/riscv/include/asm/ |
D | perf_event.h | 71 int counter_width; member
|
/Linux-v5.10/arch/riscv/kernel/ |
D | perf_event.c | 234 ((1ULL << riscv_pmu->counter_width) - 1); in riscv_pmu_read() 454 .counter_width = 63,
|
/Linux-v5.10/include/rdma/ |
D | ib_pma.h | 38 u8 counter_width; /* resv: 7:3, counter width: 2:0 */ member
|
/Linux-v5.10/include/soc/at91/ |
D | atmel_tcb.h | 44 size_t counter_width; member
|
/Linux-v5.10/drivers/pwm/ |
D | pwm-atmel-tcb.c | 310 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/ |
D | ocelot_vcap.c | 210 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/ |
D | ocelot_vcap.h | 40 u16 counter_width; /* Counter width (in bits) */ member
|
/Linux-v5.10/drivers/infiniband/hw/qib/ |
D | qib_mad.c | 1204 p->counter_width = 4; /* 32 bit counters */ in pma_get_portsamplescontrol()
|