Lines Matching defs:ops
211 struct serial_ops *ops = XMALLOC (struct serial_ops);
212 memset (ops, 0, sizeof (struct serial_ops));
213 ops->name = "tcp";
214 ops->next = 0;
215 ops->open = net_open;
216 ops->close = net_close;
217 ops->readchar = ser_unix_readchar;
218 ops->write = ser_unix_write;
219 ops->flush_output = ser_unix_nop_flush_output;
220 ops->flush_input = ser_unix_flush_input;
221 ops->send_break = ser_unix_nop_send_break;
222 ops->go_raw = ser_unix_nop_raw;
223 ops->get_tty_state = ser_unix_nop_get_tty_state;
224 ops->set_tty_state = ser_unix_nop_set_tty_state;
225 ops->print_tty_state = ser_unix_nop_print_tty_state;
226 ops->noflush_set_tty_state = ser_unix_nop_noflush_set_tty_state;
227 ops->setbaudrate = ser_unix_nop_setbaudrate;
228 ops->setstopbits = ser_unix_nop_setstopbits;
229 ops->drain_output = ser_unix_nop_drain_output;
230 ops->async = ser_unix_async;
231 serial_add_interface (ops);