Searched refs:ioclk_rate (Results 1 – 1 of 1) sorted by relevance
314 unsigned long ioclk_rate, unsigned long *setted_baud) in sirfsoc_calc_sample_div() argument325 ioclk_div = (ioclk_rate / (baud_rate * (sample_div + 1))) - 1; in sirfsoc_calc_sample_div()328 baud_tmp = ioclk_rate / ((ioclk_div + 1) * (sample_div + 1)); in sirfsoc_calc_sample_div()348 unsigned long ioclk_rate; in sirfsoc_uart_set_termios() local360 ioclk_rate = 150000000; in sirfsoc_uart_set_termios()423 clk_div_reg = sirfsoc_calc_sample_div(baud_rate, ioclk_rate, in sirfsoc_uart_set_termios()