Searched refs:temp_delta (Results 1 – 1 of 1) sorted by relevance
639 unsigned long temp_delta; in sirfsoc_usp_calc_sample_div() local643 temp_delta = ioclk_rate - in sirfsoc_usp_calc_sample_div()647 temp_delta = (temp_delta > 0) ? temp_delta : -temp_delta; in sirfsoc_usp_calc_sample_div()648 if (temp_delta < min_delta) { in sirfsoc_usp_calc_sample_div()653 min_delta = temp_delta; in sirfsoc_usp_calc_sample_div()655 if (!temp_delta) in sirfsoc_usp_calc_sample_div()671 int temp_delta; in sirfsoc_uart_calc_sample_div() local679 temp_delta = baud_tmp - baud_rate; in sirfsoc_uart_calc_sample_div()680 temp_delta = (temp_delta > 0) ? temp_delta : -temp_delta; in sirfsoc_uart_calc_sample_div()681 if (temp_delta < min_delta) { in sirfsoc_uart_calc_sample_div()[all …]