Lines Matching refs:timer
304 struct vudc *udc = from_timer(udc, t, tr_timer.timer); in v_timer()
305 struct transfer_timer *timer = &udc->tr_timer; in v_timer() local
317 timer->state = VUDC_TR_IDLE; in v_timer()
322 if (time_after(jiffies, timer->frame_start + msecs_to_jiffies(1))) { in v_timer()
323 timer->frame_limit = total; in v_timer()
325 timer->frame_start = jiffies; in v_timer()
327 total = timer->frame_limit; in v_timer()
344 if (timer->state != VUDC_TR_RUNNING) in v_timer()
436 timer->state = VUDC_TR_IDLE; in v_timer()
438 mod_timer(&timer->timer, in v_timer()
439 timer->frame_start + msecs_to_jiffies(1)); in v_timer()
450 timer_setup(&t->timer, v_timer, 0); in v_init_timer()
485 mod_timer(&t->timer, time); in v_kick_timer()