Lines Matching defs: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",
95 unsigned long timeout;
97 timeout = jiffies + msecs_to_jiffies(100);
99 && time_before(jiffies, timeout))
102 timeout = jiffies + msecs_to_jiffies(100);
104 && time_before(jiffies, timeout))
141 int timeout = 50;
143 while (timeout--) {
153 dev_dbg_ratelimited(bus->dev, "get_response_pio timeout: IRS=%#x\n",
171 int timeout = 50;
175 while (timeout--) {
189 dev_dbg_ratelimited(bus->dev, "send_cmd_pio timeout: IRS=%#x, val=%#x\n",
316 unsigned long timeout;
322 timeout = jiffies + msecs_to_jiffies(1000);
339 if (time_after(jiffies, timeout))
492 unsigned long timeout;
497 timeout = jiffies + msecs_to_jiffies(100);
499 time_before(jiffies, timeout))
512 unsigned long timeout;
516 timeout = jiffies + msecs_to_jiffies(100);
517 while (!snd_hdac_chip_readb(bus, GCTL) && time_before(jiffies, timeout))