Lines Matching refs:timeout
162 int timeout, i; in c2port_write_dr() local
190 timeout = 20; in c2port_write_dr()
197 } while (--timeout > 0); in c2port_write_dr()
198 if (timeout == 0) in c2port_write_dr()
210 int timeout, i; in c2port_read_dr() local
230 timeout = 20; in c2port_read_dr()
237 } while (--timeout > 0); in c2port_read_dr()
238 if (timeout == 0) in c2port_read_dr()
260 int ret, timeout = 20; in c2port_poll_in_busy() local
271 } while (--timeout > 0); in c2port_poll_in_busy()
272 if (timeout == 0) in c2port_poll_in_busy()
281 int ret, timeout = 10000; /* erase flash needs long time... */ in c2port_poll_out_ready() local
292 } while (--timeout > 0); in c2port_poll_out_ready()
293 if (timeout == 0) in c2port_poll_out_ready()