Lines Matching defs:serial_ops
251 struct serial_ops struct
254 struct serial_ops *next; argument
255 int (*open) (struct serial *, const char *name);
256 void (*close) (struct serial *);
257 int (*fdopen) (struct serial *, int fd);
258 int (*readchar) (struct serial *, int timeout);
259 int (*write) (struct serial *, const char *str, int len);
261 int (*flush_output) (struct serial *);
263 int (*flush_input) (struct serial *);
264 int (*send_break) (struct serial *);
265 void (*go_raw) (struct serial *);
266 serial_ttystate (*get_tty_state) (struct serial *);
267 serial_ttystate (*copy_tty_state) (struct serial *, serial_ttystate);
268 int (*set_tty_state) (struct serial *, serial_ttystate);
269 void (*print_tty_state) (struct serial *, serial_ttystate,
271 int (*noflush_set_tty_state) (struct serial *, serial_ttystate,
273 int (*setbaudrate) (struct serial *, int rate);
274 int (*setstopbits) (struct serial *, int num);
276 int (*drain_output) (struct serial *);
280 void (*async) (struct serial *scb, int async_p);
304 extern void serial_add_interface (struct serial_ops * optable); argument