/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/x86/boot/ |
D | early_serial_console.c | 23 static void early_serial_init(int port, int baud) in early_serial_init() argument 33 divisor = 115200 / baud; in early_serial_init() 45 int baud = DEFAULT_BAUD; in parse_earlyprintk() local 89 baud = simple_strtoull(arg + pos, &e, 0); in parse_earlyprintk() 90 if (baud == 0 || arg + pos == e) in parse_earlyprintk() 91 baud = DEFAULT_BAUD; in parse_earlyprintk() 95 early_serial_init(port, baud); in parse_earlyprintk() 117 int baud = DEFAULT_BAUD; in parse_console_uart8250() local 137 baud = simple_strtoull(options + 1, &options, 0); in parse_console_uart8250() 139 baud = probe_baud(port); in parse_console_uart8250() [all …]
|
/arch/mn10300/kernel/ |
D | gdb-io-ttysm.c | 96 void gdbstub_io_set_baud(unsigned baud) in gdbstub_io_set_baud() argument 105 if (!baud) { in gdbstub_io_set_baud() 106 baud = 9600; in gdbstub_io_set_baud() 107 } else if (baud == 134) { in gdbstub_io_set_baud() 108 baud = 269; /* 134 is really 134.5 */ in gdbstub_io_set_baud() 118 tmxbr = tmp = (ioclk / (baud * xdiv) + 4) / 8 - 1; in gdbstub_io_set_baud() 123 tmxbr = tmp = (ioclk / (baud * 8 * xdiv) + 4) / 8 - 1; in gdbstub_io_set_baud() 128 tmxbr = tmp = (ioclk / (baud * 32 * xdiv) + 4) / 8 - 1; in gdbstub_io_set_baud() 136 tmxbr = tmp = (ioclk / (baud * xdiv) + 4) / 8 - 1; in gdbstub_io_set_baud() 141 tmxbr = tmp = (ioclk / (baud * 8 * xdiv) + 4) / 8 - 1; in gdbstub_io_set_baud() [all …]
|
D | gdb-io-serial.c | 82 void gdbstub_io_set_baud(unsigned baud) in gdbstub_io_set_baud() argument 87 value = 18432000 / 16 / baud; in gdbstub_io_set_baud()
|
D | mn10300-serial.c | 1065 int baud, bits, xdiv, tmp; in mn10300_serial_change_speed() local 1162 baud = uart_get_baud_rate(&port->uart, new, old, 0, in mn10300_serial_change_speed() 1165 _debug("ALT %d [baud %d]", battempt, baud); in mn10300_serial_change_speed() 1167 if (!baud) in mn10300_serial_change_speed() 1168 baud = 9600; /* B0 transition handled in rs_set_termios */ in mn10300_serial_change_speed() 1170 if (baud == 134) { in mn10300_serial_change_speed() 1171 baud = 269; /* 134 is really 134.5 */ in mn10300_serial_change_speed() 1175 if (baud == 38400 && in mn10300_serial_change_speed() 1230 tmxbr = tmp = (ioclk / (baud * xdiv) + 4) / 8 - 1; in mn10300_serial_change_speed() 1236 tmxbr = tmp = (ioclk / (baud * 8 * xdiv) + 4) / 8 - 1; in mn10300_serial_change_speed() [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/mti-sead3/ |
D | sead3-init.c | 24 int baud = 0; in console_config() local 32 baud = baud*10 + *s++ - '0'; in console_config() 46 if (baud == 0) in console_config() 47 baud = 38400; in console_config() 54 sprintf(console_string, " console=ttyS0,%d%c%c%c", baud, in console_config()
|
/arch/mips/include/asm/netlogic/xlp-hal/ |
D | uart.h | 54 #define BAUD_DIVISOR(baud) (BASE_BAUD / baud) argument 103 nlm_uart_set_baudrate(uint64_t base, int baud) in nlm_uart_set_baudrate() argument 112 (BAUD_DIVISOR(baud) & 0xff)); in nlm_uart_set_baudrate() 114 ((BAUD_DIVISOR(baud) >> 8) & 0xff)); in nlm_uart_set_baudrate() 155 nlm_uart_init(uint64_t base, int baud, int databits, int stopbits, in nlm_uart_init() argument 181 nlm_uart_set_baudrate(base, baud); in nlm_uart_init()
|
/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 | 94 char *baud = ArcGetEnvironmentVariable("dbaud"); in plat_mem_setup() local 95 if (baud) in plat_mem_setup() 96 strcpy(options, baud); in plat_mem_setup() 98 baud ? options : NULL); in plat_mem_setup()
|
/arch/powerpc/boot/ |
D | cuboot-acadia.c | 56 unsigned long baud; in get_clocks() local 126 if (getprop(np, "current-speed", &baud, sizeof(baud)) != sizeof(baud)) in get_clocks() 130 div = plloutb / (16 * baud); /* total divisor */ in get_clocks()
|
D | planetcore.c | 138 u64 baud; in planetcore_set_serial_speed() local 159 &baud)) { in planetcore_set_serial_speed() 164 baud32 = baud; in planetcore_set_serial_speed()
|
/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/ar7/ |
D | prom.c | 202 int baud = 0; in console_config() local 211 baud = simple_strtoul(s, &p, 10); in console_config() 227 if (baud == 0) in console_config() 228 baud = 38400; in console_config() 235 sprintf(console_string, " console=ttyS0,%d%c%c%c", baud, in console_config() 238 sprintf(console_string, " console=ttyS0,%d%c%c", baud, parity, in console_config()
|
/arch/cris/arch-v10/kernel/ |
D | debugport.c | 31 volatile char* baud; member 182 *p->baud = in start_port() 187 *p->baud = in start_port() 192 *p->baud = in start_port() 197 *p->baud = in start_port() 202 *p->baud = in start_port() 207 *p->baud = in start_port() 212 *p->baud = in start_port() 217 *p->baud = in start_port() 222 *p->baud = in start_port()
|
D | head.S | 561 ;; setup the serial port 0 at 115200 baud for debug purposes 595 ;; setup the serial port 1 at 115200 baud for debug purposes 630 ;; setup the serial port 2 at 115200 baud for debug purposes 666 ;; setup the serial port 3 at 115200 baud for debug purposes
|
/arch/x86/kernel/ |
D | early_printk.c | 123 unsigned baud = DEFAULT_BAUD; in early_serial_init() local 154 baud = simple_strtoul(s, &e, 0); in early_serial_init() 155 if (baud == 0 || s == e) in early_serial_init() 156 baud = DEFAULT_BAUD; in early_serial_init() 159 divisor = 115200 / baud; in early_serial_init()
|
/arch/frv/kernel/ |
D | gdb-io.c | 81 void gdbstub_set_baud(unsigned baud) in gdbstub_set_baud() argument 87 value = __serial_clock_speed_HZ / 16 / baud; in gdbstub_set_baud() 94 if (low + (high - low) / 2 > baud) in gdbstub_set_baud()
|
D | debug-stub.c | 201 void __init console_set_baud(unsigned baud) in console_set_baud() argument 207 value = __serial_clock_speed_HZ / 16 / baud; in console_set_baud() 214 if (low + (high - low) / 2 > baud) in console_set_baud()
|
/arch/blackfin/kernel/ |
D | early_printk.c | 39 int baud, bit; in earlyserial_init() local 48 baud = simple_strtoul(buf, &buf, 10); in earlyserial_init() 49 switch (baud) { in earlyserial_init()
|
/arch/frv/include/asm/ |
D | gdb-stub.h | 85 extern void gdbstub_set_baud(unsigned baud); 110 extern void console_set_baud(unsigned baud);
|
/arch/blackfin/include/asm/ |
D | bfin5xx_spi.h | 59 __BFP(baud);
|
/arch/arc/boot/dts/ |
D | nsimosci.dts | 49 baud = <115200>;
|
/arch/mn10300/include/asm/ |
D | gdb-stub.h | 101 extern asmlinkage void gdbstub_io_set_baud(unsigned baud);
|
/arch/cris/boot/rescue/ |
D | kimagerescue.S | 75 ;; setup the serial port at 115200 baud
|