Lines Matching refs:baudrate
1408 __u32 baudrate;
1439 static int calc_baud_rate_divisor(struct usb_serial_port *port, int baudrate, int *divisor)
1447 dev_dbg(&port->dev, "%s - %d\n", __func__, baudrate);
1450 if (divisor_table[i].baudrate == baudrate) {
1458 if (baudrate > 75 && baudrate < 230400) {
1460 custom = (__u16)(230400L / baudrate);
1463 round1 = (__u16)(2304000L / baudrate);
1469 dev_dbg(&port->dev, "Baud %d = %d\n", baudrate, custom);
1483 int baudrate)
1498 dev_dbg(&port->dev, "%s - baud = %d\n", __func__, baudrate);
1501 status = calc_baud_rate_divisor(port, baudrate, &divisor);