Searched refs:calc_baud (Results 1 – 1 of 1) sorted by relevance
408 unsigned int calc_baud; in cdns_uart_calc_baud_divs() local425 calc_baud = clk / (cd * (bdiv + 1)); in cdns_uart_calc_baud_divs()427 if (baud > calc_baud) in cdns_uart_calc_baud_divs()428 bauderror = baud - calc_baud; in cdns_uart_calc_baud_divs()430 bauderror = calc_baud - baud; in cdns_uart_calc_baud_divs()435 bestbaud = calc_baud; in cdns_uart_calc_baud_divs()456 unsigned int calc_baud; in cdns_uart_set_baud_rate() local462 calc_baud = cdns_uart_calc_baud_divs(port->uartclk, baud, &bdiv, &cd, in cdns_uart_set_baud_rate()476 return calc_baud; in cdns_uart_set_baud_rate()