Lines Matching refs:allocated_timer
168 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()
380 allocated_timer->dev = dev; in mpic_request_timer()
382 return allocated_timer; in mpic_request_timer()