Searched refs:baudRate (Results 1 – 2 of 2) sorted by relevance
/drivers/usb/serial/ |
D | mos7840.c | 1062 int baudRate, int *divisor, in mos7840_calc_baud_rate_divisor() argument 1065 dev_dbg(&port->dev, "%s - %d\n", __func__, baudRate); in mos7840_calc_baud_rate_divisor() 1067 if (baudRate <= 115200) { in mos7840_calc_baud_rate_divisor() 1068 *divisor = 115200 / baudRate; in mos7840_calc_baud_rate_divisor() 1071 if ((baudRate > 115200) && (baudRate <= 230400)) { in mos7840_calc_baud_rate_divisor() 1072 *divisor = 230400 / baudRate; in mos7840_calc_baud_rate_divisor() 1074 } else if ((baudRate > 230400) && (baudRate <= 403200)) { in mos7840_calc_baud_rate_divisor() 1075 *divisor = 403200 / baudRate; in mos7840_calc_baud_rate_divisor() 1077 } else if ((baudRate > 403200) && (baudRate <= 460800)) { in mos7840_calc_baud_rate_divisor() 1078 *divisor = 460800 / baudRate; in mos7840_calc_baud_rate_divisor() [all …]
|
D | io_edgeport.c | 177 __u32 baudRate; member 313 int baudRate); 2298 int baudRate) in send_cmd_write_baud_rate() argument 2313 baudRate); in send_cmd_write_baud_rate() 2317 dev_dbg(dev, "%s - baud = %d\n", __func__, baudRate); in send_cmd_write_baud_rate() 2319 status = calc_baud_rate_divisor(dev, baudRate, &divisor); in send_cmd_write_baud_rate()
|