Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/clocksource/
Dtimer-imx-tpm.c35 static int counter_width __ro_after_init;
162 sched_clock_register(tpm_read_sched_clock, counter_width, in tpm_clocksource_init()
170 counter_width, in tpm_clocksource_init()
179 GENMASK(counter_width - 1, in tpm_clockevent_init()
207 counter_width = (readl(timer_base + TPM_PARAM) in tpm_timer_init()
210 to_tpm.clkevt.rating = counter_width == 0x20 ? 200 : 150; in tpm_timer_init()
233 (counter_width == 0x20 ? in tpm_timer_init()
238 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()
356 .counter_width = 16,
360 .counter_width = 32,
364 .counter_width = 32,
423 bits = tc.tcb_config->counter_width; in tcb_clksrc_init()
/linux-6.12.1/drivers/counter/
Dmicrochip-tcb-capture.c271 .counter_width = 16,
275 .counter_width = 32,
279 .counter_width = 32,
285 .counter_width = 32,
/linux-6.12.1/drivers/pwm/
Dpwm-atmel-tcb.c362 .counter_width = 16,
366 .counter_width = 32,
370 .counter_width = 32,
435 tcbpwmc->width = config->counter_width; in atmel_tcb_pwm_probe()
/linux-6.12.1/drivers/dma/idxd/
Dperfmon.c214 int shift = 64 - idxd->idxd_pmu->counter_width; in perfmon_pmu_event_update()
519 if (perfcap.counter_width == 0) in perfmon_pmu_init()
547 idxd_pmu->counter_width = perfcap.counter_width; in perfmon_pmu_init()
Dregisters.h460 u64 counter_width:8; member
497 u32 counter_width:8; member
Didxd.h129 int counter_width; member
/linux-6.12.1/drivers/perf/
Dcxl_pmu.c103 u16 counter_width; member
141 info->counter_width = FIELD_GET(CXL_PMU_CAP_COUNTER_WIDTH_MSK, val); in cxl_pmu_parse_caps()
696 delta = (new_cnt - prev_cnt) & GENMASK_ULL(info->counter_width - 1, 0); in __cxl_pmu_read()
697 if (overflow && delta < GENMASK_ULL(info->counter_width - 1, 0)) in __cxl_pmu_read()
698 delta += (1UL << info->counter_width); in __cxl_pmu_read()
/linux-6.12.1/include/soc/at91/
Datmel_tcb.h44 size_t counter_width; member
/linux-6.12.1/include/rdma/
Dib_pma.h38 u8 counter_width; /* resv: 7:3, counter width: 2:0 */ member
/linux-6.12.1/arch/x86/events/intel/
Duncore_discovery.h130 u8 counter_width; member
Duncore_discovery.c254 type->counter_width = unit->bit_width; in uncore_insert_box_info()
670 uncore->perf_ctr_bits = type->counter_width; in uncore_update_uncore_type()
/linux-6.12.1/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()
844 vcap->counter_width, filter->stats.pkts); in es0_entry_set()
871 vcap->counter_width); in vcap_entry_get()
1400 vcap->counter_width = counter_memory_width / vcap->counter_words; in ocelot_vcap_detect_constants()
/linux-6.12.1/include/soc/mscc/
Docelot_vcap.h55 u16 counter_width; /* Counter width (in bits) */ member
/linux-6.12.1/drivers/infiniband/hw/qib/
Dqib_mad.c1204 p->counter_width = 4; /* 32 bit counters */ in pma_get_portsamplescontrol()