Searched refs:get_bit_offset (Results 1 - 1 of 1) sorted by relevance

/linux-master/drivers/perf/
H A Dapple_m1_cpu_pmu.c224 #define get_bit_offset(index, mask) (__ffs(mask) + (index)) macro
232 bit = BIT(get_bit_offset(index, PMCR0_CNT_ENABLE_0_7));
235 bit = BIT(get_bit_offset(index - 8, PMCR0_CNT_ENABLE_8_9));
267 bit = BIT(get_bit_offset(index, PMCR0_PMI_ENABLE_0_7));
270 bit = BIT(get_bit_offset(index - 8, PMCR0_PMI_ENABLE_8_9));
304 user_bit = BIT(get_bit_offset(index, PMCR1_COUNT_A64_EL0_0_7));
305 kernel_bit = BIT(get_bit_offset(index, PMCR1_COUNT_A64_EL1_0_7));
308 user_bit = BIT(get_bit_offset(index - 8, PMCR1_COUNT_A64_EL0_8_9));
309 kernel_bit = BIT(get_bit_offset(index - 8, PMCR1_COUNT_A64_EL1_8_9));

Completed in 116 milliseconds