Lines Matching defs:uart
124 /* uart ports are allocated here */
313 struct ioc3_uartregs __iomem *uart;
338 uart = port->ip_uart_regs;
339 lcr = readb(&uart->iu_lcr);
341 writeb(lcr | UART_LCR_DLAB, &uart->iu_lcr);
342 writeb((unsigned char)divisor, &uart->iu_dll);
343 writeb((unsigned char)(divisor >> 8), &uart->iu_dlm);
344 writeb((unsigned char)prediv, &uart->iu_scr);
345 writeb((unsigned char)lcr, &uart->iu_lcr);
351 * get_ioc3_port - given a uart port, return the control structure
352 * @the_port: uart port to find
383 struct ioc3_uartregs __iomem *uart;
417 uart = port->ip_uart_regs;
418 writeb(0, &uart->iu_lcr);
419 writeb(0, &uart->iu_ier);
425 writeb(UART_LCR_WLEN8 | 0, &uart->iu_lcr);
429 writeb(UART_FCR_ENABLE_FIFO, &uart->iu_fcr);
432 &uart->iu_fcr);
435 writeb(0, &uart->iu_mcr);
510 /* Reset the input fifo. If the uart received chars while the port
511 * was closed and DMA is not enabled, the uart may have a bunch of
1871 /* Associate the uart functions above - given to serial core */
2169 "%s: Couldn't register IOC3 uart serial driver\n",