Lines Matching refs:timeout
254 static int host_read_ctrl_unsafe(unsigned io_base, unsigned timeout)
258 while (((data = host_read_unsafe(io_base)) < 0) && (timeout != 0)) {
260 --timeout;
286 unsigned timeout)
290 while (!(err = host_write_unsafe(io_base, data)) && (timeout != 0)) {
292 --timeout;
347 unsigned timeout)
349 while (!(sscape_read_unsafe(io_base, reg) & 0x01) && (timeout != 0)) {
351 --timeout;
364 static int obp_startup_ack(struct soundscape *s, unsigned timeout)
366 unsigned long end_time = jiffies + msecs_to_jiffies(timeout);
391 static int host_startup_ack(struct soundscape *s, unsigned timeout)
393 unsigned long end_time = jiffies + msecs_to_jiffies(timeout);
543 "sscape: timeout reading firmware version\n");