/src/sys/arch/bebox/stand/boot/ |
ns16550.c | 45 struct NS16550 *com_port; local in function:NS16550_init 47 com_port = (struct NS16550 *)(COMBASE + addr); 49 com_port->lcr = 0x80; /* Access baud rate */ 51 com_port->dll = speed; 52 com_port->dlm = speed >> 8; 54 com_port->lcr = 0x03; /* 8 data, 1 stop, no parity */ 55 com_port->mcr = 0x00; 56 com_port->fcr = 0x07; /* Clear & enable FIFOs */ 57 com_port->ier = 0x00; 59 return (com_port); [all...] |
/src/sys/arch/cobalt/stand/boot/ |
ns16550.c | 48 uint8_t *com_port; local in function:com_init 50 com_port = (void *)MIPS_PHYS_TO_KSEG1(COM_BASE + addr); 52 CSR_WRITE(com_port, com_lctl, LCR_DLAB); 54 CSR_WRITE(com_port, com_dlbl, speed); 55 CSR_WRITE(com_port, com_dlbh, speed >> 8); 57 CSR_WRITE(com_port, com_lctl, LCR_PNONE | LCR_8BITS); 58 CSR_WRITE(com_port, com_mcr, MCR_RTS | MCR_DTR); 59 CSR_WRITE(com_port, com_fifo, 61 CSR_WRITE(com_port, com_ier, 0); 63 return com_port; 69 volatile uint8_t *com_port = dev; local in function:com_putc 80 volatile uint8_t *com_port = dev; local in function:com_getc 91 volatile uint8_t *com_port = dev; local in function:com_scankbd [all...] |
/src/sys/arch/prep/stand/boot/ |
ns16550.c | 45 struct NS16550 *com_port; local in function:NS16550_init 47 com_port = (struct NS16550 *)(COMBASE + addr); 49 com_port->lcr = 0x80; /* Access baud rate */ 51 com_port->dll = speed; 52 com_port->dlm = speed >> 8; 54 com_port->lcr = 0x03; /* 8 data, 1 stop, no parity */ 55 com_port->mcr = 0x03; /* Set DTR and RTS */ 56 com_port->fcr = 0x07; /* Clear & enable FIFOs */ 57 com_port->ier = 0x00; 59 return (com_port); [all...] |
/src/sys/arch/rs6000/stand/boot/ |
ns16550.c | 45 struct NS16550 *com_port; local in function:NS16550_init 47 com_port = (struct NS16550 *)(COMBASE + addr); 49 com_port->lcr = 0x80; /* Access baud rate */ 51 com_port->dll = speed; 52 com_port->dlm = (speed >> 8) & 0xff; 54 com_port->lcr = 0x03; /* 8 data, 1 stop, no parity */ 55 com_port->mcr = 0x00; 56 com_port->fcr = 0x07; /* Clear & enable FIFOs */ 57 com_port->ier = 0x00; /* enable no interrupts */ 59 return (com_port); [all...] |
/src/sys/arch/mmeye/stand/boot/ |
com.c | 139 uint8_t *com_port; local in function:com_init 141 com_port = (void *)addr; 143 CSR_WRITE(com_port, com_lctl, LCR_DLAB); 145 CSR_WRITE(com_port, com_dlbl, speed); 146 CSR_WRITE(com_port, com_dlbh, speed >> 8); 148 CSR_WRITE(com_port, com_lctl, LCR_PNONE | LCR_8BITS); 149 CSR_WRITE(com_port, com_mcr, MCR_RTS | MCR_DTR); 150 CSR_WRITE(com_port, com_fifo, 152 CSR_WRITE(com_port, com_ier, 0); 154 return com_port; 160 volatile uint8_t *com_port = dev; local in function:com_putc 171 volatile uint8_t *com_port = dev; local in function:com_getc 182 volatile uint8_t *com_port = dev; local in function:com_scankbd [all...] |