/arch/m68k/atari/ |
D | debug.c | 168 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/ |
D | early_console.c | 50 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/ |
D | early_serial_console.c | 26 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/ |
D | ip22-setup.c | 68 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/ |
D | setup.c | 63 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/ |
D | ip32-setup.c | 92 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/ |
D | malta-init.c | 45 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/ |
D | yamon-dt.c | 161 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/ |
D | early_printk.c | 151 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/ |
D | cuboot-acadia.c | 53 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/ |
D | meson6.dtsi | 57 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/ |
D | prom.c | 191 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/ |
D | console.c | 86 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/ |
D | vdk_axs10x_mb.dtsi | 60 baud = <115200>; 70 baud = <115200>; 80 baud = <115200>;
|
D | nsim_700.dts | 49 baud = <115200>;
|
D | vdk_axc003.dtsi | 42 baud = <115200>;
|
D | axs10x_mb.dtsi | 136 baud = <115200>; 146 baud = <115200>; 157 baud = <115200>;
|
/arch/arm/boot/dts/mediatek/ |
D | mt8135.dtsi | 227 clock-names = "baud", "bus"; 236 clock-names = "baud", "bus"; 245 clock-names = "baud", "bus"; 254 clock-names = "baud", "bus";
|
/arch/arm64/boot/dts/amlogic/ |
D | amlogic-t7-a311d2-an400.dts | 37 clock-names = "xtal", "pclk", "baud";
|
D | amlogic-t7-a311d2-khadas-vim4.dts | 53 clock-names = "xtal", "pclk", "baud";
|
D | meson-a1.dtsi | 116 clock-names = "xtal", "pclk", "baud"; 126 clock-names = "xtal", "pclk", "baud";
|
/arch/mips/boot/dts/ingenic/ |
D | jz4780.dtsi | 287 clock-names = "baud", "module"; 300 clock-names = "baud", "module"; 313 clock-names = "baud", "module"; 326 clock-names = "baud", "module"; 339 clock-names = "baud", "module";
|
D | jz4770.dtsi | 326 clock-names = "baud", "module"; 339 clock-names = "baud", "module"; 352 clock-names = "baud", "module"; 365 clock-names = "baud", "module";
|
/arch/arm64/boot/dts/mediatek/ |
D | mt6779.dtsi | 215 clock-names = "baud", "bus"; 225 clock-names = "baud", "bus"; 235 clock-names = "baud", "bus";
|
D | mt6797.dtsi | 248 clock-names = "baud", "bus"; 259 clock-names = "baud", "bus"; 270 clock-names = "baud", "bus"; 281 clock-names = "baud", "bus";
|