Lines Matching defs:tmo
1481 unsigned long tmo;
1516 tmo = (diff * HZ) / dmabuf->rate;
1518 tmo = (dmabuf->dmasize * HZ) / dmabuf->rate;
1520 tmo >>= sample_shift[dmabuf->fmt];
1521 if (!schedule_timeout(tmo ? tmo : 1) && tmo) {
1893 unsigned long tmo;
1907 tmo = (dmabuf->dmasize * HZ) / (dmabuf->rate * 2);
1908 tmo >>= sample_shift[dmabuf->fmt];
1916 if (!interruptible_sleep_on_timeout(&dmabuf->wait, tmo)) {
2019 unsigned long tmo;
2032 tmo = (dmabuf->dmasize * HZ) / (dmabuf->rate * 2);
2033 tmo >>= sample_shift[dmabuf->fmt];
2047 if (!interruptible_sleep_on_timeout(&dmabuf->wait, tmo)) {