Lines Matching refs:uart_port
26 static int scif_rxfill(struct uart_port *port) in scif_rxfill()
31 static int scif_rxfill(struct uart_port *port) in scif_rxfill()
43 static int scif_rxfill(struct uart_port *port) in scif_rxfill()
51 static int scif_rxfill(struct uart_port *port) in scif_rxfill()
57 static void sh_serial_init_generic(struct uart_port *port) in sh_serial_init_generic()
69 sh_serial_setbrg_generic(struct uart_port *port, int clk, int baudrate) in sh_serial_setbrg_generic()
81 static void handle_error(struct uart_port *port) in handle_error()
89 static int serial_raw_putc(struct uart_port *port, const char c) in serial_raw_putc()
101 static int serial_rx_fifo_level(struct uart_port *port) in serial_rx_fifo_level()
106 static int sh_serial_tstc_generic(struct uart_port *port) in sh_serial_tstc_generic()
116 static int serial_getc_check(struct uart_port *port) in serial_getc_check()
129 static int sh_serial_getc_generic(struct uart_port *port) in sh_serial_getc_generic()
155 struct uart_port *priv = dev_get_priv(dev); in sh_serial_pending()
162 struct uart_port *priv = dev_get_priv(dev); in sh_serial_putc()
169 struct uart_port *priv = dev_get_priv(dev); in sh_serial_getc()
177 struct uart_port *priv = dev_get_priv(dev); in sh_serial_setbrg()
187 struct uart_port *priv = dev_get_priv(dev); in sh_serial_probe()
251 .priv_auto_alloc_size = sizeof(struct uart_port),
286 static struct uart_port sh_sci = {
298 struct uart_port *port = &sh_sci; in sh_serial_setbrg()
305 struct uart_port *port = &sh_sci; in sh_serial_init()
315 struct uart_port *port = &sh_sci; in sh_serial_putc()
331 struct uart_port *port = &sh_sci; in sh_serial_tstc()
338 struct uart_port *port = &sh_sci; in sh_serial_getc()