Lines Matching refs:timeri
787 static void loopback_snd_timer_function(struct snd_timer_instance *timeri, in loopback_snd_timer_function() argument
791 struct loopback_cable *cable = timeri->callback_data; in loopback_snd_timer_function()
805 static void loopback_snd_timer_event(struct snd_timer_instance *timeri, in loopback_snd_timer_event() argument
823 struct loopback_cable *cable = timeri->callback_data; in loopback_snd_timer_event()
1102 struct snd_timer_instance *timeri; in loopback_snd_timer_open() local
1122 timeri = snd_timer_instance_new(dpcm->loopback->card->id); in loopback_snd_timer_open()
1123 if (!timeri) { in loopback_snd_timer_open()
1135 timeri->flags |= SNDRV_TIMER_IFLG_AUTO; in loopback_snd_timer_open()
1136 timeri->callback = loopback_snd_timer_function; in loopback_snd_timer_open()
1137 timeri->callback_data = (void *)cable; in loopback_snd_timer_open()
1138 timeri->ccallback = loopback_snd_timer_event; in loopback_snd_timer_open()
1154 err = snd_timer_open(timeri, &cable->snd_timer.id, current->pid); in loopback_snd_timer_open()
1162 snd_timer_instance_free(timeri); in loopback_snd_timer_open()
1166 cable->snd_timer.instance = timeri; in loopback_snd_timer_open()