Lines Matching defs:timeout
34 int timeout = 50;
35 while ((in_le32(&chip->awacs->codec_ctrl) & MASK_NEWECMD) && timeout--)
37 if (timeout < 0)
38 printk(KERN_DEBUG "burgundy_busy_wait: timeout\n");
44 int timeout;
45 timeout = 50;
46 while (!(in_le32(&chip->awacs->codec_stat) & MASK_EXTEND) && timeout--)
48 if (timeout < 0)
49 printk(KERN_DEBUG "burgundy_extend_wait: timeout #1\n");
50 timeout = 50;
51 while ((in_le32(&chip->awacs->codec_stat) & MASK_EXTEND) && timeout--)
53 if (timeout < 0)
54 printk(KERN_DEBUG "burgundy_extend_wait: timeout #2\n");