Lines Matching refs:baudrate
1238 __u32 baudrate; member
1269 static int calc_baud_rate_divisor(struct usb_serial_port *port, int baudrate, int *divisor) in calc_baud_rate_divisor() argument
1277 dev_dbg(&port->dev, "%s - %d\n", __func__, baudrate); in calc_baud_rate_divisor()
1280 if (divisor_table[i].baudrate == baudrate) { in calc_baud_rate_divisor()
1288 if (baudrate > 75 && baudrate < 230400) { in calc_baud_rate_divisor()
1290 custom = (__u16)(230400L / baudrate); in calc_baud_rate_divisor()
1293 round1 = (__u16)(2304000L / baudrate); in calc_baud_rate_divisor()
1299 dev_dbg(&port->dev, "Baud %d = %d\n", baudrate, custom); in calc_baud_rate_divisor()
1313 int baudrate) in send_cmd_write_baud_rate() argument
1328 dev_dbg(&port->dev, "%s - baud = %d\n", __func__, baudrate); in send_cmd_write_baud_rate()
1331 status = calc_baud_rate_divisor(port, baudrate, &divisor); in send_cmd_write_baud_rate()