Home
last modified time | relevance | path

Searched refs:fuart (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/tty/serial/8250/
H A D8250_mid.c215 unsigned long fuart = baud * ps; in mid8250_set_termios() local
220 fuart = fuart ? fuart : 9600 * 16; in mid8250_set_termios()
222 if (mid->board->freq < fuart) { in mid8250_set_termios()
228 fuart = baud * ps; in mid8250_set_termios()
231 fuart *= rounddown_pow_of_two(mid->board->freq / fuart); in mid8250_set_termios()
234 rational_best_approximation(fuart, mid->board->freq, w, w, &mul, &div); in mid8250_set_termios()
235 p->uartclk = fuart * 16 / ps; /* core uses ps = 16 always */ in mid8250_set_termios()
H A D8250_lpss.c77 unsigned long fref = lpss->board->freq, fuart = baud * 16; in byt_set_termios() local
83 fuart = fuart ? fuart : 9600 * 16; in byt_set_termios()
86 fuart *= rounddown_pow_of_two(fref / fuart); in byt_set_termios()
94 rational_best_approximation(fuart, fref, w, w, &m, &n); in byt_set_termios()
95 p->uartclk = fuart; in byt_set_termios()