Home
last modified time | relevance | path

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

/drivers/tty/serial/
Dsirfsoc_uart.c634 unsigned long ioclk_rate, unsigned long *sample_reg) in sirfsoc_usp_calc_sample_div() argument
643 temp_delta = ioclk_rate - in sirfsoc_usp_calc_sample_div()
644 (ioclk_rate + (set_rate * sample_div) / 2) in sirfsoc_usp_calc_sample_div()
649 ioclk_div = (2 * ioclk_rate / in sirfsoc_usp_calc_sample_div()
664 unsigned long ioclk_rate, unsigned long *set_baud) in sirfsoc_uart_calc_sample_div() argument
675 ioclk_div = (ioclk_rate / (baud_rate * (sample_div + 1))) - 1; in sirfsoc_uart_calc_sample_div()
678 baud_tmp = ioclk_rate / ((ioclk_div + 1) * (sample_div + 1)); in sirfsoc_uart_calc_sample_div()
706 unsigned long txfifo_op_reg, ioclk_rate; in sirfsoc_uart_set_termios() local
711 ioclk_rate = port->uartclk; in sirfsoc_uart_set_termios()
795 if (ioclk_rate == 150000000) { in sirfsoc_uart_set_termios()
[all …]