Searched refs:div1_value (Results 1 – 1 of 1) sorted by relevance
380 u32 div1_value = 0; in glk_dsi_program_esc_clock() local392 div1_value = DIV_ROUND_CLOSEST(ddr_clk, 20000); in glk_dsi_program_esc_clock()395 if (div1_value <= 10) in glk_dsi_program_esc_clock()396 txesc1_div = div1_value; in glk_dsi_program_esc_clock()397 else if ((div1_value > 10) && (div1_value <= 20)) in glk_dsi_program_esc_clock()398 txesc1_div = DIV_ROUND_UP(div1_value, 2); in glk_dsi_program_esc_clock()399 else if ((div1_value > 20) && (div1_value <= 30)) in glk_dsi_program_esc_clock()400 txesc1_div = DIV_ROUND_UP(div1_value, 4); in glk_dsi_program_esc_clock()401 else if ((div1_value > 30) && (div1_value <= 40)) in glk_dsi_program_esc_clock()402 txesc1_div = DIV_ROUND_UP(div1_value, 6); in glk_dsi_program_esc_clock()[all …]