Searched refs:counter_width (Results 1 – 9 of 9) sorted by relevance
| /drivers/clocksource/ |
| A D | timer-imx-tpm.c | 35 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()
|
| A D | timer-atmel-tcb.c | 261 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()
|
| /drivers/pwm/ |
| A D | pwm-atmel-tcb.c | 362 .counter_width = 16, 366 .counter_width = 32, 370 .counter_width = 32, 435 tcbpwmc->width = config->counter_width; in atmel_tcb_pwm_probe()
|
| /drivers/dma/idxd/ |
| A D | perfmon.c | 214 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()
|
| A D | registers.h | 465 u64 counter_width:8; member 502 u32 counter_width:8; member
|
| A D | idxd.h | 128 int counter_width; member
|
| /drivers/counter/ |
| A D | microchip-tcb-capture.c | 386 .counter_width = 16, 390 .counter_width = 32, 394 .counter_width = 32, 400 .counter_width = 32,
|
| /drivers/perf/ |
| A D | cxl_pmu.c | 103 u16 counter_width; member 141 info->counter_width = FIELD_GET(CXL_PMU_CAP_COUNTER_WIDTH_MSK, val); in cxl_pmu_parse_caps() 699 delta = (new_cnt - prev_cnt) & GENMASK_ULL(info->counter_width - 1, 0); in __cxl_pmu_read() 700 if (overflow && delta < GENMASK_ULL(info->counter_width - 1, 0)) in __cxl_pmu_read() 701 delta += (1UL << info->counter_width); in __cxl_pmu_read()
|
| /drivers/net/ethernet/mscc/ |
| A 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() 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()
|
Completed in 34 milliseconds