Lines Matching refs:nwpserial_port
34 struct nwpserial_port { struct
42 static struct nwpserial_port nwpserial_ports[NWPSERIAL_NR]; argument
44 static void wait_for_bits(struct nwpserial_port *up, int bits) in wait_for_bits()
61 struct nwpserial_port *up; in nwpserial_console_putchar()
62 up = container_of(port, struct nwpserial_port, port); in nwpserial_console_putchar()
72 struct nwpserial_port *up = &nwpserial_ports[co->index]; in nwpserial_console_write()
131 struct nwpserial_port *up = dev_id; in nwpserial_interrupt()
168 struct nwpserial_port *up; in nwpserial_startup()
171 up = container_of(port, struct nwpserial_port, port); in nwpserial_startup()
195 struct nwpserial_port *up; in nwpserial_shutdown()
196 up = container_of(port, struct nwpserial_port, port); in nwpserial_shutdown()
223 struct nwpserial_port *up; in nwpserial_set_termios()
224 up = container_of(port, struct nwpserial_port, port); in nwpserial_set_termios()
246 struct nwpserial_port *up; in nwpserial_stop_rx()
247 up = container_of(port, struct nwpserial_port, port); in nwpserial_stop_rx()
252 static void nwpserial_putchar(struct nwpserial_port *up, unsigned char c) in nwpserial_putchar()
262 struct nwpserial_port *up; in nwpserial_start_tx()
264 up = container_of(port, struct nwpserial_port, port); in nwpserial_start_tx()
295 struct nwpserial_port *up; in nwpserial_tx_empty()
298 up = container_of(port, struct nwpserial_port, port); in nwpserial_tx_empty()
337 struct nwpserial_port *up = NULL; in nwpserial_register_port()
421 struct nwpserial_port *up = &nwpserial_ports[line]; in nwpserial_unregister_port()
434 struct nwpserial_port *up = NULL; in nwpserial_console_init()