static void marvell_serial_putc(const char c) { if (c == '\n') NS16550_putc (COM_PORTS[CONFIG_SYS_DUART_CHAN], '\r'); NS16550_putc (COM_PORTS[CONFIG_SYS_DUART_CHAN], c); }
void putc(char c) { if (c == '\n') NS16550_putc((NS16550_t)CONFIG_SYS_NS16550_COM1, '\r'); NS16550_putc((NS16550_t)CONFIG_SYS_NS16550_COM1, c); }
extern void _serial_putc(const char c, const int port) { if ('\n' == c) NS16550_putc(PORT, '\r'); NS16550_putc(PORT, c); }
void serial_putc(const char c) { if (c == '\n') NS16550_putc(console, '\r'); NS16550_putc(console, c); }
void serial_putc (const char c) { if (c == '\n') NS16550_putc (COM_PORTS[CFG_DUART_CHAN], '\r'); NS16550_putc (COM_PORTS[CFG_DUART_CHAN], c); }
void _serial_putc(const char c,const int port) { if (c == '\n') NS16550_putc(PORT, '\r'); NS16550_putc(PORT, c); }
void siocnputchar(void *dev, register int c) { if (c == '\n') NS16550_putc((struct NS16550 *)dev, '\r'); NS16550_putc((struct NS16550 *)dev, c); }
void putc(char c) { if (gd->flags & GD_FLG_SILENT) return; if (c == '\n') NS16550_putc((NS16550_t)(CONFIG_SYS_IMMR + 0x4500), '\r'); NS16550_putc((NS16550_t)(CONFIG_SYS_IMMR + 0x4500), c); }
void _serial_putc(const char c,const int port) { if (c == '\n') NS16550_putc(PORT, '\r'); NS16550_putc(PORT, c); #if 1 serial_outbuf[serial_outbuf_cnt % sizeof(serial_outbuf)] = c; serial_outbuf_cnt++; #endif }
void panic_puts(const char *str) { NS16550_t port = (NS16550_t)0x3f8; NS16550_init(port, 1); while (*str) NS16550_putc(port, *str++); }
void quad_putc_dev(unsigned long base, const char c) { if (zoom2_debug_board_connected()) { NS16550_t port = (NS16550_t) base; if (c == '\n') quad_putc_dev(base, '\r'); NS16550_putc(port, c); } }
void puts(const char *s) { int x,y; char c; x = orig_x; y = orig_y; while ( ( c = *s++ ) != '\0' ) { #if defined(CONFIG_SERIAL_CONSOLE) NS16550_putc(com_port, c); if ( c == '\n' ) NS16550_putc(com_port, '\r'); #endif /* CONFIG_SERIAL_CONSOLE */ if ( c == '\n' ) { x = 0; if ( ++y >= lines ) { scroll(); y--; } } else if (c == '\b') { if (x > 0) { x--; } } else { vidmem [ ( x + cols * y ) * 2 ] = c; if ( ++x >= cols ) { x = 0; if ( ++y >= lines ) { scroll(); y--; } } } } cursor(x, y); orig_x = x; orig_y = y; }
void quad_putc_dev (unsigned long base, const char c) { if (zoom2_debug_board_connected ()) { if (c == '\n') quad_putc_dev (base, '\r'); NS16550_putc ((NS16550_t) base, c); } else { usbtty_putc(c); } }
extern void _serial_putc_raw(const char c, const int port) { NS16550_putc(PORT, c); }
void serial_putc (const char c) { NS16550_putc (Com0, c); if (c == '\n') NS16550_putc (Com0, 0x0D); }