Lines Matching +full:kpss +full:- +full:timer

1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2009-2012,2014, The Linux Foundation. All rights reserved.
40 /* Stop the timer tick */ in msm_timer_interrupt()
46 evt->event_handler(evt); in msm_timer_interrupt()
104 evt->irq = msm_timer_irq; in msm_local_timer_starting_cpu()
105 evt->name = "msm_timer"; in msm_local_timer_starting_cpu()
106 evt->features = CLOCK_EVT_FEAT_ONESHOT; in msm_local_timer_starting_cpu()
107 evt->rating = 200; in msm_local_timer_starting_cpu()
108 evt->set_state_shutdown = msm_timer_shutdown; in msm_local_timer_starting_cpu()
109 evt->set_state_oneshot = msm_timer_shutdown; in msm_local_timer_starting_cpu()
110 evt->tick_resume = msm_timer_shutdown; in msm_local_timer_starting_cpu()
111 evt->set_next_event = msm_timer_set_next_event; in msm_local_timer_starting_cpu()
112 evt->cpumask = cpumask_of(cpu); in msm_local_timer_starting_cpu()
117 enable_percpu_irq(evt->irq, IRQ_TYPE_EDGE_RISING); in msm_local_timer_starting_cpu()
119 err = request_irq(evt->irq, msm_timer_interrupt, in msm_local_timer_starting_cpu()
133 evt->set_state_shutdown(evt); in msm_local_timer_dying_cpu()
134 disable_percpu_irq(evt->irq); in msm_local_timer_dying_cpu()
176 "clockevents/qcom/timer:starting", in msm_timer_init()
209 return -ENXIO; in msm_dt_timer_init()
216 return -EINVAL; in msm_dt_timer_init()
220 if (of_property_read_u32(np, "cpu-offset", &percpu_offset)) in msm_dt_timer_init()
232 return -EINVAL; in msm_dt_timer_init()
235 if (of_property_read_u32(np, "clock-frequency", &freq)) { in msm_dt_timer_init()
238 return -EINVAL; in msm_dt_timer_init()
253 TIMER_OF_DECLARE(kpss_timer, "qcom,kpss-timer", msm_dt_timer_init);
254 TIMER_OF_DECLARE(scss_timer, "qcom,scss-timer", msm_dt_timer_init);