/openbmc/u-boot/drivers/serial/ |
H A D | serial_mtk.c | 50 /* the data is correct if the real baud is within 3%. */ 51 #define BAUD_ALLOW_MAX(baud) ((baud) + (baud) * 3 / 100) argument 52 #define BAUD_ALLOW_MIX(baud) ((baud) - (baud) * 3 / 100) argument 59 static void _mtk_serial_setbrg(struct mtk_serial_priv *priv, int baud) in _mtk_serial_setbrg() argument 64 if ((baud <= 115200) && (priv->clock == 12000000)) in _mtk_serial_setbrg() 69 if (baud <= 115200) { in _mtk_serial_setbrg() 71 quot = DIV_ROUND_CLOSEST(priv->clock, 16 * baud); in _mtk_serial_setbrg() 75 quot = DIV_ROUND_CLOSEST(priv->clock, 256 * baud); in _mtk_serial_setbrg() 80 quot * baud); in _mtk_serial_setbrg() 83 if ((realbaud > BAUD_ALLOW_MAX(baud)) || in _mtk_serial_setbrg() [all …]
|
H A D | serial_zynq.c | 35 u32 baud_rate_gen; /* 0x18 - Baud Rate Generator [15:0] */ 39 u32 baud_rate_divider; /* 0x34 - Baud Rate Divider [7:0] */ 46 /* Set up the baud rate in gd struct */ 48 unsigned long clock, unsigned long baud) in _uart_zynq_serial_setbrg() argument 55 if (clock < 1000000 && baud > 4800) in _uart_zynq_serial_setbrg() 56 baud = 4800; in _uart_zynq_serial_setbrg() 59 * Baud rate = ------------------ in _uart_zynq_serial_setbrg() 62 * Find acceptable values for baud generation. in _uart_zynq_serial_setbrg() 65 bgen = clock / (baud * (bdiv + 1)); in _uart_zynq_serial_setbrg() 75 if (baud > calc_baud) in _uart_zynq_serial_setbrg() [all …]
|
H A D | serial_sti_asc.c | 100 debug("ASC: unsupported baud rate: %d, using 115200 instead.\n", in _sti_asc_serial_setbrg() 111 /* set baud generator reload value */ in _sti_asc_serial_setbrg() 117 /* set baud generator mode */ in _sti_asc_serial_setbrg() 127 /* called to adjust baud-rate */
|
H A D | serial_ar933x.c | 57 static void ar933x_serial_get_scale_step(u32 clk, u32 baud, in ar933x_serial_get_scale_step() argument 66 min_diff = baud; in ar933x_serial_get_scale_step() 71 tstep = baud * (tscale + 1); in ar933x_serial_get_scale_step() 79 diff = abs(baudrate - baud); in ar933x_serial_get_scale_step()
|
H A D | serial_intel_mid.c | 18 * baud rate = UART clock / UART_PS / DLAB 43 * to 16 and speed to 115200 baud, where initial frequency is in mid_serial_probe()
|
/openbmc/u-boot/include/ |
H A D | fsl_qe.h | 134 QE_BRG1, /* Baud Rate Generator 1 */ 135 QE_BRG2, /* Baud Rate Generator 2 */ 136 QE_BRG3, /* Baud Rate Generator 3 */ 137 QE_BRG4, /* Baud Rate Generator 4 */ 138 QE_BRG5, /* Baud Rate Generator 5 */ 139 QE_BRG6, /* Baud Rate Generator 6 */ 140 QE_BRG7, /* Baud Rate Generator 7 */ 141 QE_BRG8, /* Baud Rate Generator 8 */ 142 QE_BRG9, /* Baud Rate Generator 9 */ 143 QE_BRG10, /* Baud Rate Generator 10 */ [all …]
|
H A D | fsl_lpuart.h | 13 u32 baud; member 24 u32 baud; member
|
H A D | serial.h | 140 * @baudrate: baud rate 162 * setbrg() - Set up the baud rate generator 164 * Adjust baud rate divisors to set up a new baud rate for this 170 * @baudrate: New baud rate to use
|
/openbmc/openbmc/meta-bytedance/meta-g220a/recipes-phosphor/console/obmc-console/ |
H A D | obmc-console.conf | 1 baud = 115200 3 local-tty-baud = 115200
|
/openbmc/openbmc/meta-tyan/meta-common/recipes-phosphor/console/obmc-console/ |
H A D | obmc-console.conf | 1 baud = 115200 3 local-tty-baud = 115200
|
/openbmc/openbmc/meta-yadro/meta-vegman/recipes-phosphor/console/obmc-console/ |
H A D | obmc-console.conf | 1 baud = 115200 3 local-tty-baud = 115200
|
/openbmc/openbmc/meta-nvidia/meta-gb200nvl-obmc/recipes-phosphor/console/obmc-console/ |
H A D | obmc-console.conf | 1 baud = 115200 3 local-tty-baud = 115200
|
/openbmc/openbmc/meta-nvidia/meta-nvl32-obmc/recipes-phosphor/console/obmc-console/ |
H A D | obmc-console.conf | 1 baud = 115200 3 local-tty-baud = 115200
|
/openbmc/u-boot/arch/mips/dts/ |
H A D | jz4780.dtsi | 78 clock-names = "baud", "module"; 92 clock-names = "baud", "module"; 106 clock-names = "baud", "module"; 120 clock-names = "baud", "module"; 134 clock-names = "baud", "module";
|
/openbmc/obmc-console/ |
H A D | console-dbus.c | 53 rc = type->baudrate(handler, console->server->tty.uart.baud); in tty_change_baudrate() 82 warnx("Invalid baud rate: '%" PRIu64 "'", baudrate); in set_baud_handler() 87 console->server->tty.uart.baud = speed; in set_baud_handler() 108 baudrate = parse_baud_to_int(server->tty.uart.baud); in get_baud_handler() 110 warnx("Invalid baud rate: '%d'", server->tty.uart.baud); in get_baud_handler() 153 SD_BUS_WRITABLE_PROPERTY("Baud", "t", get_baud_handler,
|
H A D | config.c | 148 uint32_t baud; member 208 return terminal_speeds[i].baud; in parse_baud_to_int() 214 speed_t parse_int_to_baud(uint32_t baud) in parse_int_to_baud() argument 219 if (terminal_speeds[i].baud == baud) { in parse_int_to_baud()
|
/openbmc/u-boot/doc/device-tree-bindings/serial/ |
H A D | bcm2835-aux-uart.txt | 6 - clock: input clock frequency for the UART (used to calculate the baud 10 - skip-init: if present, the baud rate divisor is not changed
|
H A D | pl01x.txt | 6 - clock: input clock frequency for the UART (used to calculate the baud 10 - skip-init: if present, the baud rate divisor is not changed
|
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
H A D | commproc.c | 104 /* Set a baud rate generator. This needs lots of work. There are 108 * The baud rate clock is the system clock divided by something. 111 * Baud rate clocks are zero-based in the driver code (as that maps 139 /* This function is used to set high speed synchronous baud rate 163 /* This function is used to set baud rate generators using an external
|
/openbmc/qemu/hw/char/ |
H A D | ibex_uart.c | 256 uint64_t baud; in ibex_uart_get_baud() local 258 baud = ((s->uart_ctrl & R_CTRL_NCO_MASK) >> 16); in ibex_uart_get_baud() 259 baud *= clock_get_hz(s->f_clk); in ibex_uart_get_baud() 260 baud >>= 20; in ibex_uart_get_baud() 262 return baud; in ibex_uart_get_baud() 396 uint64_t baud = ibex_uart_get_baud(s); in ibex_uart_write() local 398 s->char_tx_time = (NANOSECONDS_PER_SECOND / baud) * 10; in ibex_uart_write() 456 uint64_t baud = ibex_uart_get_baud(s); in ibex_uart_clk_update() local 458 s->char_tx_time = (NANOSECONDS_PER_SECOND / baud) * 10; in ibex_uart_clk_update()
|
/openbmc/u-boot/board/astro/mcf5373l/ |
H A D | mcf5373l.c | 88 int rs_serial_init(int port, int baud) in rs_serial_init() argument 118 /* write to CSR: RX/TX baud rate from timers */ in rs_serial_init() 125 counter = (u32) (gd->bus_clk / (baud)); in rs_serial_init() 146 * be enough for our lowest baud rate of 2400. in astro_put_char()
|
/openbmc/u-boot/doc/ |
H A D | README.vxworks | 64 It's very common that VxWorks BSPs configure a different baud rate for the 66 to use 9600 as the default baud rate on all x86 BSPs while U-Boot uses 115200. 67 Please configure both U-Boot and VxWorks to use the same baud rate, or it may
|
/openbmc/openbmc/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/console/obmc-console/ |
H A D | obmc-console.conf | 1 baud = 57600
|
/openbmc/openbmc/meta-ufispace/meta-ncplite/recipes-phosphor/console/obmc-console/ |
H A D | obmc-console.conf | 1 baud = 115200
|
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/console/files/ |
H A D | obmc-console.conf | 1 baud = 115200
|