Home
last modified time | relevance | path

Searched refs:counter_size (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/lib/
Dpercpu_counter.c193 size_t counter_size; in __percpu_counter_init_many() local
197 counter_size = ALIGN(sizeof(*counters), __alignof__(*counters)); in __percpu_counter_init_many()
198 counters = __alloc_percpu_gfp(nr_counters * counter_size, in __percpu_counter_init_many()
212 fbc[i].counters = (void __percpu *)counters + i * counter_size; in __percpu_counter_init_many()
/linux-6.12.1/arch/arc/kernel/
Dperf_event.c728 int counter_size; /* in bits */ in arc_pmu_device_probe() local
764 counter_size = 32 + (pct_bcr.s << 4); in arc_pmu_device_probe()
766 arc_pmu->max_period = (1ULL << counter_size) / 2 - 1ULL; in arc_pmu_device_probe()
769 arc_pmu->n_counters, counter_size, cc_bcr.c, in arc_pmu_device_probe()
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_oa_types.h73 u16 counter_size; member
Dxe_oa.c411 REG_FIELD_PREP(OA_OACONTROL_COUNTER_SIZE_MASK, format->counter_size); in __format_to_oactrl()
1572 u32 counter_size = FIELD_GET(DRM_XE_OA_FORMAT_MASK_COUNTER_SIZE, fmt); in decode_oa_format() local
1581 if (counter_size == f->counter_size && bc_report == f->bc_report && in decode_oa_format()
/linux-6.12.1/drivers/perf/arm_cspmu/
Darm_cspmu.c164 static inline u32 counter_size(const struct arm_cspmu *cspmu) in counter_size() function
172 return GENMASK_ULL(counter_size(cspmu) - 1, 0); in counter_mask()
178 return (counter_size(cspmu) > 32); in use_64b_counter_reg()