Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/video/fbdev/
Dasiliantfb.c142 unsigned new_error = Ftarget * n >= Fref * m ? in asiliant_calc_dclk2() local
144 if (new_error < best_error) { in asiliant_calc_dclk2()
147 best_error = new_error; in asiliant_calc_dclk2()
154 unsigned new_error = Ftarget * n >= Fref * (m & ~3) ? in asiliant_calc_dclk2() local
156 if (new_error < best_error) { in asiliant_calc_dclk2()
159 best_error = new_error; in asiliant_calc_dclk2()
/linux-5.19.10/drivers/clk/imx/
Dclk-composite-8m.c63 int new_error = ((parent_rate / div1) / div2) - rate; in imx8m_clk_composite_compute_dividers() local
65 if (abs(new_error) < abs(error)) { in imx8m_clk_composite_compute_dividers()
68 error = new_error; in imx8m_clk_composite_compute_dividers()
/linux-5.19.10/drivers/clk/zynqmp/
Ddivider.c138 long new_error = ((div1_prate / div1) / div2) - rate; in zynqmp_get_divider2_val() local
140 if (abs(new_error) < abs(error)) { in zynqmp_get_divider2_val()
142 error = new_error; in zynqmp_get_divider2_val()