Lines Matching refs:baudrate
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()
1330 status = calc_baud_rate_divisor(port, baudrate, &divisor); in send_cmd_write_baud_rate()