Lines Matching defs:timeout

58 static int mips_readchar (int timeout);
61 int ch, int timeout);
64 int *pch, int timeout);
73 static int mips_receive_packet (char *buff, int throw_error, int timeout);
76 int *perr, int timeout, char *buff);
191 received within a timeout period, the packet should be
537 timed out. TIMEOUT specifies timeout value in seconds.
541 mips_expect_timeout (const char *string, int timeout)
560 c = serial_readchar (mips_desc, timeout);
592 timed out. The timeout value is hard-coded to 2 seconds. Use
593 mips_expect_timeout if a different timeout value is needed.
603 SERIAL_TIMEOUT on timeout (since that's what serial_readchar()
617 mips_readchar (int timeout)
626 i = timeout;
632 timeout = 1;
633 ch = serial_readchar (mips_desc, timeout);
635 if (ch == SERIAL_TIMEOUT && timeout == -1) /* Watchdog went off */
692 or -1 for timeout. */
695 mips_receive_header (unsigned char *hdr, int *pgarbage, int ch, int timeout)
707 ch = mips_readchar (timeout);
744 ch = mips_readchar (timeout);
764 for success, -1 for timeout, -2 for error. */
767 mips_receive_trailer (unsigned char *trlr, int *pgarbage, int *pch, int timeout)
774 ch = mips_readchar (timeout);
980 mips_receive_packet (char *buff, int throw_error, int timeout)
997 if (mips_receive_header (hdr, &garbage, ch, timeout) != 0)
1017 (void) mips_receive_trailer (trlr, &garbage, &ch, timeout);
1031 rch = mips_readchar (timeout);
1058 err = mips_receive_trailer (trlr, &garbage, &ch, timeout);
1201 int timeout,
1233 len = mips_receive_packet (buff, 1, timeout);
1734 /* No timeout; we sit here as long as the program continues to execute. */
3064 The timeout value for use in the tftp case (15 seconds) was picked
3378 (add_set_cmd ("timeout", no_class, var_zinteger,
3380 "Set timeout in seconds for remote MIPS serial I/O.",
3385 (add_set_cmd ("retransmit-timeout", no_class, var_zinteger,
3387 Set retransmit timeout in seconds for remote MIPS serial I/O.\n\