/linux-6.1.9/drivers/usb/serial/ |
D | kl5kusb105.c | 103 u8 baudrate; member 145 settings->pktlen, settings->baudrate, settings->databits, in klsi_105_chg_port_settings() 199 priv->cfg.baudrate = kl5kusb105a_sio_b9600; in klsi_105_port_probe() 239 cfg.baudrate = kl5kusb105a_sio_b9600; in klsi_105_open() 247 priv->cfg.baudrate = cfg.baudrate; in klsi_105_open() 398 priv->cfg.baudrate = kl5kusb105a_sio_b1200; in klsi_105_set_termios() 401 priv->cfg.baudrate = kl5kusb105a_sio_b2400; in klsi_105_set_termios() 404 priv->cfg.baudrate = kl5kusb105a_sio_b4800; in klsi_105_set_termios() 407 priv->cfg.baudrate = kl5kusb105a_sio_b9600; in klsi_105_set_termios() 410 priv->cfg.baudrate = kl5kusb105a_sio_b19200; in klsi_105_set_termios() [all …]
|
D | f81232.c | 131 static int calc_baud_divisor(speed_t baudrate, speed_t clockrate) in calc_baud_divisor() argument 133 return DIV_ROUND_CLOSEST(clockrate, baudrate); in calc_baud_divisor() 472 static int f81232_find_clk(speed_t baudrate) in f81232_find_clk() argument 477 if (baudrate <= baudrate_table[idx] && in f81232_find_clk() 478 baudrate_table[idx] % baudrate == 0) in f81232_find_clk() 486 struct usb_serial_port *port, speed_t baudrate, in f81232_set_baudrate() argument 495 speed_t baud_list[] = { baudrate, old_baudrate, F81232_DEF_BAUDRATE }; in f81232_set_baudrate() 498 baudrate = baud_list[i]; in f81232_set_baudrate() 499 if (baudrate == 0) { in f81232_set_baudrate() 504 idx = f81232_find_clk(baudrate); in f81232_set_baudrate() [all …]
|
D | f81534.c | 537 static u32 f81534_calc_baud_divisor(u32 baudrate, u32 clockrate) in f81534_calc_baud_divisor() argument 540 return DIV_ROUND_CLOSEST(clockrate, baudrate); in f81534_calc_baud_divisor() 543 static int f81534_find_clk(u32 baudrate) in f81534_find_clk() argument 548 if (baudrate <= baudrate_table[idx] && in f81534_find_clk() 549 baudrate_table[idx] % baudrate == 0) in f81534_find_clk() 557 struct tty_struct *tty, u32 baudrate, u32 old_baudrate, u8 lcr) in f81534_set_port_config() argument 565 u32 baud_list[] = {baudrate, old_baudrate, F81534_DEFAULT_BAUD_RATE}; in f81534_set_port_config() 568 baudrate = baud_list[i]; in f81534_set_port_config() 569 if (baudrate == 0) { in f81534_set_port_config() 574 idx = f81534_find_clk(baudrate); in f81534_set_port_config() [all …]
|
D | mos7720.c | 1237 __u32 baudrate; member 1268 static int calc_baud_rate_divisor(struct usb_serial_port *port, int baudrate, int *divisor) in calc_baud_rate_divisor() argument 1276 dev_dbg(&port->dev, "%s - %d\n", __func__, baudrate); in calc_baud_rate_divisor() 1279 if (divisor_table[i].baudrate == baudrate) { in calc_baud_rate_divisor() 1287 if (baudrate > 75 && baudrate < 230400) { in calc_baud_rate_divisor() 1289 custom = (__u16)(230400L / baudrate); in calc_baud_rate_divisor() 1292 round1 = (__u16)(2304000L / baudrate); in calc_baud_rate_divisor() 1298 dev_dbg(&port->dev, "Baud %d = %d\n", baudrate, custom); in calc_baud_rate_divisor() 1312 int baudrate) in send_cmd_write_baud_rate() argument 1327 dev_dbg(&port->dev, "%s - baud = %d\n", __func__, baudrate); in send_cmd_write_baud_rate() [all …]
|
D | quatech2.c | 146 static inline int calc_baud_divisor(int baudrate) in calc_baud_divisor() argument 150 divisor = MAX_BAUD_RATE / baudrate; in calc_baud_divisor() 151 rem = MAX_BAUD_RATE % baudrate; in calc_baud_divisor() 153 if (((rem * 2) >= baudrate) && (baudrate != 110)) in calc_baud_divisor() 161 u16 baudrate, u16 lcr) in qt2_set_port_config() argument 163 int divisor = calc_baud_divisor(baudrate); in qt2_set_port_config()
|
D | io_edgeport.c | 2240 static int calc_baud_rate_divisor(struct device *dev, int baudrate, int *divisor) in calc_baud_rate_divisor() argument 2246 if (divisor_table[i].BaudRate == baudrate) { in calc_baud_rate_divisor() 2255 if (baudrate > 50 && baudrate < 230400) { in calc_baud_rate_divisor() 2257 custom = (__u16)((230400L + baudrate/2) / baudrate); in calc_baud_rate_divisor() 2261 dev_dbg(dev, "%s - Baud %d = %d\n", __func__, baudrate, custom); in calc_baud_rate_divisor()
|
/linux-6.1.9/sound/drivers/ |
D | serial-generic.c | 48 unsigned int baudrate; member 136 drvdata->baudrate); in snd_serial_generic_ensure_serdev_open() 137 if (actual_baud != drvdata->baudrate) { in snd_serial_generic_ensure_serdev_open() 139 drvdata->baudrate, drvdata->card->shortname, actual_baud); in snd_serial_generic_ensure_serdev_open() 268 &drvdata->baudrate); in snd_serial_generic_parse_dt() 273 drvdata->baudrate = 38400; in snd_serial_generic_parse_dt()
|
/linux-6.1.9/Documentation/devicetree/bindings/serial/ |
D | mvebu-uart.txt | 13 - clocks: UART reference clock used to derive the baudrate. If no clock 16 if the baudrate was initialized by the bootloader and no baudrate
|
D | arm_sbsa_uart.txt | 3 in the PL011 driver. It's baudrate and other communication parameters
|
D | amlogic,meson-uart.yaml | 52 - description: the source of the baudrate generator, can be either the xtal or the pclk
|
D | mediatek,uart.yaml | 58 - description: The clock the baudrate is derived from
|
/linux-6.1.9/Documentation/admin-guide/ |
D | serial-console.rst | 29 defines the baudrate/parity/bits/flow control of 33 9600n8. The maximum baudrate is 115200. 92 set the baudrate to 38400 (baudrate of the virtual console).
|
/linux-6.1.9/drivers/net/hamradio/ |
D | yam.c | 99 int baudrate; member 463 int divisor = 115200 / yp->baudrate; in yam_set_uart() 805 seq_printf(seq, " BaudRate %u\n", yp->baudrate); in yam_seq_show() 995 if (yi.cfg.baudrate > YAM_MAXBAUDRATE) in yam_siocdevprivate() 997 yp->baudrate = yi.cfg.baudrate; in yam_siocdevprivate() 1038 yi.cfg.baudrate = yp->baudrate; in yam_siocdevprivate() 1084 yp->baudrate = DEFAULT_BITRATE * 2; in yam_setup()
|
/linux-6.1.9/drivers/bluetooth/ |
D | btqca.h | 155 int qca_uart_setup(struct hci_dev *hdev, uint8_t baudrate, 179 static inline int qca_uart_setup(struct hci_dev *hdev, uint8_t baudrate, in qca_uart_setup() argument
|
D | btmtkuart.c | 533 __le32 baudrate; in btmtkuart_change_baudrate() local 540 baudrate = cpu_to_le32(bdev->desired_speed); in btmtkuart_change_baudrate() 544 wmt_params.data = &baudrate; in btmtkuart_change_baudrate()
|
D | btqca.c | 577 int qca_uart_setup(struct hci_dev *hdev, uint8_t baudrate, in qca_uart_setup() argument 592 config.user_baud_rate = baudrate; in qca_uart_setup()
|
/linux-6.1.9/net/nfc/nci/ |
D | uart.c | 409 void nci_uart_set_config(struct nci_uart *nu, int baudrate, int flow_ctrl) in nci_uart_set_config() argument 419 tty_termios_encode_baud_rate(&new_termios, baudrate, baudrate); in nci_uart_set_config()
|
/linux-6.1.9/include/linux/ |
D | yam.h | 49 unsigned int baudrate; /* Baud rate of the RS232 port */ member
|
D | serdev.h | 238 …c inline unsigned int serdev_device_set_baudrate(struct serdev_device *sdev, unsigned int baudrate) in serdev_device_set_baudrate() argument
|
/linux-6.1.9/drivers/nfc/nfcmrvl/ |
D | fw_dnld.h | 29 uint32_t baudrate; member
|
D | uart.c | 48 nci_uart_set_config(nu, le32_to_cpu(config->baudrate), in nfcmrvl_uart_nci_update_config()
|
/linux-6.1.9/Documentation/devicetree/bindings/gnss/ |
D | gnss-common.yaml | 39 description: The baudrate in bits per second of the device as it comes
|
/linux-6.1.9/drivers/tty/serial/ |
D | fsl_lpuart.c | 1961 unsigned int baudrate, bool use_rx_dma, in __lpuart32_serial_setbrg() argument 1976 baud_diff = baudrate; in __lpuart32_serial_setbrg() 1982 tmp_sbr = (clk / (baudrate * tmp_osr)); in __lpuart32_serial_setbrg() 1990 tmp_diff = clk / (tmp_osr * tmp_sbr) - baudrate; in __lpuart32_serial_setbrg() 1994 if (tmp_diff > (baudrate - tmp)) { in __lpuart32_serial_setbrg() 1995 tmp_diff = baudrate - tmp; in __lpuart32_serial_setbrg() 2013 if (baud_diff > ((baudrate / 100) * 3)) in __lpuart32_serial_setbrg() 2037 unsigned int baudrate) in lpuart32_serial_setbrg() argument 2039 __lpuart32_serial_setbrg(&sport->port, baudrate, in lpuart32_serial_setbrg()
|
/linux-6.1.9/Documentation/networking/device_drivers/hamradio/ |
D | z8530drv.rst | 226 Note that you cannot use the on-board baudrate generator off DRSI 267 speed 1200 # the default baudrate 424 baudrate and number of interfaces is too high for the processing 466 The baudrate on this channel in bits/sec 503 on the baudrate selected. A few character times should be
|
/linux-6.1.9/sound/soc/fsl/ |
D | fsl_ssi.c | 687 unsigned long clkrate, baudrate, tmprate; in fsl_ssi_set_bclk() local 756 baudrate = tmprate; in fsl_ssi_set_bclk() 780 ret = clk_set_rate(ssi->baudclk, baudrate); in fsl_ssi_set_bclk()
|