Searched refs:timeri (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/sound/core/ |
D | timer.c | 70 struct snd_timer_instance *timeri; member 140 struct snd_timer_instance *timeri; in snd_timer_instance_new() local 142 timeri = kzalloc(sizeof(*timeri), GFP_KERNEL); in snd_timer_instance_new() 143 if (timeri == NULL) in snd_timer_instance_new() 145 timeri->owner = kstrdup(owner, GFP_KERNEL); in snd_timer_instance_new() 146 if (! timeri->owner) { in snd_timer_instance_new() 147 kfree(timeri); in snd_timer_instance_new() 150 INIT_LIST_HEAD(&timeri->open_list); in snd_timer_instance_new() 151 INIT_LIST_HEAD(&timeri->active_list); in snd_timer_instance_new() 152 INIT_LIST_HEAD(&timeri->ack_list); in snd_timer_instance_new() [all …]
|
D | timer_compat.c | 55 if (!tu->timeri) in snd_timer_user_info_compat() 57 t = tu->timeri->timer; in snd_timer_user_info_compat()
|
/Linux-v5.10/include/sound/ |
D | timer.h | 88 void (*callback) (struct snd_timer_instance *timeri, 90 void (*ccallback) (struct snd_timer_instance * timeri, 94 void (*disconnect)(struct snd_timer_instance *timeri); 122 void snd_timer_instance_free(struct snd_timer_instance *timeri); 123 int snd_timer_open(struct snd_timer_instance *timeri, struct snd_timer_id *tid, unsigned int slave_… 124 void snd_timer_close(struct snd_timer_instance *timeri); 125 unsigned long snd_timer_resolution(struct snd_timer_instance *timeri); 126 int snd_timer_start(struct snd_timer_instance *timeri, unsigned int ticks); 127 int snd_timer_stop(struct snd_timer_instance *timeri); 128 int snd_timer_continue(struct snd_timer_instance *timeri); [all …]
|
/Linux-v5.10/sound/core/seq/ |
D | seq_timer.c | 120 static void snd_seq_timer_interrupt(struct snd_timer_instance *timeri, in snd_seq_timer_interrupt() argument 125 struct snd_seq_queue *q = timeri->callback_data; in snd_seq_timer_interrupt() 268 if (tmr->timeri) in snd_seq_timer_open() 300 tmr->timeri = t; in snd_seq_timer_open() 314 t = tmr->timeri; in snd_seq_timer_close() 315 tmr->timeri = NULL; in snd_seq_timer_close() 326 if (! tmr->timeri) in seq_timer_stop() 331 snd_timer_pause(tmr->timeri); in seq_timer_stop() 351 t = tmr->timeri->timer; in initialize_timer() 365 unsigned long r = snd_timer_resolution(tmr->timeri); in initialize_timer() [all …]
|
D | seq_timer.h | 33 struct snd_timer_instance *timeri; /* timer instance */ member
|
/Linux-v5.10/sound/drivers/ |
D | aloop.c | 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() [all …]
|