/openbmc/linux/drivers/clocksource/ |
H 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()
|
H 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()
|
/openbmc/linux/drivers/counter/ |
H A D | microchip-tcb-capture.c | 271 .counter_width = 16, 275 .counter_width = 32, 279 .counter_width = 32, 285 .counter_width = 32,
|
/openbmc/linux/drivers/pwm/ |
H A D | pwm-atmel-tcb.c | 369 .counter_width = 16, 373 .counter_width = 32, 377 .counter_width = 32, 442 tcbpwm->width = config->counter_width; in atmel_tcb_pwm_probe()
|
/openbmc/linux/drivers/dma/idxd/ |
H A D | perfmon.c | 245 int shift = 64 - idxd->idxd_pmu->counter_width; in perfmon_pmu_event_update() 591 if (perfcap.counter_width == 0) in perfmon_pmu_init() 619 idxd_pmu->counter_width = perfcap.counter_width; in perfmon_pmu_init()
|
H A D | registers.h | 458 u64 counter_width:8; member 495 u32 counter_width:8; member
|
H A D | idxd.h | 117 int counter_width; member
|
/openbmc/linux/drivers/perf/ |
H 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() 707 delta = (new_cnt - prev_cnt) & GENMASK_ULL(info->counter_width - 1, 0); in __cxl_pmu_read() 708 if (overflow && delta < GENMASK_ULL(info->counter_width - 1, 0)) in __cxl_pmu_read() 709 delta += (1UL << info->counter_width); in __cxl_pmu_read()
|
/openbmc/linux/arch/x86/events/intel/ |
H A D | uncore_discovery.h | 123 u8 counter_width; member
|
H A D | uncore_discovery.c | 169 type->counter_width = unit->bit_width; in uncore_insert_box_info() 564 uncore->perf_ctr_bits = type->counter_width; in uncore_update_uncore_type()
|
/openbmc/linux/include/soc/at91/ |
H A D | atmel_tcb.h | 44 size_t counter_width; member
|
/openbmc/linux/include/rdma/ |
H A D | ib_pma.h | 38 u8 counter_width; /* resv: 7:3, counter width: 2:0 */ member
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H 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() 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()
|
/openbmc/linux/include/soc/mscc/ |
H A D | ocelot_vcap.h | 54 u16 counter_width; /* Counter width (in bits) */ member
|
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_mad.c | 1204 p->counter_width = 4; /* 32 bit counters */ in pma_get_portsamplescontrol()
|