Lines Matching refs:offset
36 static unsigned int mem_serial_in(struct uart_port *p, int offset) in mem_serial_in() argument
38 offset = offset << p->regshift; in mem_serial_in()
39 return readl(p->membase + offset); in mem_serial_in()
52 static unsigned int ce4100_mem_serial_in(struct uart_port *p, int offset) in ce4100_mem_serial_in() argument
56 if (offset == UART_IIR) { in ce4100_mem_serial_in()
57 offset = offset << p->regshift; in ce4100_mem_serial_in()
58 ret = readl(p->membase + offset); in ce4100_mem_serial_in()
72 ret = mem_serial_in(p, offset); in ce4100_mem_serial_in()
76 static void ce4100_mem_serial_out(struct uart_port *p, int offset, int value) in ce4100_mem_serial_out() argument
78 offset = offset << p->regshift; in ce4100_mem_serial_out()
79 writel(value, p->membase + offset); in ce4100_mem_serial_out()