Home
last modified time | relevance | path

Searched refs:tu (Results 1 – 2 of 2) sorted by relevance

/sound/core/
Dtimer.c1133 struct snd_timer_user *tu = timeri->callback_data; in snd_timer_user_interrupt() local
1137 spin_lock(&tu->qlock); in snd_timer_user_interrupt()
1138 if (tu->qused > 0) { in snd_timer_user_interrupt()
1139 prev = tu->qtail == 0 ? tu->queue_size - 1 : tu->qtail - 1; in snd_timer_user_interrupt()
1140 r = &tu->queue[prev]; in snd_timer_user_interrupt()
1146 if (tu->qused >= tu->queue_size) { in snd_timer_user_interrupt()
1147 tu->overrun++; in snd_timer_user_interrupt()
1149 r = &tu->queue[tu->qtail++]; in snd_timer_user_interrupt()
1150 tu->qtail %= tu->queue_size; in snd_timer_user_interrupt()
1153 tu->qused++; in snd_timer_user_interrupt()
[all …]
Dtimer_compat.c38 struct snd_timer_user *tu; in snd_timer_user_info_compat() local
42 tu = file->private_data; in snd_timer_user_info_compat()
43 if (snd_BUG_ON(!tu->timeri)) in snd_timer_user_info_compat()
45 t = tu->timeri->timer; in snd_timer_user_info_compat()
72 struct snd_timer_user *tu; in snd_timer_user_status_compat() local
75 tu = file->private_data; in snd_timer_user_status_compat()
76 if (snd_BUG_ON(!tu->timeri)) in snd_timer_user_status_compat()
79 status.tstamp = tu->tstamp; in snd_timer_user_status_compat()
80 status.resolution = snd_timer_resolution(tu->timeri); in snd_timer_user_status_compat()
81 status.lost = tu->timeri->lost; in snd_timer_user_status_compat()
[all …]