Searched refs:counter_width (Results 1 – 10 of 10) sorted by relevance
| /Linux-v5.4/drivers/clocksource/ |
| D | timer-imx-tpm.c | 37 static int counter_width; variable 153 sched_clock_register(tpm_read_sched_clock, counter_width, in tpm_clocksource_init() 160 counter_width, in tpm_clocksource_init() 169 GENMASK(counter_width - 1, in tpm_clockevent_init() 197 counter_width = (readl(timer_base + TPM_PARAM) in tpm_timer_init() 200 to_tpm.clkevt.rating = counter_width == 0x20 ? 200 : 150; in tpm_timer_init() 223 (counter_width == 0x20 ? in tpm_timer_init() 228 writel(GENMASK(counter_width - 1, 0), timer_base + TPM_MOD); in tpm_timer_init()
|
| /Linux-v5.4/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.4/drivers/misc/ |
| D | atmel_tclib.c | 85 .counter_width = 16, 89 .counter_width = 32,
|
| /Linux-v5.4/arch/riscv/include/asm/ |
| D | perf_event.h | 76 int counter_width; member
|
| /Linux-v5.4/arch/riscv/kernel/ |
| D | perf_event.c | 234 ((1ULL << riscv_pmu->counter_width) - 1); in riscv_pmu_read() 454 .counter_width = 63,
|
| /Linux-v5.4/drivers/net/ethernet/mscc/ |
| D | ocelot_ace.c | 33 u16 counter_width; /* Counter width (in bits) */ member 61 .counter_width = ENTRY_WIDTH, 209 data->counter_offset = (cnt * col * vcap_is2.counter_width); in is2_data_get() 568 vcap_data_set(data.counter, data.counter_offset, vcap_is2.counter_width, in is2_entry_set() 589 vcap_is2.counter_width); in is2_entry_get()
|
| /Linux-v5.4/include/soc/at91/ |
| D | atmel_tcb.h | 41 size_t counter_width; member
|
| /Linux-v5.4/include/rdma/ |
| D | ib_pma.h | 65 u8 counter_width; /* resv: 7:3, counter width: 2:0 */ member
|
| /Linux-v5.4/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.4/drivers/infiniband/hw/qib/ |
| D | qib_mad.c | 1204 p->counter_width = 4; /* 32 bit counters */ in pma_get_portsamplescontrol()
|