Lines Matching refs:timeout
383 rawir.timeout = true;
384 rawir.duration = rr3->rc->timeout;
385 dev_dbg(dev, "storing trailing timeout with duration %d\n",
472 u32 timeout = MS_TO_US(150); /* a sane default, if things go haywire */
478 return timeout;
485 dev_warn(rr3->dev, "Failed to read timeout from hardware\n");
487 timeout = redrat3_len_to_us(be32_to_cpup(tmp));
489 dev_dbg(rr3->dev, "Got timeout of %d ms\n", timeout / 1000);
494 return timeout;
502 __be32 *timeout;
505 timeout = kmalloc(sizeof(*timeout), GFP_KERNEL);
506 if (!timeout)
509 *timeout = cpu_to_be32(redrat3_us_to_len(timeoutus));
512 RR3_IR_IO_SIG_TIMEOUT, 0, timeout, sizeof(*timeout),
514 dev_dbg(dev, "set ir parm timeout %d ret 0x%02x\n",
515 be32_to_cpu(*timeout), ret);
517 if (ret == sizeof(*timeout))
522 kfree(timeout);
951 rc->timeout = redrat3_get_timeout(rr3);