Lines Matching defs:timeout
85 int timeout = 100000;
86 for (; timeout > 0 && snd_mpu401_input_avail(mpu); timeout--)
89 if (timeout <= 0)
90 snd_printk(KERN_ERR "cmd: clear rx timeout (status = 0x%x)\n",
227 int timeout, ok;
236 for (timeout = 1000; timeout > 0 &&
237 !snd_mpu401_output_ready(mpu); timeout--)
240 if (!timeout)
241 snd_printk(KERN_ERR "cmd: tx timeout (status = 0x%x)\n",
248 timeout = 10000;
249 while (!ok && timeout-- > 0) {