Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/clocksource/
Dtimer-imx-tpm.c35 static int counter_width __ro_after_init;
154 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-6.1.9/drivers/counter/
Dmicrochip-tcb-capture.c272 .counter_width = 16,
276 .counter_width = 32,
280 .counter_width = 32,
286 .counter_width = 32,
/linux-6.1.9/drivers/pwm/
Dpwm-atmel-tcb.c400 .counter_width = 16,
404 .counter_width = 32,
408 .counter_width = 32,
478 tcbpwm->width = config->counter_width; in atmel_tcb_pwm_probe()
/linux-6.1.9/drivers/dma/idxd/
Dperfmon.c245 int shift = 64 - idxd->idxd_pmu->counter_width; in perfmon_pmu_event_update()
595 if (perfcap.counter_width == 0) in perfmon_pmu_init()
623 idxd_pmu->counter_width = perfcap.counter_width; in perfmon_pmu_init()
Dregisters.h414 u64 counter_width:8; member
451 u32 counter_width:8; member
Didxd.h116 int counter_width; member
/linux-6.1.9/arch/x86/events/intel/
Duncore_discovery.h117 u8 counter_width; member
Duncore_discovery.c173 type->counter_width = unit->bit_width; in uncore_insert_box_info()
544 uncore->perf_ctr_bits = type->counter_width; in uncore_update_uncore_type()
/linux-6.1.9/include/rdma/
Dib_pma.h38 u8 counter_width; /* resv: 7:3, counter width: 2:0 */ member
/linux-6.1.9/include/soc/at91/
Datmel_tcb.h44 size_t counter_width; member
/linux-6.1.9/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()
772 vcap->counter_width, filter->stats.pkts); in is1_entry_set()
843 vcap->counter_width, filter->stats.pkts); in es0_entry_set()
870 vcap->counter_width); in vcap_entry_get()
1399 vcap->counter_width = counter_memory_width / vcap->counter_words; in ocelot_vcap_detect_constants()
/linux-6.1.9/include/soc/mscc/
Docelot_vcap.h54 u16 counter_width; /* Counter width (in bits) */ member
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_mad.c1204 p->counter_width = 4; /* 32 bit counters */ in pma_get_portsamplescontrol()