Home
last modified time | relevance | path

Searched refs:com_port (Results 1 – 9 of 9) sorted by relevance

/linux-2.4.37.9/arch/ppc/boot/common/
Dns16550.c24 unsigned long com_port; in serial_init() local
32 com_port = rs_table[chan].port; in serial_init()
35 com_port = (unsigned long)rs_table[chan].iomem_base; in serial_init()
46 lcr = inb(com_port + (UART_LCR << shift)); in serial_init()
48 outb(com_port + (UART_LCR << shift), 0x80); in serial_init()
49 dlm = inb(com_port + (UART_DLM << shift)); in serial_init()
59 outb(com_port + (UART_LCR << shift), lcr); in serial_init()
62 outb(com_port + (UART_DLL << shift), in serial_init()
64 outb(com_port + (UART_DLM << shift), in serial_init()
67 outb(com_port + (UART_LCR << shift), 0x03); in serial_init()
[all …]
Dmisc-common.c62 extern unsigned long com_port;
64 extern int serial_tstc(unsigned long com_port);
65 extern unsigned char serial_getc(unsigned long com_port);
66 extern void serial_putc(unsigned long com_port, unsigned char c);
84 return (CRT_tstc() || serial_tstc(com_port)); in tstc()
86 return (serial_tstc(com_port)); in tstc()
96 if (serial_tstc(com_port)) in getc()
97 return (serial_getc(com_port)); in getc()
111 serial_putc(com_port, c); in putc()
113 serial_putc(com_port, '\r'); in putc()
[all …]
Dmisc-simple.c61 unsigned long com_port; variable
74 extern void serial_close(unsigned long com_port);
91 com_port = serial_init(0, NULL); in decompress_kernel()
263 serial_close(com_port); in decompress_kernel()
Dserial_stub.c26 serial_close(unsigned long com_port) in serial_close() argument
/linux-2.4.37.9/arch/ppc/kernel/
Dgen550_dbg.c58 unsigned long com_port; in serial_init() local
66 com_port = rs_table[chan].port; in serial_init()
71 com_port = (unsigned long)rs_table[chan].iomem_base; in serial_init()
84 lcr = serial_inb(com_port + (UART_LCR << shift)); in serial_init()
87 serial_outb(com_port + (UART_LCR << shift), UART_LCR_DLAB); in serial_init()
88 dlm = serial_inb(com_port + (UART_DLM << shift)); in serial_init()
98 serial_outb(com_port + (UART_LCR << shift), lcr); in serial_init()
102 serial_outb(com_port + (UART_DLL << shift), in serial_init()
104 serial_outb(com_port + (UART_DLM << shift), in serial_init()
107 serial_outb(com_port + (UART_LCR << shift), 0x03); in serial_init()
[all …]
Dppc4xx_setup.c274 serial_putc(u8 * com_port, unsigned char c) in serial_putc() argument
276 while ((readb(com_port + (UART_LSR)) & UART_LSR_THRE) == 0) ; in serial_putc()
277 writeb(c, com_port); in serial_putc()
285 u8 *com_port = (u8 *) SERIAL_DEBUG_IO_BASE; in ppc4xx_progress() local
288 serial_putc(com_port, c); in ppc4xx_progress()
290 serial_putc(com_port, '\r'); in ppc4xx_progress()
291 serial_putc(com_port, '\n'); in ppc4xx_progress()
/linux-2.4.37.9/arch/ppc/boot/simple/
Dmisc-embedded.c68 unsigned long com_port; variable
76 extern void serial_close(unsigned long com_port);
106 com_port = serial_init(0, bp); in load_kernel()
275 serial_close(com_port); in load_kernel()
Dmisc-spruce.c44 unsigned long com_port; variable
183 com_port = serial_init(0, NULL); in load_kernel()
/linux-2.4.37.9/arch/ppc/boot/prep/
Dmisc.c62 unsigned long com_port; variable
158 com_port = serial_init(0, NULL); in decompress_kernel()