baudrate          666 drivers/bluetooth/btmtkuart.c 	__le32 baudrate;
baudrate          673 drivers/bluetooth/btmtkuart.c 	baudrate = cpu_to_le32(bdev->desired_speed);
baudrate          677 drivers/bluetooth/btmtkuart.c 	wmt_params.data = &baudrate;
baudrate          381 drivers/bluetooth/btqca.c int qca_uart_setup(struct hci_dev *hdev, uint8_t baudrate,
baudrate          391 drivers/bluetooth/btqca.c 	config.user_baud_rate = baudrate;
baudrate          134 drivers/bluetooth/btqca.h int qca_uart_setup(struct hci_dev *hdev, uint8_t baudrate,
baudrate          151 drivers/bluetooth/btqca.h static inline int qca_uart_setup(struct hci_dev *hdev, uint8_t baudrate,
baudrate          998 drivers/bluetooth/hci_qca.c static int qca_set_baudrate(struct hci_dev *hdev, uint8_t baudrate)
baudrate         1005 drivers/bluetooth/hci_qca.c 	if (baudrate > QCA_BAUDRATE_3200000)
baudrate         1008 drivers/bluetooth/hci_qca.c 	cmd[4] = baudrate;
baudrate           99 drivers/net/hamradio/yam.c 	int baudrate;
baudrate          463 drivers/net/hamradio/yam.c 	int divisor = 115200 / yp->baudrate;
baudrate          805 drivers/net/hamradio/yam.c 	seq_printf(seq, "  BaudRate %u\n", yp->baudrate);
baudrate          998 drivers/net/hamradio/yam.c 			if (yi.cfg.baudrate > YAM_MAXBAUDRATE)
baudrate         1000 drivers/net/hamradio/yam.c 			yp->baudrate = yi.cfg.baudrate;
baudrate         1041 drivers/net/hamradio/yam.c 		yi.cfg.baudrate = yp->baudrate;
baudrate         1087 drivers/net/hamradio/yam.c 	yp->baudrate = DEFAULT_BITRATE * 2;
baudrate          204 drivers/nfc/nfcmrvl/fw_dnld.c 		       &priv->fw_dnld.binary_config->uart.baudrate,
baudrate           40 drivers/nfc/nfcmrvl/fw_dnld.h 	uint32_t baudrate;
baudrate           59 drivers/nfc/nfcmrvl/uart.c 	nci_uart_set_config(nu, le32_to_cpu(config->baudrate),
baudrate          209 drivers/tty/mxser.c 	long baudrate[32];
baudrate         1610 drivers/tty/mxser.c 					me->baudrate[p] = tty_termios_baud_rate(&ip->normal_termios);
baudrate         1614 drivers/tty/mxser.c 					me->baudrate[p] = tty_get_baud_rate(tty);
baudrate         2693 drivers/tty/serial/amba-pl011.c 	int baudrate;
baudrate         2702 drivers/tty/serial/amba-pl011.c 		ret = of_property_read_u32(np, "current-speed", &baudrate);
baudrate         2706 drivers/tty/serial/amba-pl011.c 		baudrate = 115200;
baudrate         2735 drivers/tty/serial/amba-pl011.c 	uap->fixed_baud = baudrate;
baudrate         1783 drivers/tty/serial/fsl_lpuart.c lpuart32_serial_setbrg(struct lpuart_port *sport, unsigned int baudrate)
baudrate         1797 drivers/tty/serial/fsl_lpuart.c 	baud_diff = baudrate;
baudrate         1803 drivers/tty/serial/fsl_lpuart.c 		tmp_sbr = (clk / (baudrate * tmp_osr));
baudrate         1811 drivers/tty/serial/fsl_lpuart.c 		tmp_diff = clk / (tmp_osr * tmp_sbr) - baudrate;
baudrate         1815 drivers/tty/serial/fsl_lpuart.c 		if (tmp_diff > (baudrate - tmp)) {
baudrate         1816 drivers/tty/serial/fsl_lpuart.c 			tmp_diff = baudrate - tmp;
baudrate         1831 drivers/tty/serial/fsl_lpuart.c 	if (baud_diff > ((baudrate / 100) * 3))
baudrate           79 drivers/usb/serial/f81232.c static int calc_baud_divisor(speed_t baudrate, speed_t clockrate)
baudrate           81 drivers/usb/serial/f81232.c 	if (!baudrate)
baudrate           84 drivers/usb/serial/f81232.c 	return DIV_ROUND_CLOSEST(clockrate, baudrate);
baudrate          400 drivers/usb/serial/f81232.c static int f81232_find_clk(speed_t baudrate)
baudrate          405 drivers/usb/serial/f81232.c 		if (baudrate <= baudrate_table[idx] &&
baudrate          406 drivers/usb/serial/f81232.c 				baudrate_table[idx] % baudrate == 0)
baudrate          414 drivers/usb/serial/f81232.c 				struct usb_serial_port *port, speed_t baudrate,
baudrate          423 drivers/usb/serial/f81232.c 	speed_t baud_list[] = { baudrate, old_baudrate, F81232_DEF_BAUDRATE };
baudrate          428 drivers/usb/serial/f81232.c 			baudrate = baud_list[i];
baudrate          429 drivers/usb/serial/f81232.c 			tty_encode_baud_rate(tty, baudrate, baudrate);
baudrate          438 drivers/usb/serial/f81232.c 	divisor = calc_baud_divisor(baudrate, priv->baud_base);
baudrate          536 drivers/usb/serial/f81232.c 	speed_t baudrate;
baudrate          548 drivers/usb/serial/f81232.c 	baudrate = tty_get_baud_rate(tty);
baudrate          549 drivers/usb/serial/f81232.c 	if (baudrate > 0) {
baudrate          555 drivers/usb/serial/f81232.c 		f81232_set_baudrate(tty, port, baudrate, old_baud);
baudrate          539 drivers/usb/serial/f81534.c static u32 f81534_calc_baud_divisor(u32 baudrate, u32 clockrate)
baudrate          541 drivers/usb/serial/f81534.c 	if (!baudrate)
baudrate          545 drivers/usb/serial/f81534.c 	return DIV_ROUND_CLOSEST(clockrate, baudrate);
baudrate          548 drivers/usb/serial/f81534.c static int f81534_find_clk(u32 baudrate)
baudrate          553 drivers/usb/serial/f81534.c 		if (baudrate <= baudrate_table[idx] &&
baudrate          554 drivers/usb/serial/f81534.c 				baudrate_table[idx] % baudrate == 0)
baudrate          562 drivers/usb/serial/f81534.c 		struct tty_struct *tty, u32 baudrate, u32 old_baudrate, u8 lcr)
baudrate          570 drivers/usb/serial/f81534.c 	u32 baud_list[] = {baudrate, old_baudrate, F81534_DEFAULT_BAUD_RATE};
baudrate          575 drivers/usb/serial/f81534.c 			baudrate = baud_list[i];
baudrate          576 drivers/usb/serial/f81534.c 			tty_encode_baud_rate(tty, baudrate, baudrate);
baudrate          595 drivers/usb/serial/f81534.c 	if (baudrate <= 1200)
baudrate          606 drivers/usb/serial/f81534.c 	if (baudrate <= 1200)
baudrate          618 drivers/usb/serial/f81534.c 	divisor = f81534_calc_baud_divisor(baudrate, port_priv->baud_base);
baudrate         2358 drivers/usb/serial/io_edgeport.c static int calc_baud_rate_divisor(struct device *dev, int baudrate, int *divisor)
baudrate         2364 drivers/usb/serial/io_edgeport.c 		if (divisor_table[i].BaudRate == baudrate) {
baudrate         2373 drivers/usb/serial/io_edgeport.c 	if (baudrate > 50 && baudrate < 230400) {
baudrate         2375 drivers/usb/serial/io_edgeport.c 		custom = (__u16)((230400L + baudrate/2) / baudrate);
baudrate         2379 drivers/usb/serial/io_edgeport.c 		dev_dbg(dev, "%s - Baud %d = %d\n", __func__, baudrate, custom);
baudrate          102 drivers/usb/serial/kl5kusb105.c 	u8	baudrate;
baudrate          142 drivers/usb/serial/kl5kusb105.c 		settings->pktlen, settings->baudrate, settings->databits,
baudrate          220 drivers/usb/serial/kl5kusb105.c 	priv->cfg.baudrate  = kl5kusb105a_sio_b9600;
baudrate          265 drivers/usb/serial/kl5kusb105.c 	cfg->baudrate = kl5kusb105a_sio_b9600;
baudrate          273 drivers/usb/serial/kl5kusb105.c 	priv->cfg.baudrate = cfg->baudrate;
baudrate          428 drivers/usb/serial/kl5kusb105.c 		priv->cfg.baudrate = kl5kusb105a_sio_b1200;
baudrate          431 drivers/usb/serial/kl5kusb105.c 		priv->cfg.baudrate = kl5kusb105a_sio_b2400;
baudrate          434 drivers/usb/serial/kl5kusb105.c 		priv->cfg.baudrate = kl5kusb105a_sio_b4800;
baudrate          437 drivers/usb/serial/kl5kusb105.c 		priv->cfg.baudrate = kl5kusb105a_sio_b9600;
baudrate          440 drivers/usb/serial/kl5kusb105.c 		priv->cfg.baudrate = kl5kusb105a_sio_b19200;
baudrate          443 drivers/usb/serial/kl5kusb105.c 		priv->cfg.baudrate = kl5kusb105a_sio_b38400;
baudrate          446 drivers/usb/serial/kl5kusb105.c 		priv->cfg.baudrate = kl5kusb105a_sio_b57600;
baudrate          449 drivers/usb/serial/kl5kusb105.c 		priv->cfg.baudrate = kl5kusb105a_sio_b115200;
baudrate          453 drivers/usb/serial/kl5kusb105.c 		priv->cfg.baudrate = kl5kusb105a_sio_b9600;
baudrate         1402 drivers/usb/serial/mos7720.c 	__u32  baudrate;
baudrate         1433 drivers/usb/serial/mos7720.c static int calc_baud_rate_divisor(struct usb_serial_port *port, int baudrate, int *divisor)
baudrate         1441 drivers/usb/serial/mos7720.c 	dev_dbg(&port->dev, "%s - %d\n", __func__, baudrate);
baudrate         1444 drivers/usb/serial/mos7720.c 		if (divisor_table[i].baudrate == baudrate) {
baudrate         1452 drivers/usb/serial/mos7720.c 	if (baudrate > 75 &&  baudrate < 230400) {
baudrate         1454 drivers/usb/serial/mos7720.c 		custom = (__u16)(230400L  / baudrate);
baudrate         1457 drivers/usb/serial/mos7720.c 		round1 = (__u16)(2304000L / baudrate);
baudrate         1463 drivers/usb/serial/mos7720.c 		dev_dbg(&port->dev, "Baud %d = %d\n", baudrate, custom);
baudrate         1477 drivers/usb/serial/mos7720.c 				    int baudrate)
baudrate         1492 drivers/usb/serial/mos7720.c 	dev_dbg(&port->dev, "%s - baud = %d\n", __func__, baudrate);
baudrate         1495 drivers/usb/serial/mos7720.c 	status = calc_baud_rate_divisor(port, baudrate, &divisor);
baudrate          146 drivers/usb/serial/quatech2.c static inline int calc_baud_divisor(int baudrate)
baudrate          150 drivers/usb/serial/quatech2.c 	divisor = MAX_BAUD_RATE / baudrate;
baudrate          151 drivers/usb/serial/quatech2.c 	rem = MAX_BAUD_RATE % baudrate;
baudrate          153 drivers/usb/serial/quatech2.c 	if (((rem * 2) >= baudrate) && (baudrate != 110))
baudrate          161 drivers/usb/serial/quatech2.c 				      u16 baudrate, u16 lcr)
baudrate          163 drivers/usb/serial/quatech2.c 	int divisor = calc_baud_divisor(baudrate);
baudrate          237 include/linux/serdev.h static inline unsigned int serdev_device_set_baudrate(struct serdev_device *sdev, unsigned int baudrate)
baudrate           49 include/linux/yam.h 	unsigned int baudrate;	/* Baud rate of the RS232 port */
baudrate          461 include/net/nfc/nci_core.h void nci_uart_set_config(struct nci_uart *nu, int baudrate, int flow_ctrl);
baudrate          433 net/nfc/nci/uart.c void nci_uart_set_config(struct nci_uart *nu, int baudrate, int flow_ctrl)
baudrate          443 net/nfc/nci/uart.c 	tty_termios_encode_baud_rate(&new_termios, baudrate, baudrate);
baudrate          680 sound/soc/fsl/fsl_ssi.c 	unsigned long clkrate, baudrate, tmprate;
baudrate          744 sound/soc/fsl/fsl_ssi.c 			baudrate = tmprate;
baudrate          769 sound/soc/fsl/fsl_ssi.c 		ret = clk_set_rate(ssi->baudclk, baudrate);