Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/serial/
H A Dserial_ar933x.c68 u64 tstep; in ar933x_serial_get_scale_step() local
71 tstep = baud * (tscale + 1); in ar933x_serial_get_scale_step()
72 tstep *= (2 << 16); in ar933x_serial_get_scale_step()
73 do_div(tstep, clk); in ar933x_serial_get_scale_step()
75 if (tstep > AR933X_UART_CLK_STEP_M) in ar933x_serial_get_scale_step()
78 baudrate = ar933x_serial_get_baud(clk, tscale, tstep); in ar933x_serial_get_scale_step()
83 *step = tstep; in ar933x_serial_get_scale_step()
/openbmc/linux/drivers/tty/serial/
H A Dar933x_uart.c265 u64 tstep; in ar933x_uart_get_scale_step() local
268 tstep = baud * (tscale + 1); in ar933x_uart_get_scale_step()
269 tstep *= (2 << 16); in ar933x_uart_get_scale_step()
270 do_div(tstep, clk); in ar933x_uart_get_scale_step()
272 if (tstep > AR933X_UART_MAX_STEP) in ar933x_uart_get_scale_step()
275 diff = abs(ar933x_uart_get_baud(clk, tscale, tstep) - baud); in ar933x_uart_get_scale_step()
279 *step = tstep; in ar933x_uart_get_scale_step()
/openbmc/u-boot/cmd/aspeed/nettest/
H A Dmactest.c1217 int tstep, rstep; in test_start() local
1294 tstep = p_eng->io.tx_delay_scan.step; in test_start()
1300 for (td = tbegin; td <= tend; td += tstep) { in test_start()