Lines Matching defs:bits
50 int bits;
56 * @bits: the number of bits (16 or 32)
58 * Accessor helper to set the number of bits in the timer-of private
62 static void stm32_timer_of_bits_set(struct timer_of *to, int bits)
66 pd->bits = bits;
73 * Accessor helper to get the number of bits in the timer-of private
76 * Returns an integer corresponding to the number of bits.
82 return pd->bits;
184 * is 32 bits wide, the result will be UINT_MAX, otherwise it will
204 * target a 10MHz timer rate for 16 bits. 32-bit timers are
233 u32 bits = stm32_timer_of_bits_get(to);
245 if (bits == 32 && !stm32_timer_cnt) {
254 sched_clock_register(stm32_read_sched_clock, bits, timer_of_rate(to));
264 timer_of_rate(to), bits == 32 ? 250 : 100,
265 bits, clocksource_mmio_readl_up);
270 u32 bits = stm32_timer_of_bits_get(to);
279 to->clkevt.rating = bits == 32 ? 250 : 100;
282 (1 << bits) - 1);
284 pr_info("%pOF: STM32 clockevent driver initialized (%d bits)\n",
285 to->np, bits);