Home
last modified time | relevance | path

Searched refs:baud (Results 1 – 25 of 183) sorted by relevance

12345678

/openbmc/u-boot/drivers/serial/
H A Dserial_mtk.c51 #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()
84 (realbaud < BAUD_ALLOW_MIX(baud))) { in _mtk_serial_setbrg()
[all …]
H A Dserial_zynq.c48 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()
65 bgen = clock / (baud * (bdiv + 1)); in _uart_zynq_serial_setbrg()
75 if (baud > calc_baud) in _uart_zynq_serial_setbrg()
76 calc_bauderror = baud - calc_baud; in _uart_zynq_serial_setbrg()
78 calc_bauderror = calc_baud - baud; in _uart_zynq_serial_setbrg()
79 if (((calc_bauderror * 100) / baud) < 3) in _uart_zynq_serial_setbrg()
H A Dserial_ar933x.c57 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()
/openbmc/openbmc/meta-bytedance/meta-g220a/recipes-phosphor/console/obmc-console/
H A Dobmc-console.conf1 baud = 115200
3 local-tty-baud = 115200
/openbmc/openbmc/meta-tyan/meta-common/recipes-phosphor/console/obmc-console/
H A Dobmc-console.conf1 baud = 115200
3 local-tty-baud = 115200
/openbmc/openbmc/meta-yadro/meta-vegman/recipes-phosphor/console/obmc-console/
H A Dobmc-console.conf1 baud = 115200
3 local-tty-baud = 115200
/openbmc/openbmc/meta-nvidia/meta-gb200nvl-obmc/recipes-phosphor/console/obmc-console/
H A Dobmc-console.conf1 baud = 115200
3 local-tty-baud = 115200
/openbmc/openbmc/meta-nvidia/meta-nvl32-obmc/recipes-phosphor/console/obmc-console/
H A Dobmc-console.conf1 baud = 115200
3 local-tty-baud = 115200
/openbmc/u-boot/arch/mips/dts/
H A Djz4780.dtsi78 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 Dconfig.c148 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()
H A Dconsole-dbus.c53 rc = type->baudrate(handler, console->server->tty.uart.baud); in tty_change_baudrate()
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()
/openbmc/u-boot/doc/device-tree-bindings/serial/
H A Dbcm2835-aux-uart.txt6 - 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 Dpl01x.txt6 - 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/qemu/hw/char/
H A Dibex_uart.c256 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/include/
H A Dfsl_lpuart.h13 u32 baud; member
24 u32 baud; member
/openbmc/openbmc/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/console/obmc-console/
H A Dobmc-console.conf1 baud = 57600
/openbmc/openbmc/meta-ufispace/meta-ncplite/recipes-phosphor/console/obmc-console/
H A Dobmc-console.conf1 baud = 115200
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/console/files/
H A Dobmc-console.conf1 baud = 115200
/openbmc/openbmc/meta-ampere/meta-jefferson/recipes-phosphor/console/obmc-console/
H A Dserver.ttyS0.conf3 local-tty-baud = 115200
/openbmc/openbmc/meta-ampere/meta-jade/recipes-phosphor/console/obmc-console/
H A Dserver.ttyS0.conf3 local-tty-baud = 115200
/openbmc/openbmc/meta-ampere/meta-mitchell/recipes-phosphor/console/obmc-console/
H A Dserver.ttyS0.conf3 local-tty-baud = 115200
/openbmc/openbmc/meta-asrock/meta-romed8hm3/recipes-phosphor/console/obmc-console/
H A Dobmc-console.conf3 baud = 115200
/openbmc/openbmc/meta-asrock/meta-e3c246d4i/recipes-phosphor/console/obmc-console/
H A Dobmc-console.conf3 baud = 115200
/openbmc/openbmc/meta-asrock/meta-spc621d8hm3/recipes-phosphor/console/obmc-console/
H A Dobmc-console.conf3 baud = 115200
/openbmc/openbmc/meta-evb/meta-evb-arm/meta-evb-fvp-base/recipes-phosphor/console/obmc-console/
H A Dserver.ttyAMA3.conf1 baud = 115200

12345678