Lines Matching refs:com_port
52 NS16550_t com_port = (NS16550_t)COM_BASE; in ps2ser_init() local
54 com_port->ier = 0x00; in ps2ser_init()
55 com_port->lcr = UART_LCR_BKSE | UART_LCR_8N1; in ps2ser_init()
56 com_port->dll = (CONFIG_SYS_NS16550_CLK / 16 / PS2SER_BAUD) & 0xff; in ps2ser_init()
57 com_port->dlm = ((CONFIG_SYS_NS16550_CLK / 16 / PS2SER_BAUD) >> 8) & 0xff; in ps2ser_init()
58 com_port->lcr = UART_LCR_8N1; in ps2ser_init()
59 com_port->mcr = (UART_MCR_DTR | UART_MCR_RTS); in ps2ser_init()
60 com_port->fcr = (UART_FCR_FIFO_EN | UART_FCR_RXSR | UART_FCR_TXSR); in ps2ser_init()
67 NS16550_t com_port = (NS16550_t)COM_BASE; in ps2ser_putc() local
70 while ((com_port->lsr & UART_LSR_THRE) == 0); in ps2ser_putc()
71 com_port->thr = chr; in ps2ser_putc()
76 NS16550_t com_port = (NS16550_t)COM_BASE; in ps2ser_getc_hw() local
79 if (com_port->lsr & UART_LSR_DR) { in ps2ser_getc_hw()
80 res = com_port->rbr; in ps2ser_getc_hw()
127 NS16550_t com_port = (NS16550_t)COM_BASE; in ps2ser_interrupt() local
133 status = com_port->lsr; in ps2ser_interrupt()