Searched refs:counter_width (Results 1 – 15 of 15) sorted by relevance
/linux-6.12.1/drivers/clocksource/ |
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()
|
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()
|
/linux-6.12.1/drivers/counter/ |
D | microchip-tcb-capture.c | 271 .counter_width = 16, 275 .counter_width = 32, 279 .counter_width = 32, 285 .counter_width = 32,
|
/linux-6.12.1/drivers/pwm/ |
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()
|
/linux-6.12.1/drivers/dma/idxd/ |
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()
|
D | registers.h | 460 u64 counter_width:8; member 497 u32 counter_width:8; member
|
D | idxd.h | 129 int counter_width; member
|
/linux-6.12.1/drivers/perf/ |
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() 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/ |
D | atmel_tcb.h | 44 size_t counter_width; member
|
/linux-6.12.1/include/rdma/ |
D | ib_pma.h | 38 u8 counter_width; /* resv: 7:3, counter width: 2:0 */ member
|
/linux-6.12.1/arch/x86/events/intel/ |
D | uncore_discovery.h | 130 u8 counter_width; member
|
D | uncore_discovery.c | 254 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/ |
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()
|
/linux-6.12.1/include/soc/mscc/ |
D | ocelot_vcap.h | 55 u16 counter_width; /* Counter width (in bits) */ member
|
/linux-6.12.1/drivers/infiniband/hw/qib/ |
D | qib_mad.c | 1204 p->counter_width = 4; /* 32 bit counters */ in pma_get_portsamplescontrol()
|