Searched defs:baud (Results 1 - 20 of 20) sorted by relevance

/arch/mips/sgi-ip22/
H A Dip22-setup.c68 char *baud = ArcGetEnvironmentVariable("dbaud"); local
69 if (baud)
70 strcpy(options, baud);
72 baud ? options : NULL);
/arch/blackfin/kernel/
H A Dearly_printk.c39 int baud, bit; local
48 baud = simple_strtoul(buf, &buf, 10);
49 switch (baud) {
/arch/mips/mti-sead3/
H A Dsead3-init.c24 int baud = 0; local
32 baud = baud*10 + *s++ - '0';
46 if (baud == 0)
47 baud = 38400;
54 sprintf(console_string, " console=ttyS0,%d%c%c%c", baud,
/arch/mips/sgi-ip32/
H A Dip32-setup.c94 char *baud = ArcGetEnvironmentVariable("dbaud"); local
95 if (baud)
96 strcpy(options, baud);
98 baud ? options : NULL);
/arch/mn10300/kernel/
H A Dgdb-io-serial.c80 * set up the GDB stub serial port baud rate timers
82 void gdbstub_io_set_baud(unsigned baud) argument
87 value = 18432000 / 16 / baud;
H A Dgdb-io-ttysm.c94 * set up the GDB stub serial port baud rate timers
96 void gdbstub_io_set_baud(unsigned baud) argument
105 if (!baud) {
106 baud = 9600;
107 } else if (baud == 134) {
108 baud = 269; /* 134 is really 134.5 */
118 tmxbr = tmp = (ioclk / (baud * xdiv) + 4) / 8 - 1;
123 tmxbr = tmp = (ioclk / (baud * 8 * xdiv) + 4) / 8 - 1;
128 tmxbr = tmp = (ioclk / (baud * 32 * xdiv) + 4) / 8 - 1;
136 tmxbr = tmp = (ioclk / (baud * xdi
[all...]
H A Dmn10300-serial.c372 * we abuse the serial ports' baud timers' interrupt lines to get the ability
380 * note that we can't just leave the line enabled as the baud rate timer *also*
738 * routines (irq is the baud timer interrupt)
1035 /* disable the serial port and its baud rate timer */
1056 * specified baud rate for a serial port.
1065 int baud, bits, xdiv, tmp; local
1097 /* Determine divisor based on baud rate */
1162 baud = uart_get_baud_rate(&port->uart, new, old, 0,
1165 _debug("ALT %d [baud %d]", battempt, baud);
1668 int i, parity = 'n', baud = 9600, bits = 8, flow = 0; local
[all...]
/arch/mips/sni/
H A Dsetup.c63 char *baud; local
74 baud = prom_getenv("lbaud");
78 baud = prom_getenv("rbaud");
81 if (baud)
82 strcpy(options, baud);
85 baud ? options : NULL);
88 baud ? options : NULL);
/arch/frv/kernel/
H A Dgdb-io.c79 * set up the GDB stub serial port baud rate timers
81 void gdbstub_set_baud(unsigned baud) argument
86 /* work out the divisor to give us the nearest higher baud rate */
87 value = __serial_clock_speed_HZ / 16 / baud;
89 /* determine the baud rate range */
94 if (low + (high - low) / 2 > baud)
H A Ddebug-stub.c199 * set up the ttyS0 serial port baud rate timers
201 void __init console_set_baud(unsigned baud) argument
206 /* work out the divisor to give us the nearest higher baud rate */
207 value = __serial_clock_speed_HZ / 16 / baud;
209 /* determine the baud rate range */
214 if (low + (high - low) / 2 > baud)
/arch/mips/mti-malta/
H A Dmalta-init.c45 int baud = 0; local
52 baud = baud*10 + *s++ - '0';
66 if (baud == 0)
67 baud = 38400;
76 sprintf(console_string, "uart8250,io,0x3f8,%d%c%c", baud,
82 sprintf(console_string, " console=ttyS0,%d%c%c%c", baud,
/arch/powerpc/boot/
H A Dplanetcore.c138 u64 baud; local
159 &baud)) {
164 baud32 = baud;
H A Dcuboot-acadia.c56 unsigned long baud; local
126 if (getprop(np, "current-speed", &baud, sizeof(baud)) != sizeof(baud))
130 div = plloutb / (16 * baud); /* total divisor */
/arch/m68k/atari/
H A Ddebug.c168 int baud = cflag & CBAUD; local
173 baud += B38400;
174 if (baud < B1200 || baud > B38400+2)
175 baud = B9600; /* use default 9600bps for non-implemented rates */
176 baud -= B1200; /* baud_table[] starts at 1200bps */
181 st_mfp.tim_dt_d = baud_table[baud];
218 int baud = cflag & CBAUD; local
222 baud += B38400;
223 if (baud < B120
265 int baud = cflag & CBAUD; local
[all...]
/arch/x86/boot/
H A Dearly_serial_console.c23 static void early_serial_init(int port, int baud) argument
33 divisor = 115200 / baud;
45 int baud = DEFAULT_BAUD; local
89 baud = simple_strtoull(arg + pos, &e, 0);
90 if (baud == 0 || arg + pos == e)
91 baud = DEFAULT_BAUD;
95 early_serial_init(port, baud);
117 int baud = DEFAULT_BAUD; local
137 baud = simple_strtoull(options + 1, &options, 0);
139 baud
[all...]
/arch/cris/arch-v10/kernel/
H A Ddebugport.c31 volatile char* baud; member in struct:dbg_port
182 *p->baud =
187 *p->baud =
192 *p->baud =
197 *p->baud =
202 *p->baud =
207 *p->baud =
212 *p->baud =
217 *p->baud =
222 *p->baud
[all...]
/arch/mips/ar7/
H A Dprom.c202 int baud = 0; local
211 baud = simple_strtoul(s, &p, 10);
227 if (baud == 0)
228 baud = 38400;
235 sprintf(console_string, " console=ttyS0,%d%c%c%c", baud,
238 sprintf(console_string, " console=ttyS0,%d%c%c", baud, parity,
/arch/mips/include/asm/netlogic/xlp-hal/
H A Duart.h54 #define BAUD_DIVISOR(baud) (BASE_BAUD / baud)
103 nlm_uart_set_baudrate(uint64_t base, int baud) argument
109 /* enable divisor register, and write baud values */
112 (BAUD_DIVISOR(baud) & 0xff));
114 ((BAUD_DIVISOR(baud) >> 8) & 0xff));
155 nlm_uart_init(uint64_t base, int baud, int databits, int stopbits, argument
181 nlm_uart_set_baudrate(base, baud);
/arch/x86/kernel/
H A Dearly_printk.c123 unsigned baud = DEFAULT_BAUD; local
154 baud = simple_strtoul(s, &e, 0);
155 if (baud == 0 || s == e)
156 baud = DEFAULT_BAUD;
159 divisor = 115200 / baud;
/arch/mips/include/asm/sn/
H A Dklconfig.h130 short baud; member in struct:console_s

Completed in 607 milliseconds