Lines Matching refs:timeout
57 int timeout; in fjes_hw_reset() local
63 timeout = FJES_DEVICE_RESET_TIMEOUT * 1000; in fjes_hw_reset()
65 while ((dctl.bits.reset == 1) && (timeout > 0)) { in fjes_hw_reset()
68 timeout -= 1000; in fjes_hw_reset()
71 return timeout > 0 ? 0 : -EIO; in fjes_hw_reset()
399 int timeout = FJES_COMMAND_REQ_TIMEOUT * 1000; in fjes_hw_issue_request_command() local
408 timeout = FJES_COMMAND_REQ_TIMEOUT * 1000; in fjes_hw_issue_request_command()
411 while ((cs.bits.complete != 1) && timeout > 0) { in fjes_hw_issue_request_command()
414 timeout -= 1000; in fjes_hw_issue_request_command()
419 else if (timeout <= 0) in fjes_hw_issue_request_command()
436 trace_fjes_hw_issue_request_command(&cr, &cs, timeout, ret); in fjes_hw_issue_request_command()
505 int timeout; in fjes_hw_register_buff_addr() local
549 timeout = FJES_COMMAND_REQ_BUFF_TIMEOUT * 1000; in fjes_hw_register_buff_addr()
554 (timeout > 0)) { in fjes_hw_register_buff_addr()
556 timeout -= (200 + hw->my_epid * 20); in fjes_hw_register_buff_addr()
567 trace_fjes_hw_register_buff_addr(res_buf, timeout); in fjes_hw_register_buff_addr()
613 int timeout; in fjes_hw_unregister_buff_addr() local
638 timeout = FJES_COMMAND_REQ_BUFF_TIMEOUT * 1000; in fjes_hw_unregister_buff_addr()
644 (timeout > 0)) { in fjes_hw_unregister_buff_addr()
646 timeout -= (200 + hw->my_epid * 20); in fjes_hw_unregister_buff_addr()
657 trace_fjes_hw_unregister_buff_addr(res_buf, timeout); in fjes_hw_unregister_buff_addr()