Searched refs:tstep (Results 1 – 1 of 1) sorted by relevance
142 uint64_t tstep; in ar933x_uart_get_scale_step() local145 tstep = baud * (tscale + 1); in ar933x_uart_get_scale_step()146 tstep *= (2 << 16); in ar933x_uart_get_scale_step()147 tstep = tstep / clk; in ar933x_uart_get_scale_step()149 if (tstep > AR933X_UART_MAX_STEP) in ar933x_uart_get_scale_step()152 diff = abs(ar933x_uart_get_baud(clk, tscale, tstep) - baud); in ar933x_uart_get_scale_step()156 *step = tstep; in ar933x_uart_get_scale_step()