Home
last modified time | relevance | path

Searched refs:NS16550_t (Results 1 – 25 of 31) sorted by relevance

12

/openbmc/u-boot/include/
H A Dns16550.h105 typedef struct NS16550 *NS16550_t; typedef
206 void NS16550_init(NS16550_t com_port, int baud_divisor);
207 void NS16550_putc(NS16550_t com_port, char c);
208 char NS16550_getc(NS16550_t com_port);
209 int NS16550_tstc(NS16550_t com_port);
210 void NS16550_reinit(NS16550_t com_port, int baud_divisor);
223 int ns16550_calc_divisor(NS16550_t port, int clock, int baudrate);
/openbmc/u-boot/drivers/serial/
H A Dserial_ns16550.c43 static NS16550_t serial_ports[6] = {
45 (NS16550_t)CONFIG_SYS_NS16550_COM1,
50 (NS16550_t)CONFIG_SYS_NS16550_COM2,
55 (NS16550_t)CONFIG_SYS_NS16550_COM3,
60 (NS16550_t)CONFIG_SYS_NS16550_COM4,
65 (NS16550_t)CONFIG_SYS_NS16550_COM5,
70 (NS16550_t)CONFIG_SYS_NS16550_COM6
H A Dns16550.c95 static void ns16550_writeb(NS16550_t port, int offset, int value) in ns16550_writeb()
110 static int ns16550_readb(NS16550_t port, int offset) in ns16550_readb()
121 static u32 ns16550_getfcr(NS16550_t port) in ns16550_getfcr()
136 static u32 ns16550_getfcr(NS16550_t port) in ns16550_getfcr()
142 int ns16550_calc_divisor(NS16550_t port, int clock, int baudrate) in ns16550_calc_divisor()
149 static void NS16550_setbrg(NS16550_t com_port, int baud_divisor) in NS16550_setbrg()
160 void NS16550_init(NS16550_t com_port, int baud_divisor) in NS16550_init()
202 void NS16550_reinit(NS16550_t com_port, int baud_divisor) in NS16550_reinit()
212 void NS16550_putc(NS16550_t com_port, char c) in NS16550_putc()
229 char NS16550_getc(NS16550_t com_port) in NS16550_getc()
[all …]
/openbmc/u-boot/board/freescale/p1_p2_rdb_pc/
H A Dspl_minimal.c32 NS16550_init((NS16550_t)CONFIG_SYS_NS16550_COM1, in board_init_f()
53 NS16550_putc((NS16550_t)CONFIG_SYS_NS16550_COM1, '\r'); in putc()
55 NS16550_putc((NS16550_t)CONFIG_SYS_NS16550_COM1, c); in putc()
H A Dspl.c50 NS16550_init((NS16550_t)CONFIG_SYS_NS16550_COM1, in board_init_f()
/openbmc/u-boot/board/Arcturus/ucp1020/
H A Dspl_minimal.c36 NS16550_init((NS16550_t)CONFIG_SYS_NS16550_COM1, in board_init_f()
57 NS16550_putc((NS16550_t)CONFIG_SYS_NS16550_COM1, '\r'); in putc()
59 NS16550_putc((NS16550_t)CONFIG_SYS_NS16550_COM1, c); in putc()
H A Dspl.c58 NS16550_init((NS16550_t)CONFIG_SYS_NS16550_COM1, in board_init_f()
/openbmc/u-boot/board/freescale/c29xpcie/
H A Dspl_minimal.c32 NS16550_init((NS16550_t)CONFIG_SYS_NS16550_COM1, in board_init_f()
53 NS16550_putc((NS16550_t)CONFIG_SYS_NS16550_COM1, '\r'); in putc()
55 NS16550_putc((NS16550_t)CONFIG_SYS_NS16550_COM1, c); in putc()
H A Dspl.c33 NS16550_init((NS16550_t)CONFIG_SYS_NS16550_COM1, in board_init_f()
/openbmc/u-boot/board/freescale/p1010rdb/
H A Dspl_minimal.c33 NS16550_init((NS16550_t)CONFIG_SYS_NS16550_COM1, in board_init_f()
55 NS16550_putc((NS16550_t)CONFIG_SYS_NS16550_COM1, '\r'); in putc()
57 NS16550_putc((NS16550_t)CONFIG_SYS_NS16550_COM1, c); in putc()
H A Dspl.c44 NS16550_init((NS16550_t)CONFIG_SYS_NS16550_COM1, in board_init_f()
/openbmc/u-boot/board/freescale/p1022ds/
H A Dspl_minimal.c39 NS16550_init((NS16550_t)CONFIG_SYS_NS16550_COM1, in board_init_f()
61 NS16550_putc((NS16550_t)CONFIG_SYS_NS16550_COM1, '\r'); in putc()
63 NS16550_putc((NS16550_t)CONFIG_SYS_NS16550_COM1, c); in putc()
H A Dspl.c58 NS16550_init((NS16550_t)CONFIG_SYS_NS16550_COM1, in board_init_f()
/openbmc/u-boot/board/freescale/mpc8313erdb/
H A Dmpc8313erdb.c132 NS16550_init((NS16550_t)(CONFIG_SYS_IMMR + 0x4500), in board_init_f()
152 NS16550_putc((NS16550_t)(CONFIG_SYS_IMMR + 0x4500), '\r'); in putc()
154 NS16550_putc((NS16550_t)(CONFIG_SYS_IMMR + 0x4500), c); in putc()
/openbmc/u-boot/board/freescale/bsc9131rdb/
H A Dspl_minimal.c71 NS16550_init((NS16550_t)CONFIG_SYS_NS16550_COM1, in board_init_f()
94 NS16550_putc((NS16550_t)CONFIG_SYS_NS16550_COM1, '\r'); in putc()
96 NS16550_putc((NS16550_t)CONFIG_SYS_NS16550_COM1, c); in putc()
/openbmc/u-boot/arch/arm/mach-davinci/
H A Dspl.c28 NS16550_putc((NS16550_t)(CONFIG_SYS_NS16550_COM1), '\r'); in putc()
30 NS16550_putc((NS16550_t)(CONFIG_SYS_NS16550_COM1), c); in putc()
/openbmc/u-boot/board/Synology/ds109/
H A Dds109.c106 b_d = ns16550_calc_divisor((NS16550_t)CONFIG_SYS_NS16550_COM2, in reset_misc()
108 NS16550_init((NS16550_t)CONFIG_SYS_NS16550_COM2, b_d); in reset_misc()
109 NS16550_putc((NS16550_t)CONFIG_SYS_NS16550_COM2, SOFTWARE_REBOOT); in reset_misc()
/openbmc/u-boot/board/freescale/bsc9132qds/
H A Dspl_minimal.c83 NS16550_init((NS16550_t)CONFIG_SYS_NS16550_COM1, in board_init_f()
106 NS16550_putc((NS16550_t)CONFIG_SYS_NS16550_COM1, '\r'); in putc()
108 NS16550_putc((NS16550_t)CONFIG_SYS_NS16550_COM1, c); in putc()
/openbmc/u-boot/board/freescale/mpc8315erdb/
H A Dmpc8315erdb.c220 NS16550_init((NS16550_t)(CONFIG_SYS_IMMR + 0x4500), in board_init_f()
240 NS16550_putc((NS16550_t)(CONFIG_SYS_IMMR + 0x4500), '\r'); in putc()
242 NS16550_putc((NS16550_t)(CONFIG_SYS_IMMR + 0x4500), c); in putc()
/openbmc/u-boot/board/freescale/t4rdb/
H A Dspl.c61 NS16550_init((NS16550_t)CONFIG_SYS_NS16550_COM1, in board_init_f()
/openbmc/u-boot/board/freescale/b4860qds/
H A Dspl.c74 NS16550_init((NS16550_t)CONFIG_SYS_NS16550_COM1, in board_init_f()
/openbmc/u-boot/board/freescale/t208xrdb/
H A Dspl.c52 NS16550_init((NS16550_t)CONFIG_SYS_NS16550_COM1, in board_init_f()
/openbmc/u-boot/board/freescale/t208xqds/
H A Dspl.c82 NS16550_init((NS16550_t)CONFIG_SYS_NS16550_COM1, in board_init_f()
/openbmc/u-boot/board/freescale/t104xrdb/
H A Dspl.c82 NS16550_init((NS16550_t)CONFIG_SYS_NS16550_COM1, in board_init_f()
/openbmc/u-boot/board/freescale/t4qds/
H A Dspl.c94 NS16550_init((NS16550_t)CONFIG_SYS_NS16550_COM1, in board_init_f()

12