Lines Matching refs:t
1421 struct snd_timer *t; in snd_timer_user_ginfo() local
1433 t = snd_timer_find(&tid); in snd_timer_user_ginfo()
1434 if (t != NULL) { in snd_timer_user_ginfo()
1435 ginfo->card = t->card ? t->card->number : -1; in snd_timer_user_ginfo()
1436 if (t->hw.flags & SNDRV_TIMER_HW_SLAVE) in snd_timer_user_ginfo()
1438 strlcpy(ginfo->id, t->id, sizeof(ginfo->id)); in snd_timer_user_ginfo()
1439 strlcpy(ginfo->name, t->name, sizeof(ginfo->name)); in snd_timer_user_ginfo()
1440 ginfo->resolution = t->hw.resolution; in snd_timer_user_ginfo()
1441 if (t->hw.resolution_min > 0) { in snd_timer_user_ginfo()
1442 ginfo->resolution_min = t->hw.resolution_min; in snd_timer_user_ginfo()
1443 ginfo->resolution_max = t->hw.resolution_max; in snd_timer_user_ginfo()
1445 list_for_each(p, &t->open_list_head) { in snd_timer_user_ginfo()
1462 struct snd_timer *t; in snd_timer_user_gparams() local
1468 t = snd_timer_find(&gparams.tid); in snd_timer_user_gparams()
1469 if (!t) { in snd_timer_user_gparams()
1473 if (!list_empty(&t->open_list_head)) { in snd_timer_user_gparams()
1477 if (!t->hw.set_period) { in snd_timer_user_gparams()
1481 err = t->hw.set_period(t, gparams.period_num, gparams.period_den); in snd_timer_user_gparams()
1492 struct snd_timer *t; in snd_timer_user_gstatus() local
1501 t = snd_timer_find(&tid); in snd_timer_user_gstatus()
1502 if (t != NULL) { in snd_timer_user_gstatus()
1503 if (t->hw.c_resolution) in snd_timer_user_gstatus()
1504 gstatus.resolution = t->hw.c_resolution(t); in snd_timer_user_gstatus()
1506 gstatus.resolution = t->hw.resolution; in snd_timer_user_gstatus()
1507 if (t->hw.precise_resolution) { in snd_timer_user_gstatus()
1508 t->hw.precise_resolution(t, &gstatus.resolution_num, in snd_timer_user_gstatus()
1584 struct snd_timer *t; in snd_timer_user_info() local
1590 t = tu->timeri->timer; in snd_timer_user_info()
1591 if (!t) in snd_timer_user_info()
1597 info->card = t->card ? t->card->number : -1; in snd_timer_user_info()
1598 if (t->hw.flags & SNDRV_TIMER_HW_SLAVE) in snd_timer_user_info()
1600 strlcpy(info->id, t->id, sizeof(info->id)); in snd_timer_user_info()
1601 strlcpy(info->name, t->name, sizeof(info->name)); in snd_timer_user_info()
1602 info->resolution = t->hw.resolution; in snd_timer_user_info()
1614 struct snd_timer *t; in snd_timer_user_params() local
1622 t = tu->timeri->timer; in snd_timer_user_params()
1623 if (!t) in snd_timer_user_params()
1627 if (!(t->hw.flags & SNDRV_TIMER_HW_SLAVE) && params.ticks < 1) { in snd_timer_user_params()
1654 spin_lock_irq(&t->lock); in snd_timer_user_params()
1664 spin_unlock_irq(&t->lock); in snd_timer_user_params()