Lines Matching refs:ioclk_rate
634 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()
804 ioclk_rate, &set_baud); in sirfsoc_uart_set_termios()
808 ioclk_rate, &sample_div_reg); in sirfsoc_uart_set_termios()
810 set_baud = ((ioclk_rate / (clk_div_reg+1) - 1) / in sirfsoc_uart_set_termios()