Searched refs:d_divisor (Results 1 – 1 of 1) sorted by relevance
457 unsigned int d_divisor, m_divisor; in mvebu_uart_baud_rate_set() local503 d_divisor = DIV_ROUND_CLOSEST(port->uartclk, baud * m_divisor); in mvebu_uart_baud_rate_set()505 if (d_divisor > BRDV_BAUD_MAX) { in mvebu_uart_baud_rate_set()511 d_divisor = DIV_ROUND_CLOSEST(port->uartclk, baud * m_divisor); in mvebu_uart_baud_rate_set()514 if (d_divisor < 1) in mvebu_uart_baud_rate_set()515 d_divisor = 1; in mvebu_uart_baud_rate_set()516 else if (d_divisor > BRDV_BAUD_MAX) in mvebu_uart_baud_rate_set()517 d_divisor = BRDV_BAUD_MAX; in mvebu_uart_baud_rate_set()522 brdv |= d_divisor; in mvebu_uart_baud_rate_set()533 return DIV_ROUND_CLOSEST(port->uartclk, d_divisor * m_divisor); in mvebu_uart_baud_rate_set()