tag | line | file | source code |
com_port | 63 | arch/ppc/kernel/raw_printf.c | void NS16550_putc(volatile struct NS16550 *com_port, unsigned char c); |
com_port | 64 | arch/ppc/kernel/raw_printf.c | unsigned char NS16550_getc(volatile struct NS16550 *com_port); |
com_port | 391 | arch/ppc/kernel/raw_printf.c | com_port = (struct NS16550 *) COM_PORTS[chan]; |
com_port | 393 | arch/ppc/kernel/raw_printf.c | com_port->lcr = 0x00; |
com_port | 394 | arch/ppc/kernel/raw_printf.c | com_port->ier = 0xFF; |
com_port | 396 | arch/ppc/kernel/raw_printf.c | if (com_port->ier != 0x0F) return ((struct NS16550 *)0); |
com_port | 398 | arch/ppc/kernel/raw_printf.c | com_port->ier = 0x00; |
com_port | 399 | arch/ppc/kernel/raw_printf.c | com_port->lcr = 0x80; /* Access baud rate */ |
com_port | 400 | arch/ppc/kernel/raw_printf.c | com_port->dll = 12; /* 9600 baud */ |
com_port | 401 | arch/ppc/kernel/raw_printf.c | com_port->dlm = 12 >> 8; |
com_port | 402 | arch/ppc/kernel/raw_printf.c | com_port->lcr = 0x03; /* 8 data, 1 stop, no parity */ |
com_port | 403 | arch/ppc/kernel/raw_printf.c | com_port->mcr = 0x03; /* RTS/DTR */ |
com_port | 404 | arch/ppc/kernel/raw_printf.c | com_port->fcr = 0x07; /* Clear & enable FIFOs */ |
com_port | 412 | arch/ppc/kernel/raw_printf.c | while ((com_port->lsr & LSR_THRE) == 0) ; |
com_port | 413 | arch/ppc/kernel/raw_printf.c | com_port->thr = c; |
com_port | 419 | arch/ppc/kernel/raw_printf.c | while ((com_port->lsr & LSR_DR) == 0) ; |
com_port | 420 | arch/ppc/kernel/raw_printf.c | return (com_port->rbr); |
com_port | 425 | arch/ppc/kernel/raw_printf.c | return ((com_port->lsr & LSR_DR) != 0); |