Lines Matching refs:baud_rate
96 unsigned baud_rate; /* set baud rate */ member
241 speed_t baud_rate, u8 lcr) in ch341_set_baudrate_lcr() argument
246 if (!baud_rate) in ch341_set_baudrate_lcr()
249 val = ch341_get_divisor(priv, baud_rate); in ch341_set_baudrate_lcr()
329 r = ch341_set_baudrate_lcr(dev, priv, priv->baud_rate, priv->lcr); in ch341_configure()
385 priv->baud_rate = DEFAULT_BAUD_RATE; in ch341_port_probe()
489 unsigned baud_rate; in ch341_set_termios() local
498 baud_rate = tty_get_baud_rate(tty); in ch341_set_termios()
528 if (baud_rate) { in ch341_set_termios()
529 priv->baud_rate = baud_rate; in ch341_set_termios()
532 priv->baud_rate, lcr); in ch341_set_termios()
534 priv->baud_rate = tty_termios_baud_rate(old_termios); in ch341_set_termios()
621 r2 = ch341_set_baudrate_lcr(port->serial->dev, priv, priv->baud_rate, in ch341_simulate_break()
626 priv->baud_rate, r2); in ch341_simulate_break()