Lines Matching refs:uart_8250_port

325 static u32 default_serial_dl_read(struct uart_8250_port *up)
335 static void default_serial_dl_write(struct uart_8250_port *up, u32 value)
419 struct uart_8250_port *up = up_to_u8250p(p);
480 static void serial8250_clear_fifos(struct uart_8250_port *p)
493 void serial8250_clear_and_reinit_fifos(struct uart_8250_port *p)
500 void serial8250_rpm_get(struct uart_8250_port *p)
508 void serial8250_rpm_put(struct uart_8250_port *p)
518 * serial8250_em485_init() - put uart_8250_port into rs485 emulating
519 * @p: uart_8250_port port instance
522 * &struct uart_8250_port* @p. Namely, RTS is switched before/after
537 static int serial8250_em485_init(struct uart_8250_port *p)
567 * serial8250_em485_destroy() - put uart_8250_port into normal state
568 * @p: uart_8250_port port instance
571 * &struct uart_8250_port* @p. The function is idempotent, so it is safe to
579 void serial8250_em485_destroy(struct uart_8250_port *p)
613 struct uart_8250_port *up = up_to_u8250p(port);
639 void serial8250_rpm_get_tx(struct uart_8250_port *p)
653 void serial8250_rpm_put_tx(struct uart_8250_port *p)
673 static void serial8250_set_sleep(struct uart_8250_port *p, int sleep)
701 static void serial8250_clear_IER(struct uart_8250_port *up)
714 static int __enable_rsa(struct uart_8250_port *up)
734 static void enable_rsa(struct uart_8250_port *up)
753 static void disable_rsa(struct uart_8250_port *up)
782 static int size_fifo(struct uart_8250_port *up)
819 static unsigned int autoconfig_read_divisor_id(struct uart_8250_port *p)
846 static void autoconfig_has_efr(struct uart_8250_port *up)
934 static void autoconfig_8250(struct uart_8250_port *up)
951 static int broken_efr(struct uart_8250_port *up)
970 static void autoconfig_16550a(struct uart_8250_port *up)
1143 static void autoconfig(struct uart_8250_port *up)
1312 static void autoconfig_irq(struct uart_8250_port *up)
1372 struct uart_8250_port *up = up_to_u8250p(port);
1392 void serial8250_em485_stop_tx(struct uart_8250_port *p)
1423 struct uart_8250_port *p = em485->port;
1444 static void __stop_tx_rs485(struct uart_8250_port *p, u64 stop_delay)
1467 static inline void __stop_tx(struct uart_8250_port *p)
1507 struct uart_8250_port *up = up_to_u8250p(port);
1524 struct uart_8250_port *up = up_to_u8250p(port);
1557 void serial8250_em485_start_tx(struct uart_8250_port *up)
1575 struct uart_8250_port *up = up_to_u8250p(port);
1612 struct uart_8250_port *p = em485->port;
1627 struct uart_8250_port *up = up_to_u8250p(port);
1658 struct uart_8250_port *up = up_to_u8250p(port);
1675 struct uart_8250_port *up = up_to_u8250p(port);
1693 void serial8250_read_char(struct uart_8250_port *up, u16 lsr)
1761 u16 serial8250_rx_chars(struct uart_8250_port *up, u16 lsr)
1778 void serial8250_tx_chars(struct uart_8250_port *up)
1838 unsigned int serial8250_modem_status(struct uart_8250_port *up)
1863 static bool handle_rx_dma(struct uart_8250_port *up, unsigned int iir)
1894 struct uart_8250_port *up = up_to_u8250p(port);
1945 struct uart_8250_port *up = up_to_u8250p(port);
1971 struct uart_8250_port *up = up_to_u8250p(port);
1984 struct uart_8250_port *up = up_to_u8250p(port);
2002 struct uart_8250_port *up = up_to_u8250p(port);
2027 struct uart_8250_port *up = up_to_u8250p(port);
2051 struct uart_8250_port *up = up_to_u8250p(port);
2065 static void wait_for_lsr(struct uart_8250_port *up, int bits)
2085 static void wait_for_xmitr(struct uart_8250_port *up, int bits)
2112 struct uart_8250_port *up = up_to_u8250p(port);
2136 struct uart_8250_port *up = up_to_u8250p(port);
2172 struct uart_8250_port *up = up_to_u8250p(port);
2466 struct uart_8250_port *up = up_to_u8250p(port);
2534 struct uart_8250_port *up = up_to_u8250p(port);
2595 static unsigned char serial8250_compute_lcr(struct uart_8250_port *up,
2617 struct uart_8250_port *up = up_to_u8250p(port);
2722 struct uart_8250_port *up = up_to_u8250p(port);
2897 struct uart_8250_port *p = up_to_u8250p(port);
2913 static unsigned int serial8250_port_size(struct uart_8250_port *pt)
2926 static int serial8250_request_std_resource(struct uart_8250_port *up)
2967 static void serial8250_release_std_resource(struct uart_8250_port *up)
2999 struct uart_8250_port *up = up_to_u8250p(port);
3006 struct uart_8250_port *up = up_to_u8250p(port);
3011 static int fcr_get_rxtrig_bytes(struct uart_8250_port *up)
3021 static int bytes_to_fcr_rxtrig(struct uart_8250_port *up, unsigned char bytes)
3042 struct uart_8250_port *up = up_to_u8250p(uport);
3078 struct uart_8250_port *up = up_to_u8250p(uport);
3138 static void register_dev_spec_attr_grp(struct uart_8250_port *up)
3148 struct uart_8250_port *up = up_to_u8250p(port);
3226 void serial8250_init_port(struct uart_8250_port *up)
3240 void serial8250_set_defaults(struct uart_8250_port *up)
3271 struct uart_8250_port *up = up_to_u8250p(port);
3280 static void serial8250_console_restore(struct uart_8250_port *up)
3309 static void serial8250_console_fifo_write(struct uart_8250_port *up,
3341 void serial8250_console_write(struct uart_8250_port *up, const char *s,