Lines Matching refs:up
95 struct uart_port up; in msp_serial_setup() local
98 memset(&up, 0, sizeof(up)); in msp_serial_setup()
107 up.mapbase = MSP_UART0_BASE; in msp_serial_setup()
108 up.membase = ioremap_nocache(up.mapbase, MSP_UART_REG_LEN); in msp_serial_setup()
109 up.irq = MSP_INT_UART0; in msp_serial_setup()
110 up.uartclk = uartclk; in msp_serial_setup()
111 up.regshift = 2; in msp_serial_setup()
112 up.iotype = UPIO_MEM; in msp_serial_setup()
113 up.flags = ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST; in msp_serial_setup()
114 up.type = PORT_16550A; in msp_serial_setup()
115 up.line = 0; in msp_serial_setup()
116 up.serial_out = msp_serial_out; in msp_serial_setup()
117 up.serial_in = msp_serial_in; in msp_serial_setup()
118 up.handle_irq = msp_serial_handle_irq; in msp_serial_setup()
119 up.private_data = kzalloc(sizeof(struct msp_uart_data), GFP_KERNEL); in msp_serial_setup()
120 if (!up.private_data) { in msp_serial_setup()
124 if (early_serial_setup(&up)) { in msp_serial_setup()
125 kfree(up.private_data); in msp_serial_setup()
145 up.mapbase = MSP_UART1_BASE; in msp_serial_setup()
146 up.membase = ioremap_nocache(up.mapbase, MSP_UART_REG_LEN); in msp_serial_setup()
147 up.irq = MSP_INT_UART1; in msp_serial_setup()
148 up.line = 1; in msp_serial_setup()
149 up.private_data = (void*)UART1_STATUS_REG; in msp_serial_setup()
150 if (early_serial_setup(&up)) { in msp_serial_setup()
151 kfree(up.private_data); in msp_serial_setup()