Lines Matching refs:p
36 static unsigned int au_serial_in(struct uart_port *p, int offset) in au_serial_in() argument
42 return __raw_readl(p->membase + (offset << p->regshift)); in au_serial_in()
45 static void au_serial_out(struct uart_port *p, int offset, int value) in au_serial_out() argument
51 __raw_writel(value, p->membase + (offset << p->regshift)); in au_serial_out()
65 int au_platform_setup(struct plat_serial8250_port *p) in au_platform_setup() argument
67 p->iotype = UPIO_AU; in au_platform_setup()
69 p->serial_in = au_serial_in; in au_platform_setup()
70 p->serial_out = au_serial_out; in au_platform_setup()
71 p->dl_read = au_serial_dl_read; in au_platform_setup()
72 p->dl_write = au_serial_dl_write; in au_platform_setup()
74 p->mapsize = 0x1000; in au_platform_setup()
76 p->bugs |= UART_BUG_NOMSR; in au_platform_setup()
82 int rt288x_setup(struct uart_port *p) in rt288x_setup() argument
84 struct uart_8250_port *up = up_to_u8250p(p); in rt288x_setup()
86 p->iotype = UPIO_AU; in rt288x_setup()
88 p->serial_in = au_serial_in; in rt288x_setup()
89 p->serial_out = au_serial_out; in rt288x_setup()
93 p->mapsize = 0x100; in rt288x_setup()