Lines Matching refs:uart_port
27 static int scif_rxfill(struct uart_port *port) in scif_rxfill()
32 static int scif_rxfill(struct uart_port *port) in scif_rxfill()
44 static int scif_rxfill(struct uart_port *port) in scif_rxfill()
52 static int scif_rxfill(struct uart_port *port) in scif_rxfill()
58 static void sh_serial_init_generic(struct uart_port *port) in sh_serial_init_generic()
70 sh_serial_setbrg_generic(struct uart_port *port, int clk, int baudrate) in sh_serial_setbrg_generic()
82 static void handle_error(struct uart_port *port) in handle_error()
90 static int serial_raw_putc(struct uart_port *port, const char c) in serial_raw_putc()
102 static int serial_rx_fifo_level(struct uart_port *port) in serial_rx_fifo_level()
107 static int sh_serial_tstc_generic(struct uart_port *port) in sh_serial_tstc_generic()
117 static int serial_getc_check(struct uart_port *port) in serial_getc_check()
130 static int sh_serial_getc_generic(struct uart_port *port) in sh_serial_getc_generic()
156 struct uart_port *priv = dev_get_priv(dev); in sh_serial_pending()
163 struct uart_port *priv = dev_get_priv(dev); in sh_serial_putc()
170 struct uart_port *priv = dev_get_priv(dev); in sh_serial_getc()
178 struct uart_port *priv = dev_get_priv(dev); in sh_serial_setbrg()
188 struct uart_port *priv = dev_get_priv(dev); in sh_serial_probe()
249 .priv_auto_alloc_size = sizeof(struct uart_port),
282 static struct uart_port sh_sci = {
294 struct uart_port *port = &sh_sci; in sh_serial_setbrg()
301 struct uart_port *port = &sh_sci; in sh_serial_init()
311 struct uart_port *port = &sh_sci; in sh_serial_putc()
327 struct uart_port *port = &sh_sci; in sh_serial_tstc()
334 struct uart_port *port = &sh_sci; in sh_serial_getc()