Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/tty/serial/8250/
D8250_fintek.c314 static u32 baudrate_table[] = {115200, 921600, 1152000, 1500000}; in fintek_8250_set_termios() local
341 for (i = 0; i < ARRAY_SIZE(baudrate_table); ++i) { in fintek_8250_set_termios()
342 if (baud > baudrate_table[i] || baudrate_table[i] % baud != 0) in fintek_8250_set_termios()
345 if (port->uartclk == baudrate_table[i] * 16) in fintek_8250_set_termios()
351 port->uartclk = baudrate_table[i] * 16; in fintek_8250_set_termios()
361 if (i == ARRAY_SIZE(baudrate_table)) { in fintek_8250_set_termios()
/Linux-v5.4/drivers/usb/serial/
Df81232.c75 static u32 const baudrate_table[] = { 115200, 921600, 1152000, 1500000 }; variable
404 for (idx = 0; idx < ARRAY_SIZE(baudrate_table); ++idx) { in f81232_find_clk()
405 if (baudrate <= baudrate_table[idx] && in f81232_find_clk()
406 baudrate_table[idx] % baudrate == 0) in f81232_find_clk()
437 priv->baud_base = baudrate_table[idx]; in f81232_set_baudrate()
Df81534.c189 static u32 const baudrate_table[] = { 115200, 921600, 1152000, 1500000 }; variable
552 for (idx = 0; idx < ARRAY_SIZE(baudrate_table); ++idx) { in f81534_find_clk()
553 if (baudrate <= baudrate_table[idx] && in f81534_find_clk()
554 baudrate_table[idx] % baudrate == 0) in f81534_find_clk()
584 port_priv->baud_base = baudrate_table[idx]; in f81534_set_port_config()