Lines Matching +full:mostly +full:- +full:generic
1 // SPDX-License-Identifier: GPL-2.0-or-later
10 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se>
41 /* Read 32-bit counter value, add delta, mask off the low 28 bits. in openrisc_timer_set_next()
43 * generic timekeeping code ensures that for us. in openrisc_timer_set_next()
63 * As the timer is being used as a continuous clock-source (required for HR
65 * one-shot events, so no problem.
79 evt->broadcast = tick_broadcast; in openrisc_clockevent_init()
81 evt->name = "openrisc_timer_clockevent", in openrisc_clockevent_init()
82 evt->features = CLOCK_EVT_FEAT_ONESHOT, in openrisc_clockevent_init()
83 evt->rating = 300, in openrisc_clockevent_init()
84 evt->set_next_event = openrisc_timer_set_next_event, in openrisc_clockevent_init()
86 evt->cpumask = cpumask_of(cpu); in openrisc_clockevent_init()
89 clockevents_config_and_register(evt, cpuinfo->clock_frequency, in openrisc_clockevent_init()
105 * The timer interrupt is mostly handled in generic code nowadays... this
107 * has been set on the clockevent device by the generic time management code.
126 evt->event_handler(evt); in timer_interrupt()
157 if (clocksource_register_hz(&openrisc_timer, cpuinfo->clock_frequency)) in openrisc_timer_init()