Home
last modified time | relevance | path

Searched refs:ti (Results 1 – 9 of 9) sorted by relevance

/sound/pci/ctxfi/
Dcttimer.c68 struct ct_timer_instance *ti = (struct ct_timer_instance *)data; in ct_systimer_callback() local
69 struct snd_pcm_substream *substream = ti->substream; in ct_systimer_callback()
71 struct ct_atc_pcm *apcm = ti->apcm; in ct_systimer_callback()
78 dist = (position + buffer_size - ti->position) % buffer_size; in ct_systimer_callback()
80 position / period_size != ti->position / period_size) { in ct_systimer_callback()
82 ti->position = position; in ct_systimer_callback()
88 spin_lock_irqsave(&ti->lock, flags); in ct_systimer_callback()
89 if (ti->running) in ct_systimer_callback()
90 mod_timer(&ti->timer, jiffies + interval); in ct_systimer_callback()
91 spin_unlock_irqrestore(&ti->lock, flags); in ct_systimer_callback()
[all …]
Dcttimer.h24 void ct_timer_instance_free(struct ct_timer_instance *ti);
25 void ct_timer_start(struct ct_timer_instance *ti);
26 void ct_timer_stop(struct ct_timer_instance *ti);
27 void ct_timer_prepare(struct ct_timer_instance *ti);
/sound/core/
Dtimer.c238 int snd_timer_open(struct snd_timer_instance **ti, in snd_timer_open() argument
265 *ti = timeri; in snd_timer_open()
320 *ti = timeri; in snd_timer_open()
409 static void snd_timer_notify1(struct snd_timer_instance *ti, int event) in snd_timer_notify1() argument
425 resolution = snd_timer_resolution(ti); in snd_timer_notify1()
426 if (ti->ccallback) in snd_timer_notify1()
427 ti->ccallback(ti, event, &tstamp, resolution); in snd_timer_notify1()
428 if (ti->flags & SNDRV_TIMER_IFLG_SLAVE) in snd_timer_notify1()
430 timer = ti->timer; in snd_timer_notify1()
436 list_for_each_entry(ts, &ti->slave_active_head, active_list) in snd_timer_notify1()
[all …]
/sound/core/seq/
Dseq_timer.c487 struct snd_timer_instance *ti; in snd_seq_info_timer_read() local
498 ti = tmr->timeri; in snd_seq_info_timer_read()
499 if (!ti) in snd_seq_info_timer_read()
501 snd_iprintf(buffer, "Timer for queue %i : %s\n", q->queue, ti->timer->name); in snd_seq_info_timer_read()
502 resolution = snd_timer_resolution(ti) * tmr->ticks; in snd_seq_info_timer_read()
/sound/aoa/soundbus/i2sbus/
Dpcm.c102 struct transfer_info *ti = cii->codec->transfers; in i2sbus_pcm_open() local
105 while (ti->formats && ti->rates) { in i2sbus_pcm_open()
106 v = *ti; in i2sbus_pcm_open()
107 if (ti->transfer_in == in in i2sbus_pcm_open()
108 && cii->codec->usable(cii, ti, &v)) { in i2sbus_pcm_open()
118 ti++; in i2sbus_pcm_open()
/sound/aoa/codecs/
Dtoonie.c56 struct transfer_info *ti, in toonie_usable() argument
Donyx.c671 struct transfer_info *ti, in onyx_usable() argument
687 switch (ti->tag) { in onyx_usable()
Dtas.c666 struct transfer_info *ti, in tas_usable() argument
/sound/aoa/soundbus/
Dsoundbus.h101 struct transfer_info *ti,