Lines Matching refs:timeout
85 static int pcie_poll_cmd(struct controller *ctrl, int timeout)
106 timeout -= 10;
107 } while (timeout >= 0);
108 return 0; /* timeout */
116 unsigned long now, timeout;
135 timeout = 1;
137 timeout = cmd_timeout - now;
141 rc = wait_event_timeout(ctrl->queue, !ctrl->cmd_busy, timeout);
143 rc = pcie_poll_cmd(ctrl, jiffies_to_msecs(timeout));
278 int timeout = 1250;
286 timeout -= 10;
287 } while (timeout > 0);