Lines Matching refs:serial
0 /* Serial interface for local (hardwired) serial ports on Un*x like systems
20 #include "serial.h"
52 static void hardwire_raw (struct serial *scb);
54 static void hardwire_setbaudrate (struct serial *scb, int rate);
55 static int hardwire_setparity (struct serial *scb, int parity);
56 static void hardwire_close (struct serial *scb);
57 static int get_tty_state (struct serial *scb,
59 static int set_tty_state (struct serial *scb,
61 static serial_ttystate hardwire_get_tty_state (struct serial *scb);
62 static int hardwire_set_tty_state (struct serial *scb, serial_ttystate state);
63 static void hardwire_print_tty_state (struct serial *, serial_ttystate,
65 static int hardwire_drain_output (struct serial *);
66 static int hardwire_flush_output (struct serial *);
67 static int hardwire_flush_input (struct serial *);
68 static void hardwire_send_break (struct serial *);
69 static int hardwire_setstopbits (struct serial *, int);
71 /* Open up a real live device for serial I/O. */
74 hardwire_open (struct serial *scb, const char *name)
82 get_tty_state (struct serial *scb, struct hardwire_ttystate *state)
91 set_tty_state (struct serial *scb, struct hardwire_ttystate *state)
100 hardwire_get_tty_state (struct serial *scb)
114 hardwire_copy_tty_state (struct serial *scb, serial_ttystate ttystate)
124 hardwire_set_tty_state (struct serial *scb, serial_ttystate ttystate)
134 hardwire_print_tty_state (struct serial *scb,
162 hardwire_drain_output (struct serial *scb)
171 hardwire_flush_output (struct serial *scb)
177 hardwire_flush_input (struct serial *scb)
185 hardwire_send_break (struct serial *scb)
192 hardwire_raw (struct serial *scb)
436 hardwire_setbaudrate (struct serial *scb, int rate)
452 hardwire_setstopbits (struct serial *scb, int num)
484 hardwire_setparity (struct serial *scb, int parity)
516 hardwire_close (struct serial *scb)
565 Set use of hardware flow control for remote serial I/O."), _("\
566 Show use of hardware flow control for remote serial I/O."), _("\
567 Enable or disable hardware flow control (RTS/CTS) on the serial port\n\
576 ser_unix_read_prim (struct serial *scb, size_t count)
585 ser_unix_write_prim (struct serial *scb, const void *buf, size_t len)