Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/sysdev/
Dmpic_timer.c169 struct mpic_timer *allocated_timer; in get_cascade_timer() local
179 allocated_timer = detect_idle_cascade_timer(priv); in get_cascade_timer()
180 if (!allocated_timer) in get_cascade_timer()
184 ret = set_cascade_timer(priv, ticks, allocated_timer->num); in get_cascade_timer()
188 return allocated_timer; in get_cascade_timer()
361 struct mpic_timer *allocated_timer; in mpic_request_timer() local
370 allocated_timer = get_timer(time); in mpic_request_timer()
371 if (!allocated_timer) in mpic_request_timer()
374 ret = request_irq(allocated_timer->irq, fn, in mpic_request_timer()
377 mpic_free_timer(allocated_timer); in mpic_request_timer()
[all …]