Home
last modified time | relevance | path

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

/sound/core/
Dtimer.c957 struct snd_timer_user *tu = ti->callback_data; in snd_timer_dev_disconnect() local
959 tu->disconnected = true; in snd_timer_dev_disconnect()
960 wake_up(&tu->qchange_sleep); in snd_timer_dev_disconnect()
1205 struct snd_timer_user *tu = timeri->callback_data; in snd_timer_user_interrupt() local
1209 spin_lock(&tu->qlock); in snd_timer_user_interrupt()
1210 if (tu->qused > 0) { in snd_timer_user_interrupt()
1211 prev = tu->qtail == 0 ? tu->queue_size - 1 : tu->qtail - 1; in snd_timer_user_interrupt()
1212 r = &tu->queue[prev]; in snd_timer_user_interrupt()
1218 if (tu->qused >= tu->queue_size) { in snd_timer_user_interrupt()
1219 tu->overrun++; 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 (!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 (!tu->timeri) in snd_timer_user_status_compat()
79 status.tstamp.tv_sec = tu->tstamp.tv_sec; in snd_timer_user_status_compat()
80 status.tstamp.tv_nsec = tu->tstamp.tv_nsec; in snd_timer_user_status_compat()
81 status.resolution = snd_timer_resolution(tu->timeri); in snd_timer_user_status_compat()
[all …]