Searched refs:counter_size (Results 1 – 5 of 5) sorted by relevance
193 size_t counter_size; in __percpu_counter_init_many() local197 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()
728 int counter_size; /* in bits */ in arc_pmu_device_probe() local764 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()
73 u16 counter_size; member
411 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() local1581 if (counter_size == f->counter_size && bc_report == f->bc_report && in decode_oa_format()
164 static inline u32 counter_size(const struct arm_cspmu *cspmu) in counter_size() function172 return GENMASK_ULL(counter_size(cspmu) - 1, 0); in counter_mask()178 return (counter_size(cspmu) > 32); in use_64b_counter_reg()