Lines Matching refs:uart_omap_port
125 struct uart_omap_port { struct
167 #define to_uart_omap_port(p) ((container_of((p), struct uart_omap_port, port))) argument
169 static struct uart_omap_port *ui[OMAP_MAX_HSUART_PORTS];
172 static void serial_omap_mdr1_errataset(struct uart_omap_port *up, u8 mdr1);
174 static inline unsigned int serial_in(struct uart_omap_port *up, int offset) in serial_in()
180 static inline void serial_out(struct uart_omap_port *up, int offset, int value) in serial_out()
186 static inline void serial_omap_clear_fifos(struct uart_omap_port *up) in serial_omap_clear_fifos()
195 static int serial_omap_get_context_loss_count(struct uart_omap_port *up) in serial_omap_get_context_loss_count()
206 static void serial_omap_enable_wakeup(struct uart_omap_port *up, bool enable) in serial_omap_enable_wakeup()
271 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_enable_ms()
281 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_stop_tx()
327 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_stop_rx()
334 static void serial_omap_put_char(struct uart_omap_port *up, unsigned char ch) in serial_omap_put_char()
343 static void transmit_chars(struct uart_omap_port *up, unsigned int lsr) in transmit_chars()
353 static inline void serial_omap_enable_ier_thri(struct uart_omap_port *up) in serial_omap_enable_ier_thri()
363 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_start_tx()
390 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_throttle()
401 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_unthrottle()
410 static unsigned int check_modem_status(struct uart_omap_port *up) in check_modem_status()
438 static void serial_omap_rlsi(struct uart_omap_port *up, unsigned int lsr) in serial_omap_rlsi()
494 static void serial_omap_rdi(struct uart_omap_port *up, unsigned int lsr) in serial_omap_rdi()
524 struct uart_omap_port *up = dev_id; in serial_omap_irq()
577 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_tx_empty()
591 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_get_mctrl()
612 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_set_mctrl()
646 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_break_ctl()
661 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_startup()
734 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_shutdown()
769 struct uart_omap_port *up = container_of(work, struct uart_omap_port, in serial_omap_uart_qos_work()
779 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_set_termios()
1024 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_pm()
1053 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_config_port()
1072 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_type()
1078 static void __maybe_unused wait_for_xmitr(struct uart_omap_port *up) in wait_for_xmitr()
1113 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_poll_put_char()
1121 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_poll_get_char()
1194 static struct uart_omap_port *serial_omap_console_ports[OMAP_MAX_HSUART_PORTS];
1200 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_console_putchar()
1210 struct uart_omap_port *up = serial_omap_console_ports[co->index]; in serial_omap_console_write()
1255 struct uart_omap_port *up; in serial_omap_console_setup()
1281 static void serial_omap_add_console_port(struct uart_omap_port *up) in serial_omap_add_console_port()
1292 static inline void serial_omap_add_console_port(struct uart_omap_port *up) in serial_omap_add_console_port()
1302 struct uart_omap_port *up = to_uart_omap_port(port); in serial_omap_config_rs485()
1370 struct uart_omap_port *up = dev_get_drvdata(dev); in serial_omap_prepare()
1379 struct uart_omap_port *up = dev_get_drvdata(dev); in serial_omap_complete()
1386 struct uart_omap_port *up = dev_get_drvdata(dev); in serial_omap_suspend()
1401 struct uart_omap_port *up = dev_get_drvdata(dev); in serial_omap_resume()
1415 static void omap_serial_fill_features_erratas(struct uart_omap_port *up) in omap_serial_fill_features_erratas()
1493 static int serial_omap_probe_rs485(struct uart_omap_port *up, in serial_omap_probe_rs485()
1547 struct uart_omap_port *up; in serial_omap_probe()
1664 struct uart_omap_port *up = platform_get_drvdata(dev); in serial_omap_remove()
1687 static void serial_omap_mdr1_errataset(struct uart_omap_port *up, u8 mdr1) in serial_omap_mdr1_errataset()
1713 static void serial_omap_restore_context(struct uart_omap_port *up) in serial_omap_restore_context()
1745 struct uart_omap_port *up = dev_get_drvdata(dev); in serial_omap_runtime_suspend()
1772 struct uart_omap_port *up = dev_get_drvdata(dev); in serial_omap_runtime_resume()