Home
last modified time | relevance | path

Searched refs:timeri (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/sound/core/ !
Dtimer.c70 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 …]
Dtimer_compat.c55 if (!tu->timeri) in snd_timer_user_info_compat()
57 t = tu->timeri->timer; in snd_timer_user_info_compat()
/linux-5.19.10/include/sound/ !
Dtimer.h88 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-5.19.10/sound/core/seq/ !
Dseq_timer.c120 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 if (tmr->timeri) in snd_seq_timer_open()
303 tmr->timeri = t; in snd_seq_timer_open()
322 t = tmr->timeri; in snd_seq_timer_close()
323 tmr->timeri = NULL; in snd_seq_timer_close()
334 if (! tmr->timeri) in seq_timer_stop()
339 snd_timer_pause(tmr->timeri); in seq_timer_stop()
359 t = tmr->timeri->timer; in initialize_timer()
[all …]
Dseq_timer.h33 struct snd_timer_instance *timeri; /* timer instance */ member
/linux-5.19.10/sound/drivers/ !
Daloop.c787 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 …]