Searched refs:port_membase (Results 1 – 1 of 1) sorted by relevance
270 #define port_membase(uart) (((struct bfin_serial_port *)(uart))->port.membase) macro279 #define UART_GET_CHAR(p) bfin_read32(port_membase(p) + OFFSET_RBR)280 #define UART_GET_CLK(p) bfin_read32(port_membase(p) + OFFSET_CLK)281 #define UART_GET_CTL(p) bfin_read32(port_membase(p) + OFFSET_CTL)291 __ret = bfin_read32(port_membase(p) + OFFSET_STAT); \296 #define UART_GET_STAT(p) bfin_read32(port_membase(p) + OFFSET_STAT)300 #define UART_PUT_CHAR(p, v) bfin_write32(port_membase(p) + OFFSET_THR, v)301 #define UART_PUT_CLK(p, v) bfin_write32(port_membase(p) + OFFSET_CLK, v)302 #define UART_PUT_CTL(p, v) bfin_write32(port_membase(p) + OFFSET_CTL, v)306 #define UART_PUT_STAT(p, v) bfin_write32(port_membase(p) + OFFSET_STAT, v)[all …]