Searched refs:baud (Results 1 - 25 of 145) sorted by path

123456

/linux-master/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...]
/linux-master/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);
/linux-master/arch/nios2/boot/compressed/
H A Dconsole.c86 unsigned int baud, baudclk; local
89 baud = CONFIG_SERIAL_ALTERA_UART_BAUDRATE;
90 baudclk = UART0_FREQ / baud;
/linux-master/arch/powerpc/boot/
H A Dcuboot-acadia.c53 unsigned long baud; local
123 if (getprop(np, "current-speed", &baud, sizeof(baud)) != sizeof(baud))
127 div = plloutb / (16 * baud); /* total divisor */
/linux-master/arch/x86/boot/
H A Dearly_serial_console.c26 static void early_serial_init(int port, int baud) argument
36 divisor = 115200 / baud;
48 int baud = DEFAULT_BAUD; local
92 baud = simple_strtoull(arg + pos, &e, 0);
93 if (baud == 0 || arg + pos == e)
94 baud = DEFAULT_BAUD;
98 early_serial_init(port, baud);
120 int baud = DEFAULT_BAUD; local
140 baud = simple_strtoull(options + 1, &options, 0);
142 baud
[all...]
/linux-master/drivers/tty/serial/
H A Dsuncore.c89 int baud, bits, stop, cflag; local
121 baud = simple_strtoul(s, NULL, 0);
131 switch (baud) {
145 default: baud = 9600; cflag |= B9600; break;
170 /* Sun serial MOUSE auto baud rate detection. */
172 int baud; member in struct:mouse_baud_cflag
187 for (i = 0; mouse_baud_table[i].baud != -1; i++)
192 if (mouse_baud_table[i].baud == -1)
195 *new_baud = mouse_baud_table[i].baud;
201 /* Basically, when the baud rat
[all...]
/linux-master/arch/mips/generic/
H A Dyamon-dt.c161 unsigned int uart, baud, stop_bits; local
176 baud = stop_bits = 0;
184 baud *= 10;
185 baud += mode_var[0] - '0';
202 if (!baud)
203 baud = 38400;
212 uart, baud, parity, stop_bits,
/linux-master/arch/mips/include/asm/sn/
H A Dklconfig.h130 short baud; member in struct:console_s
/linux-master/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,
/linux-master/arch/mips/pic32/pic32mzda/
H A Dearly_console.c50 static void __init configure_uart(int port, int baud) argument
57 __raw_writel(((pbclk / baud) / 16) - 1, uart_base + U_BRG(port));
63 static void __init setup_early_console(int port, int baud) argument
69 configure_uart(console_port, baud);
111 int baud = -1; local
124 baud = 0;
126 baud = baud * 10 + *s++ - '0';
130 return baud;
136 int baud, por local
[all...]
/linux-master/arch/mips/sgi-ip32/
H A Dip32-setup.c91 char *baud = ArcGetEnvironmentVariable("dbaud"); local
92 if (baud)
93 strcpy(options, baud);
95 baud ? options : NULL);
/linux-master/arch/mips/sni/
H A Dsetup.c65 char *baud; local
76 baud = prom_getenv("lbaud");
80 baud = prom_getenv("rbaud");
83 if (baud)
84 strcpy(options, baud);
87 baud ? options : NULL);
90 baud ? options : NULL);
/linux-master/arch/x86/kernel/
H A Dearly_printk.c151 unsigned long baud = DEFAULT_BAUD; local
177 baud = simple_strtoull(s, &e, 0);
179 if (baud == 0 || s == e)
180 baud = DEFAULT_BAUD;
183 /* Convert from baud to divisor value */
184 divisor = 115200 / baud;
213 * The rest of the param should be "[force],B:D.F,baud", where B, D & F describe
220 unsigned long baud = DEFAULT_BAUD; local
255 /* A baud might be following */
308 if (kstrtoul(s, 0, &baud) <
[all...]
/linux-master/drivers/accessibility/speakup/
H A Dserialio.c50 int baud = 9600, quot = 0; local
63 quot = ser->baud_base / baud;
/linux-master/drivers/bluetooth/
H A Dbluecard_cs.c90 /* Default baud rate: 57600, 115200, 230400 or 460800 */
306 /* Set baud on baseband */
559 static int bluecard_hci_set_baud_rate(struct hci_dev *hdev, int baud) argument
564 /* Ericsson baud rate command */
573 switch (baud) {
752 /* Set baud rate */
H A Dhci_nokia.c85 u16 baud; member in struct:hci_nokia_neg_cmd
106 u16 baud; member in struct:hci_nokia_neg_evt
269 u16 baud = DIV_ROUND_CLOSEST(btdev->sysclk_speed * 10, SETUP_BAUD_RATE); local
284 neg_cmd->baud = cpu_to_le16(baud);
560 dev_dbg(dev, "Negotiation received: baud=%u:clk=%u:manu=%u:vers=%u",
561 evt->baud, evt->sys_clk, evt->man_id, evt->ver_id);
/linux-master/drivers/ipack/devices/
H A Dipoctal.c504 speed_t baud; local
568 baud = tty_get_baud_rate(tty);
569 tty_termios_encode_baud_rate(&tty->termios, baud, baud);
571 /* Set baud rate */
572 switch (baud) {
/linux-master/drivers/mfd/
H A Drave-sp.c773 u32 baud; local
776 if (of_property_read_u32(dev->of_node, "current-speed", &baud)) {
802 serdev_device_set_baudrate(serdev, baud);
/linux-master/drivers/mmc/core/
H A Dsdio_uart.c250 unsigned int baud, quot; local
262 baud = tty_termios_baud_rate(termios);
263 if (baud == 0)
264 baud = 9600; /* Special case: B0 rate. */
265 if (baud <= port->uartclk)
269 * baud rate if possible, otherwise default to 9600.
278 quot = (2 * port->uartclk + baud) / (2 * baud);
280 if (baud < 2400)
/linux-master/drivers/net/can/usb/
H A Desd_usb.c193 __le32 baud; member in struct:esd_usb_set_baudrate_msg
975 msg->setbaud.baud = cpu_to_le32(ESD_USB_NO_BAUDRATE);
1053 msg->setbaud.baud = cpu_to_le32(canbtr);
/linux-master/drivers/net/ethernet/microchip/
H A Dlan743x_main.c996 u16 baud)
1009 if (baud == VR_MII_BAUD_RATE_1P25GBPS) {
995 lan743x_sgmii_mpll_set(struct lan743x_adapter *adapter, u16 baud) argument
/linux-master/drivers/net/hamradio/
H A Dbaycom_ser_fdx.c15 * ser12: This is a very simple 1200 baud AFSK modem. The modem consists only
27 * hsk: This is a 4800 baud FSK modem, designed for TNC use. It works fine
37 * '#' denotes the baud rate / 100, eg. ser12* is '1200 baud, soft DCD'
39 * baud baud rate (between 300 and 4800)
115 unsigned int baud, baud_us, baud_arbdiv, baud_uartdiv, baud_dcdtimeout; member in struct:baycom_state
388 if (bc->baud < 300 || bc->baud > 4800) {
399 bc->hdrv.par.bitrate = bc->baud;
482 unsigned int baud; local
572 static int baud[NR_PORTS] = { [0 ... NR_PORTS-1] = 1200 }; variable
[all...]
/linux-master/drivers/power/reset/
H A Dqnap-poweroff.c24 u32 baud; member in struct:power_off_cfg
29 .baud = 19200,
34 .baud = 9600,
55 const unsigned divisor = ((tclk + (8 * cfg->baud)) / (16 * cfg->baud));
/linux-master/drivers/ptp/
H A Dptp_ocp.c312 int baud; member in struct:ptp_ocp_serial_port
661 .baud = 115200,
668 .baud = 115200,
675 .baud = 57600,
746 .baud = 115200,
845 .baud = 9600,
956 .baud = 9600,
963 .baud = 115200,
2279 port.baud = p->baud;
4403 ptp_ocp_serial_info(struct device *dev, const char *name, int port, int baud) argument
[all...]
/linux-master/drivers/spi/
H A Dspi-oc-tiny.c45 unsigned int baud; member in struct:tiny_spi
70 unsigned int baud = hw->baud; local
74 baud = tiny_spi_baud(spi, t->speed_hz);
76 writel(baud, hw->base + TINY_SPI_BAUD);
87 hw->baud = tiny_spi_baud(spi, hw->speed_hz);
198 if (!of_property_read_u32(np, "baud-width", &val))

Completed in 413 milliseconds

123456