Lines Matching refs:port
45 #define APBBASE(port) ((struct grlib_apbuart_regs_map *)((port)->membase))
47 #define APBBASE_DATA_P(port) (&(APBBASE(port)->data))
48 #define APBBASE_STATUS_P(port) (&(APBBASE(port)->status))
49 #define APBBASE_CTRL_P(port) (&(APBBASE(port)->ctrl))
50 #define APBBASE_SCALAR_P(port) (&(APBBASE(port)->scaler))
52 #define UART_GET_CHAR(port) (__raw_readl(APBBASE_DATA_P(port)))
53 #define UART_PUT_CHAR(port, v) (__raw_writel(v, APBBASE_DATA_P(port)))
54 #define UART_GET_STATUS(port) (__raw_readl(APBBASE_STATUS_P(port)))
55 #define UART_PUT_STATUS(port, v)(__raw_writel(v, APBBASE_STATUS_P(port)))
56 #define UART_GET_CTRL(port) (__raw_readl(APBBASE_CTRL_P(port)))
57 #define UART_PUT_CTRL(port, v) (__raw_writel(v, APBBASE_CTRL_P(port)))
58 #define UART_GET_SCAL(port) (__raw_readl(APBBASE_SCALAR_P(port)))
59 #define UART_PUT_SCAL(port, v) (__raw_writel(v, APBBASE_SCALAR_P(port)))