Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/media/i2c/
Dccs-pll.c299 u16 best_pix_div = SHRT_MAX >> 1, best_div = lim_bk->max_sys_clk_div; in __ccs_pll_calculate_vt_tree() local
352 best_pix_div); in __ccs_pll_calculate_vt_tree()
354 if (pix_div * sys_div <= best_pix_div) { in __ccs_pll_calculate_vt_tree()
355 best_pix_div = pix_div; in __ccs_pll_calculate_vt_tree()
359 if (best_pix_div == SHRT_MAX >> 1) in __ccs_pll_calculate_vt_tree()
362 pll_bk->sys_clk_div = best_div / best_pix_div; in __ccs_pll_calculate_vt_tree()
363 pll_bk->pix_clk_div = best_pix_div; in __ccs_pll_calculate_vt_tree()
446 u16 best_pix_div = SHRT_MAX >> 1; in ccs_pll_calculate_vt() local
548 rounded_div = roundup(vt_div, best_pix_div); in ccs_pll_calculate_vt()
552 best_pix_div = pix_div; in ccs_pll_calculate_vt()
[all …]