Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/tty/serial/8250/
D8250_omap.c232 unsigned int div_13, div_16; in omap_8250_get_divisor() local
252 div_16 = DIV_ROUND_CLOSEST(uartclk, 16 * baud); in omap_8250_get_divisor()
256 if (!div_16) in omap_8250_get_divisor()
257 div_16 = 1; in omap_8250_get_divisor()
260 abs_d16 = abs(baud - uartclk / 16 / div_16); in omap_8250_get_divisor()
264 priv->quot = div_16; in omap_8250_get_divisor()