Lines Matching refs:baudrate
1401 __u32 baudrate; member
1432 static int calc_baud_rate_divisor(struct usb_serial_port *port, int baudrate, int *divisor) in calc_baud_rate_divisor() argument
1440 dev_dbg(&port->dev, "%s - %d\n", __func__, baudrate); in calc_baud_rate_divisor()
1443 if (divisor_table[i].baudrate == baudrate) { in calc_baud_rate_divisor()
1451 if (baudrate > 75 && baudrate < 230400) { in calc_baud_rate_divisor()
1453 custom = (__u16)(230400L / baudrate); in calc_baud_rate_divisor()
1456 round1 = (__u16)(2304000L / baudrate); in calc_baud_rate_divisor()
1462 dev_dbg(&port->dev, "Baud %d = %d\n", baudrate, custom); in calc_baud_rate_divisor()
1476 int baudrate) in send_cmd_write_baud_rate() argument
1491 dev_dbg(&port->dev, "%s - baud = %d\n", __func__, baudrate); in send_cmd_write_baud_rate()
1494 status = calc_baud_rate_divisor(port, baudrate, &divisor); in send_cmd_write_baud_rate()