Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/video/fbdev/
Dasiliantfb.c143 unsigned new_error = Ftarget * n >= Fref * m ? in asiliant_calc_dclk2() local
145 if (new_error < best_error) { in asiliant_calc_dclk2()
148 best_error = new_error; in asiliant_calc_dclk2()
155 unsigned new_error = Ftarget * n >= Fref * (m & ~3) ? in asiliant_calc_dclk2() local
157 if (new_error < best_error) { in asiliant_calc_dclk2()
160 best_error = new_error; in asiliant_calc_dclk2()
/Linux-v6.1/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-v6.1/drivers/clk/zynqmp/
Ddivider.c141 long new_error = ((div1_prate / div1) / div2) - rate; in zynqmp_get_divider2_val() local
143 if (abs(new_error) < abs(error)) { in zynqmp_get_divider2_val()
145 error = new_error; in zynqmp_get_divider2_val()