Home
last modified time | relevance | path

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

/drivers/tty/serial/
Dsirfsoc_uart.c314 unsigned long ioclk_rate, unsigned long *setted_baud) in sirfsoc_calc_sample_div() argument
325 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() local
360 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()