Home
last modified time | relevance | path

Searched refs:baudrate_table (Results 1 – 3 of 3) sorted by relevance

/drivers/tty/serial/8250/
D8250_fintek.c287 static u32 baudrate_table[] = {115200, 921600, 1152000, 1500000}; in fintek_8250_set_termios() local
315 for (i = 0; i < ARRAY_SIZE(baudrate_table); ++i) { in fintek_8250_set_termios()
316 if (baud > baudrate_table[i] || baudrate_table[i] % baud != 0) in fintek_8250_set_termios()
319 if (port->uartclk == baudrate_table[i] * 16) in fintek_8250_set_termios()
325 port->uartclk = baudrate_table[i] * 16; in fintek_8250_set_termios()
335 if (i == ARRAY_SIZE(baudrate_table)) { in fintek_8250_set_termios()
/drivers/usb/serial/
Df81232.c127 static u32 const baudrate_table[] = { 115200, 921600, 1152000, 1500000 }; variable
478 for (idx = 0; idx < ARRAY_SIZE(baudrate_table); ++idx) { in f81232_find_clk()
479 if (baudrate <= baudrate_table[idx] && in f81232_find_clk()
480 baudrate_table[idx] % baudrate == 0) in f81232_find_clk()
516 priv->baud_base = baudrate_table[idx]; in f81232_set_baudrate()
Df81534.c189 static u32 const baudrate_table[] = { 115200, 921600, 1152000, 1500000 }; variable
547 for (idx = 0; idx < ARRAY_SIZE(baudrate_table); ++idx) { in f81534_find_clk()
548 if (baudrate <= baudrate_table[idx] && in f81534_find_clk()
549 baudrate_table[idx] % baudrate == 0) in f81534_find_clk()
584 port_priv->baud_base = baudrate_table[idx]; in f81534_set_port_config()