Lines Matching full:ticks
72 unsigned long ticks; member
531 bool start, unsigned long ticks) in snd_timer_start1() argument
557 timeri->ticks = timeri->cticks = ticks; in snd_timer_start1()
571 timer->sticks = ticks; in snd_timer_start1()
637 timeri->cticks = timeri->ticks; in snd_timer_stop1()
689 int snd_timer_start(struct snd_timer_instance *timeri, unsigned int ticks) in snd_timer_start() argument
691 if (timeri == NULL || ticks < 1) in snd_timer_start()
696 return snd_timer_start1(timeri, true, ticks); in snd_timer_start()
731 * pause.. remember the ticks left
745 * start pending instances and check the scheduling ticks.
746 * when the scheduling ticks is changed set CHANGE flag to reprogram the timer.
751 unsigned long ticks = ~0UL; in snd_timer_reschedule() local
760 if (ticks > ti->cticks) in snd_timer_reschedule()
761 ticks = ti->cticks; in snd_timer_reschedule()
764 if (ticks == ~0UL) { in snd_timer_reschedule()
768 if (ticks > timer->hw.ticks) in snd_timer_reschedule()
769 ticks = timer->hw.ticks; in snd_timer_reschedule()
770 if (ticks_left != ticks) in snd_timer_reschedule()
772 timer->sticks = ticks; in snd_timer_reschedule()
780 unsigned long resolution, ticks; in snd_timer_process_callbacks() local
790 ticks = ti->pticks; in snd_timer_process_callbacks()
796 ti->callback(ti, resolution, ticks); in snd_timer_process_callbacks()
881 ti->cticks = ti->ticks; in snd_timer_interrupt()
1205 .ticks = 10000000L,
1273 snd_iprintf(buffer, " %lu.%03luus (%lu ticks)", in snd_timer_proc_read()
1276 timer->hw.ticks); in snd_timer_proc_read()
1322 unsigned long ticks) in snd_timer_user_interrupt() argument
1333 r->ticks += ticks; in snd_timer_user_interrupt()
1343 r->ticks = ticks; in snd_timer_user_interrupt()
1400 unsigned long ticks) in snd_timer_user_tinterrupt() argument
1415 if (tu->last_resolution != resolution || ticks > 0) { in snd_timer_user_tinterrupt()
1433 if (ticks == 0) in snd_timer_user_tinterrupt()
1441 r->val += ticks; in snd_timer_user_tinterrupt()
1449 r1.val = ticks; in snd_timer_user_tinterrupt()
1502 tu->ticks = 1; in snd_timer_user_open()
1846 if (params.ticks < 1) { in snd_timer_user_params()
1853 resolution *= params.ticks; in snd_timer_user_params()
1913 r->ticks = 0; in snd_timer_user_params()
1919 tu->ticks = params.ticks; in snd_timer_user_params()
1985 err = snd_timer_start(tu->timeri, tu->ticks); in snd_timer_user_start()