Lines Matching refs:timeout
17 int timeout;
19 for (timeout = 1000; timeout > 0; timeout--) {
24 if (timeout <= 0)
25 dev_err(bus->dev, "CORB reset timeout#1, CORBRP = %d\n",
29 for (timeout = 1000; timeout > 0; timeout--) {
34 if (timeout <= 0)
35 dev_err(bus->dev, "CORB reset timeout#2, CORBRP = %d\n",
96 unsigned long timeout;
98 timeout = jiffies + msecs_to_jiffies(100);
100 && time_before(jiffies, timeout))
103 timeout = jiffies + msecs_to_jiffies(100);
105 && time_before(jiffies, timeout))
143 int timeout = 50;
145 while (timeout--) {
155 dev_dbg_ratelimited(bus->dev, "get_response_pio timeout: IRS=%#x\n",
173 int timeout = 50;
178 while (timeout--) {
193 dev_dbg_ratelimited(bus->dev, "send_cmd_pio timeout: IRS=%#x, val=%#x\n",
327 unsigned long timeout;
333 timeout = jiffies + msecs_to_jiffies(1000);
351 if (time_after(jiffies, timeout))
504 unsigned long timeout;
509 timeout = jiffies + msecs_to_jiffies(100);
511 time_before(jiffies, timeout))
524 unsigned long timeout;
528 timeout = jiffies + msecs_to_jiffies(100);
529 while (!snd_hdac_chip_readb(bus, GCTL) && time_before(jiffies, timeout))