Home
last modified time | relevance | path

Searched refs:allocated_timer (Results 1 – 1 of 1) sorted by relevance

/linux/arch/powerpc/sysdev/
H A Dmpic_timer.c168 struct mpic_timer *allocated_timer; in get_cascade_timer() local
178 allocated_timer = detect_idle_cascade_timer(priv); in get_cascade_timer()
179 if (!allocated_timer) in get_cascade_timer()
183 ret = set_cascade_timer(priv, ticks, allocated_timer->num); in get_cascade_timer()
187 return allocated_timer; in get_cascade_timer()
360 struct mpic_timer *allocated_timer; in mpic_request_timer() local
369 allocated_timer = get_timer(time); in mpic_request_timer()
370 if (!allocated_timer) in mpic_request_timer()
373 ret = request_irq(allocated_timer->irq, fn, in mpic_request_timer()
376 mpic_free_timer(allocated_timer); in mpic_request_timer()
[all …]