• Home
  • Raw
  • Download

Lines Matching defs:uart

36 #define UART_GET_CHAR(uart)     bfin_read16(((uart)->port.membase + OFFSET_RBR))  argument
37 #define UART_GET_DLL(uart) bfin_read16(((uart)->port.membase + OFFSET_DLL)) argument
38 #define UART_GET_IER(uart) bfin_read16(((uart)->port.membase + OFFSET_IER)) argument
39 #define UART_GET_DLH(uart) bfin_read16(((uart)->port.membase + OFFSET_DLH)) argument
40 #define UART_GET_IIR(uart) bfin_read16(((uart)->port.membase + OFFSET_IIR)) argument
41 #define UART_GET_LCR(uart) bfin_read16(((uart)->port.membase + OFFSET_LCR)) argument
42 #define UART_GET_GCTL(uart) bfin_read16(((uart)->port.membase + OFFSET_GCTL)) argument
44 #define UART_PUT_CHAR(uart,v) bfin_write16(((uart)->port.membase + OFFSET_THR),v) argument
45 #define UART_PUT_DLL(uart,v) bfin_write16(((uart)->port.membase + OFFSET_DLL),v) argument
46 #define UART_PUT_IER(uart,v) bfin_write16(((uart)->port.membase + OFFSET_IER),v) argument
47 #define UART_SET_IER(uart,v) UART_PUT_IER(uart, UART_GET_IER(uart) | (v)) argument
48 #define UART_CLEAR_IER(uart,v) UART_PUT_IER(uart, UART_GET_IER(uart) & ~(v)) argument
49 #define UART_PUT_DLH(uart,v) bfin_write16(((uart)->port.membase + OFFSET_DLH),v) argument
50 #define UART_PUT_LCR(uart,v) bfin_write16(((uart)->port.membase + OFFSET_LCR),v) argument
51 #define UART_PUT_GCTL(uart,v) bfin_write16(((uart)->port.membase + OFFSET_GCTL),v) argument
53 #define UART_SET_DLAB(uart) do { UART_PUT_LCR(uart, UART_GET_LCR(uart) | DLAB); SSYNC(); } whil… argument
54 #define UART_CLEAR_DLAB(uart) do { UART_PUT_LCR(uart, UART_GET_LCR(uart) & ~DLAB); SSYNC(); } whi… argument
103 static inline unsigned int UART_GET_LSR(struct bfin_serial_port *uart) in UART_GET_LSR()
110 static inline void UART_CLEAR_LSR(struct bfin_serial_port *uart) in UART_CLEAR_LSR()
146 static void bfin_serial_hw_init(struct bfin_serial_port *uart) in bfin_serial_hw_init()