Searched refs:tstep (Results 1 – 1 of 1) sorted by relevance
213 u64 tstep; in ar933x_uart_get_scale_step() local216 tstep = baud * (tscale + 1); in ar933x_uart_get_scale_step()217 tstep *= (2 << 16); in ar933x_uart_get_scale_step()218 do_div(tstep, clk); in ar933x_uart_get_scale_step()220 if (tstep > AR933X_UART_MAX_STEP) in ar933x_uart_get_scale_step()223 diff = abs(ar933x_uart_get_baud(clk, tscale, tstep) - baud); in ar933x_uart_get_scale_step()227 *step = tstep; in ar933x_uart_get_scale_step()