Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dvlv_dsi_pll.c385 u32 div1_value = 0; in glk_dsi_program_esc_clock() local
400 if (div1_value <= 10) in glk_dsi_program_esc_clock()
401 txesc1_div = div1_value; in glk_dsi_program_esc_clock()
402 else if ((div1_value > 10) && (div1_value <= 20)) in glk_dsi_program_esc_clock()
403 txesc1_div = DIV_ROUND_UP(div1_value, 2); in glk_dsi_program_esc_clock()
404 else if ((div1_value > 20) && (div1_value <= 30)) in glk_dsi_program_esc_clock()
405 txesc1_div = DIV_ROUND_UP(div1_value, 4); in glk_dsi_program_esc_clock()
406 else if ((div1_value > 30) && (div1_value <= 40)) in glk_dsi_program_esc_clock()
407 txesc1_div = DIV_ROUND_UP(div1_value, 6); in glk_dsi_program_esc_clock()
408 else if ((div1_value > 40) && (div1_value <= 50)) in glk_dsi_program_esc_clock()
[all …]