Lines Matching refs:uart_8250_port
336 static u32 default_serial_dl_read(struct uart_8250_port *up) in default_serial_dl_read()
346 static void default_serial_dl_write(struct uart_8250_port *up, u32 value) in default_serial_dl_write()
430 struct uart_8250_port *up = up_to_u8250p(p); in set_io_from_upio()
491 static void serial8250_clear_fifos(struct uart_8250_port *p) in serial8250_clear_fifos()
504 void serial8250_clear_and_reinit_fifos(struct uart_8250_port *p) in serial8250_clear_and_reinit_fifos()
511 void serial8250_rpm_get(struct uart_8250_port *p) in serial8250_rpm_get()
519 void serial8250_rpm_put(struct uart_8250_port *p) in serial8250_rpm_put()
548 static int serial8250_em485_init(struct uart_8250_port *p) in serial8250_em485_init()
590 void serial8250_em485_destroy(struct uart_8250_port *p) in serial8250_em485_destroy()
624 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_em485_config()
650 void serial8250_rpm_get_tx(struct uart_8250_port *p) in serial8250_rpm_get_tx()
664 void serial8250_rpm_put_tx(struct uart_8250_port *p) in serial8250_rpm_put_tx()
684 static void serial8250_set_sleep(struct uart_8250_port *p, int sleep) in serial8250_set_sleep()
712 static void serial8250_clear_IER(struct uart_8250_port *up) in serial8250_clear_IER()
725 static int __enable_rsa(struct uart_8250_port *up) in __enable_rsa()
745 static void enable_rsa(struct uart_8250_port *up) in enable_rsa()
764 static void disable_rsa(struct uart_8250_port *up) in disable_rsa()
793 static int size_fifo(struct uart_8250_port *up) in size_fifo()
830 static unsigned int autoconfig_read_divisor_id(struct uart_8250_port *p) in autoconfig_read_divisor_id()
857 static void autoconfig_has_efr(struct uart_8250_port *up) in autoconfig_has_efr()
945 static void autoconfig_8250(struct uart_8250_port *up) in autoconfig_8250()
962 static int broken_efr(struct uart_8250_port *up) in broken_efr()
981 static void autoconfig_16550a(struct uart_8250_port *up) in autoconfig_16550a()
1155 static void autoconfig(struct uart_8250_port *up) in autoconfig()
1324 static void autoconfig_irq(struct uart_8250_port *up) in autoconfig_irq()
1390 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_stop_rx()
1410 void serial8250_em485_stop_tx(struct uart_8250_port *p) in serial8250_em485_stop_tx()
1441 struct uart_8250_port *p = em485->port; in serial8250_em485_handle_stop_tx()
1462 static void __stop_tx_rs485(struct uart_8250_port *p, u64 stop_delay) in __stop_tx_rs485()
1485 static inline void __stop_tx(struct uart_8250_port *p) in __stop_tx()
1525 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_stop_tx()
1542 struct uart_8250_port *up = up_to_u8250p(port); in __start_tx()
1575 void serial8250_em485_start_tx(struct uart_8250_port *up) in serial8250_em485_start_tx()
1593 struct uart_8250_port *up = up_to_u8250p(port); in start_tx_rs485()
1630 struct uart_8250_port *p = em485->port; in serial8250_em485_handle_start_tx()
1645 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_start_tx()
1676 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_disable_ms()
1693 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_enable_ms()
1711 void serial8250_read_char(struct uart_8250_port *up, u16 lsr) in serial8250_read_char()
1779 u16 serial8250_rx_chars(struct uart_8250_port *up, u16 lsr) in serial8250_rx_chars()
1796 void serial8250_tx_chars(struct uart_8250_port *up) in serial8250_tx_chars()
1856 unsigned int serial8250_modem_status(struct uart_8250_port *up) in serial8250_modem_status()
1881 static bool handle_rx_dma(struct uart_8250_port *up, unsigned int iir) in handle_rx_dma()
1912 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_handle_irq()
1963 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_default_handle_irq()
1989 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_tx_threshold_handle_irq()
2002 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_tx_empty()
2020 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_do_get_mctrl()
2045 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_do_set_mctrl()
2069 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_break_ctl()
2083 static void wait_for_lsr(struct uart_8250_port *up, int bits) in wait_for_lsr()
2103 static void wait_for_xmitr(struct uart_8250_port *up, int bits) in wait_for_xmitr()
2130 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_get_poll_char()
2154 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_put_poll_char()
2190 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_do_startup()
2493 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_do_shutdown()
2557 static unsigned int npcm_get_divisor(struct uart_8250_port *up, in npcm_get_divisor()
2570 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_do_get_divisor()
2633 static unsigned char serial8250_compute_lcr(struct uart_8250_port *up, in serial8250_compute_lcr()
2655 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_do_set_divisor()
2725 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_update_uartclk()
2778 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_do_set_termios()
2953 struct uart_8250_port *p = up_to_u8250p(port); in serial8250_do_pm()
2969 static unsigned int serial8250_port_size(struct uart_8250_port *pt) in serial8250_port_size()
2982 static int serial8250_request_std_resource(struct uart_8250_port *up) in serial8250_request_std_resource()
3023 static void serial8250_release_std_resource(struct uart_8250_port *up) in serial8250_release_std_resource()
3055 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_release_port()
3062 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_request_port()
3067 static int fcr_get_rxtrig_bytes(struct uart_8250_port *up) in fcr_get_rxtrig_bytes()
3077 static int bytes_to_fcr_rxtrig(struct uart_8250_port *up, unsigned char bytes) in bytes_to_fcr_rxtrig()
3098 struct uart_8250_port *up = up_to_u8250p(uport); in do_get_rxtrig()
3134 struct uart_8250_port *up = up_to_u8250p(uport); in do_set_rxtrig()
3194 static void register_dev_spec_attr_grp(struct uart_8250_port *up) in register_dev_spec_attr_grp()
3204 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_config_port()
3282 void serial8250_init_port(struct uart_8250_port *up) in serial8250_init_port()
3296 void serial8250_set_defaults(struct uart_8250_port *up) in serial8250_set_defaults()
3327 struct uart_8250_port *up = up_to_u8250p(port); in serial8250_console_putchar()
3336 static void serial8250_console_restore(struct uart_8250_port *up) in serial8250_console_restore()
3365 static void serial8250_console_fifo_write(struct uart_8250_port *up, in serial8250_console_fifo_write()
3397 void serial8250_console_write(struct uart_8250_port *up, const char *s, in serial8250_console_write()