Home
last modified time | relevance | path

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

123

/u-boot/drivers/serial/
A Dserial_mtk.c70 #define BAUD_ALLOW_MAX(baud) ((baud) + (baud) * 3 / 100) argument
71 #define BAUD_ALLOW_MIX(baud) ((baud) - (baud) * 3 / 100) argument
88 if (baud <= 115200) { in _mtk_serial_setbrg()
99 quot * baud); in _mtk_serial_setbrg()
102 if ((realbaud > BAUD_ALLOW_MAX(baud)) || in _mtk_serial_setbrg()
103 (realbaud < BAUD_ALLOW_MIX(baud))) { in _mtk_serial_setbrg()
105 baud); in _mtk_serial_setbrg()
111 } else if (baud <= 576000) { in _mtk_serial_setbrg()
115 if ((baud == 500000) || (baud == 576000)) in _mtk_serial_setbrg()
116 baud = 460800; in _mtk_serial_setbrg()
[all …]
A Dserial_zynq.c50 unsigned long clock, unsigned long baud) in _uart_zynq_serial_setbrg() argument
57 if (clock < 1000000 && baud > 4800) in _uart_zynq_serial_setbrg()
58 baud = 4800; in _uart_zynq_serial_setbrg()
67 bgen = clock / (baud * (bdiv + 1)); in _uart_zynq_serial_setbrg()
77 if (baud > calc_baud) in _uart_zynq_serial_setbrg()
78 calc_bauderror = baud - calc_baud; in _uart_zynq_serial_setbrg()
80 calc_bauderror = calc_baud - baud; in _uart_zynq_serial_setbrg()
81 if (((calc_bauderror * 100) / baud) < 3) in _uart_zynq_serial_setbrg()
A Dserial_cortina.c68 unsigned int uart_ctrl, baud, sample; in ca_serial_setbrg() local
70 baud = CORTINA_UART_CLOCK / baudrate; in ca_serial_setbrg()
74 uart_ctrl |= UCFG_BAUD_COUNT(baud); in ca_serial_setbrg()
77 sample = baud / 2; in ca_serial_setbrg()
A Dserial_ar933x.c59 static void ar933x_serial_get_scale_step(u32 clk, u32 baud, in ar933x_serial_get_scale_step() argument
68 min_diff = baud; in ar933x_serial_get_scale_step()
73 tstep = baud * (tscale + 1); in ar933x_serial_get_scale_step()
81 diff = abs(baudrate - baud); in ar933x_serial_get_scale_step()
A Dserial_bcm283x_mu.c40 u32 baud; member
69 writel(divider - 1, &regs->baud); in bcm283x_mu_serial_setbrg()
A Dserial_sifive.c72 unsigned long clock, unsigned long baud) in _sifive_serial_setbrg() argument
74 writel((uart_min_clk_divisor(clock, baud)), &regs->div); in _sifive_serial_setbrg()
A Dserial_mt7620.c74 static void _mt7620_serial_setbrg(struct mt7620_serial_plat *plat, int baud) in _mt7620_serial_setbrg() argument
79 quot = DIV_ROUND_CLOSEST(plat->clock, 16 * baud); in _mt7620_serial_setbrg()
A Dserial_lpuart.c288 tmp = in_le32(&base->baud); in _lpuart32_serial_setbrg_7ulp()
302 out_le32(&base->baud, tmp); in _lpuart32_serial_setbrg_7ulp()
325 lpuart_write32(plat->flags, &base->baud, sbr); in _lpuart32_serial_setbrg()
/u-boot/doc/usage/
A Dloady.rst11 loady [addr [baud]]
25 baud
26 baud rate for the ymodem transmission. After the transmission the baud
/u-boot/doc/device-tree-bindings/serial/
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
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
/u-boot/arch/mips/dts/
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";
/u-boot/include/
A Dfsl_lpuart.h14 u32 baud; member
25 u32 baud; member
/u-boot/board/astro/mcf5373l/
A Dastro.h5 int rs_serial_init(int port, int baud);
A Dmcf5373l.c92 int rs_serial_init(int port, int baud) in rs_serial_init() argument
129 counter = (u32) (gd->bus_clk / (baud)); in rs_serial_init()
/u-boot/arch/x86/include/asm/arch-slimbootloader/
A Dslimbootloader.h88 u32 baud; member
/u-boot/arch/x86/cpu/slimbootloader/
A Dserial.c35 data->baud, in slimbootloader_serial_of_to_plat()
/u-boot/arch/x86/include/asm/acpi/
A Ddebug.asl32 Store(0x01, CDAT) /* 115200 baud (low) */
33 Store(0x00, CDLM) /* 115200 baud (high) */
/u-boot/arch/x86/cpu/baytrail/
A DKconfig34 A maximum baud rate of 115200 bps is supported. For this
/u-boot/doc/
A DREADME.AMCC-eval-boards-cleanup11 o Use 115200 baud as default console baudrate.
A DREADME.vxworks77 It's very common that VxWorks BSPs configure a different baud rate for the
79 to use 9600 as the default baud rate on all x86 BSPs while U-Boot uses 115200.
80 Please configure both U-Boot and VxWorks to use the same baud rate, or it may
/u-boot/disk/
A Dpart_amiga.h135 u32 baud; member
/u-boot/arch/arm/dts/
A Dmeson-gxbb.dtsi819 clock-names = "xtal", "pclk", "baud";
824 clock-names = "xtal", "pclk", "baud";
829 clock-names = "xtal", "pclk", "baud";
834 clock-names = "xtal", "pclk", "baud";
839 clock-names = "xtal", "pclk", "baud";
A Dmt7623.dtsi189 clock-names = "baud", "bus";
200 clock-names = "baud", "bus";
211 clock-names = "baud", "bus";
222 clock-names = "baud", "bus";
A Dmt7629.dtsi179 clock-names = "baud", "bus";
192 clock-names = "baud", "bus";
205 clock-names = "baud", "bus";

Completed in 29 milliseconds

123