Lines Matching refs:timeout
21 int timeout = 50;
22 while ((in_le32(&chip->awacs->codec_ctrl) & MASK_NEWECMD) && timeout--)
24 if (timeout < 0)
25 printk(KERN_DEBUG "burgundy_busy_wait: timeout\n");
31 int timeout;
32 timeout = 50;
33 while (!(in_le32(&chip->awacs->codec_stat) & MASK_EXTEND) && timeout--)
35 if (timeout < 0)
36 printk(KERN_DEBUG "burgundy_extend_wait: timeout #1\n");
37 timeout = 50;
38 while ((in_le32(&chip->awacs->codec_stat) & MASK_EXTEND) && timeout--)
40 if (timeout < 0)
41 printk(KERN_DEBUG "burgundy_extend_wait: timeout #2\n");