Lines Matching defs:io
62 static struct serial *io;
186 int c = serial_readchar (io, timeout);
223 serial_write (io, &val, 1);
239 serial_write (io, b, 4);
270 serial_flush_input (io);
271 serial_flush_output (io);
283 while ((restype = serial_readchar (io, 1)) > 0)
310 while (!sync && (restype = serial_readchar (io, 1)) > 0)
321 while ((restype = serial_readchar (io, 1)) == RDP_RESET)
327 while ((restype = serial_readchar (io, 1)) > 0);
345 int resval = serial_readchar (io, 1);
483 serial_write (io, pc, val);
489 serial_write (io, buf, dst - buf);
1020 res = serial_readchar (io, 1);
1025 res = serial_readchar (io, 1);
1136 io = serial_open (args);
1138 if (!io)
1141 serial_raw (io);
1196 if (io)
1197 serial_close (io);
1198 io = 0;