Lines Matching +full:init +full:- +full:delay
1 // SPDX-License-Identifier: GPL-2.0-only
3 * Delay loops based on the OpenRISC implementation.
11 #include <linux/delay.h>
12 #include <linux/init.h>
18 * Default to the loop-based delay implementation.
21 .delay = __loop_delay,
33 return -ENXIO; in read_current_timer()
35 *timer_val = delay_timer->read_current_timer(); in read_current_timer()
49 while ((get_cycles() - start) < cycles) in __timer_delay()
70 clocks_calc_mult_shift(&new_mult, &new_shift, timer->freq, in register_current_timer_delay()
75 pr_err("Ignoring delay timer %ps, which has insufficient resolution of %lluns\n", in register_current_timer_delay()
81 pr_info("Switching to timer-based delay loop, resolution %lluns\n", res); in register_current_timer_delay()
83 lpj_fine = timer->freq / HZ; in register_current_timer_delay()
88 arm_delay_ops.delay = __timer_delay; in register_current_timer_delay()
92 pr_info("Ignoring duplicate/late registration of read_current_timer delay\n"); in register_current_timer_delay()