Home
last modified time | relevance | path

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

123

/arch/m68k/atari/
Ddebug.c168 int baud = cflag & CBAUD; in atari_init_mfp_port() local
173 baud += B38400; in atari_init_mfp_port()
174 if (baud < B1200 || baud > B38400+2) in atari_init_mfp_port()
175 baud = B9600; /* use default 9600bps for non-implemented rates */ in atari_init_mfp_port()
176 baud -= B1200; /* baud_table[] starts at 1200bps */ in atari_init_mfp_port()
181 st_mfp.tim_dt_d = baud_table[baud]; in atari_init_mfp_port()
218 int baud = cflag & CBAUD; in atari_init_scc_port() local
222 baud += B38400; in atari_init_scc_port()
223 if (baud < B1200 || baud > B38400+2) in atari_init_scc_port()
224 baud = B9600; /* use default 9600bps for non-implemented rates */ in atari_init_scc_port()
[all …]
/arch/mips/pic32/pic32mzda/
Dearly_console.c50 static void __init configure_uart(int port, int baud) in configure_uart() argument
57 __raw_writel(((pbclk / baud) / 16) - 1, uart_base + U_BRG(port)); in configure_uart()
63 static void __init setup_early_console(int port, int baud) in setup_early_console() argument
69 configure_uart(console_port, baud); in setup_early_console()
111 int baud = -1; in get_baud_from_cmdline() local
124 baud = 0; in get_baud_from_cmdline()
126 baud = baud * 10 + *s++ - '0'; in get_baud_from_cmdline()
130 return baud; in get_baud_from_cmdline()
136 int baud, port; in fw_init_early_console() local
140 baud = get_baud_from_cmdline(arch_cmdline); in fw_init_early_console()
[all …]
/arch/x86/boot/
Dearly_serial_console.c26 static void early_serial_init(int port, int baud) in early_serial_init() argument
36 divisor = 115200 / baud; in early_serial_init()
48 int baud = DEFAULT_BAUD; in parse_earlyprintk() local
92 baud = simple_strtoull(arg + pos, &e, 0); in parse_earlyprintk()
93 if (baud == 0 || arg + pos == e) in parse_earlyprintk()
94 baud = DEFAULT_BAUD; in parse_earlyprintk()
98 early_serial_init(port, baud); in parse_earlyprintk()
120 int baud = DEFAULT_BAUD; in parse_console_uart8250() local
140 baud = simple_strtoull(options + 1, &options, 0); in parse_console_uart8250()
142 baud = probe_baud(port); in parse_console_uart8250()
[all …]
/arch/mips/sgi-ip22/
Dip22-setup.c68 char *baud = ArcGetEnvironmentVariable("dbaud"); in plat_mem_setup() local
69 if (baud) in plat_mem_setup()
70 strcpy(options, baud); in plat_mem_setup()
72 baud ? options : NULL); in plat_mem_setup()
/arch/mips/sni/
Dsetup.c63 char *baud; in sni_console_setup() local
74 baud = prom_getenv("lbaud"); in sni_console_setup()
78 baud = prom_getenv("rbaud"); in sni_console_setup()
81 if (baud) in sni_console_setup()
82 strcpy(options, baud); in sni_console_setup()
85 baud ? options : NULL); in sni_console_setup()
88 baud ? options : NULL); in sni_console_setup()
/arch/mips/sgi-ip32/
Dip32-setup.c92 char *baud = ArcGetEnvironmentVariable("dbaud"); in plat_mem_setup() local
93 if (baud) in plat_mem_setup()
94 strcpy(options, baud); in plat_mem_setup()
96 baud ? options : NULL); in plat_mem_setup()
/arch/mips/mti-malta/
Dmalta-init.c45 int baud = 0; in console_config() local
52 baud = baud*10 + *s++ - '0'; in console_config()
66 if (baud == 0) in console_config()
67 baud = 38400; in console_config()
76 sprintf(console_string, "uart8250,io,0x3f8,%d%c%c", baud, in console_config()
82 sprintf(console_string, " console=ttyS0,%d%c%c%c", baud, in console_config()
/arch/mips/generic/
Dyamon-dt.c161 unsigned int uart, baud, stop_bits; in yamon_dt_serial_config() local
176 baud = stop_bits = 0; in yamon_dt_serial_config()
184 baud *= 10; in yamon_dt_serial_config()
185 baud += mode_var[0] - '0'; in yamon_dt_serial_config()
202 if (!baud) in yamon_dt_serial_config()
203 baud = 38400; in yamon_dt_serial_config()
212 uart, baud, parity, stop_bits, in yamon_dt_serial_config()
/arch/x86/kernel/
Dearly_printk.c151 unsigned long baud = DEFAULT_BAUD; in early_serial_init() local
177 baud = simple_strtoull(s, &e, 0); in early_serial_init()
179 if (baud == 0 || s == e) in early_serial_init()
180 baud = DEFAULT_BAUD; in early_serial_init()
184 divisor = 115200 / baud; in early_serial_init()
220 unsigned long baud = DEFAULT_BAUD; in early_pci_serial_init() local
308 if (kstrtoul(s, 0, &baud) < 0 || baud == 0) in early_pci_serial_init()
309 baud = DEFAULT_BAUD; in early_pci_serial_init()
313 divisor = 115200 / baud; in early_pci_serial_init()
/arch/powerpc/boot/
Dcuboot-acadia.c53 unsigned long baud; in get_clocks() local
123 if (getprop(np, "current-speed", &baud, sizeof(baud)) != sizeof(baud)) in get_clocks()
127 div = plloutb / (16 * baud); /* total divisor */ in get_clocks()
/arch/arm/boot/dts/amlogic/
Dmeson6.dtsi57 clock-names = "xtal", "pclk", "baud";
62 clock-names = "xtal", "pclk", "baud";
67 clock-names = "xtal", "pclk", "baud";
72 clock-names = "xtal", "pclk", "baud";
/arch/mips/ar7/
Dprom.c191 int baud = 0; in console_config() local
200 baud = simple_strtoul(s, &p, 10); in console_config()
216 if (baud == 0) in console_config()
217 baud = 38400; in console_config()
224 sprintf(console_string, " console=ttyS0,%d%c%c%c", baud, in console_config()
227 sprintf(console_string, " console=ttyS0,%d%c%c", baud, parity, in console_config()
/arch/nios2/boot/compressed/
Dconsole.c86 unsigned int baud, baudclk; in console_init() local
89 baud = CONFIG_SERIAL_ALTERA_UART_BAUDRATE; in console_init()
90 baudclk = UART0_FREQ / baud; in console_init()
/arch/arc/boot/dts/
Dvdk_axs10x_mb.dtsi60 baud = <115200>;
70 baud = <115200>;
80 baud = <115200>;
Dnsim_700.dts49 baud = <115200>;
Dvdk_axc003.dtsi42 baud = <115200>;
Daxs10x_mb.dtsi136 baud = <115200>;
146 baud = <115200>;
157 baud = <115200>;
/arch/arm/boot/dts/mediatek/
Dmt8135.dtsi227 clock-names = "baud", "bus";
236 clock-names = "baud", "bus";
245 clock-names = "baud", "bus";
254 clock-names = "baud", "bus";
/arch/arm64/boot/dts/amlogic/
Damlogic-t7-a311d2-an400.dts37 clock-names = "xtal", "pclk", "baud";
Damlogic-t7-a311d2-khadas-vim4.dts53 clock-names = "xtal", "pclk", "baud";
Dmeson-a1.dtsi116 clock-names = "xtal", "pclk", "baud";
126 clock-names = "xtal", "pclk", "baud";
/arch/mips/boot/dts/ingenic/
Djz4780.dtsi287 clock-names = "baud", "module";
300 clock-names = "baud", "module";
313 clock-names = "baud", "module";
326 clock-names = "baud", "module";
339 clock-names = "baud", "module";
Djz4770.dtsi326 clock-names = "baud", "module";
339 clock-names = "baud", "module";
352 clock-names = "baud", "module";
365 clock-names = "baud", "module";
/arch/arm64/boot/dts/mediatek/
Dmt6779.dtsi215 clock-names = "baud", "bus";
225 clock-names = "baud", "bus";
235 clock-names = "baud", "bus";
Dmt6797.dtsi248 clock-names = "baud", "bus";
259 clock-names = "baud", "bus";
270 clock-names = "baud", "bus";
281 clock-names = "baud", "bus";

123