Searched refs:div1_value (Results 1 – 1 of 1) sorted by relevance
388 u32 div1_value = 0; in glk_dsi_program_esc_clock() local400 div1_value = DIV_ROUND_CLOSEST(ddr_clk, 20000); in glk_dsi_program_esc_clock()403 if (div1_value <= 10) in glk_dsi_program_esc_clock()404 txesc1_div = div1_value; in glk_dsi_program_esc_clock()405 else if ((div1_value > 10) && (div1_value <= 20)) in glk_dsi_program_esc_clock()406 txesc1_div = DIV_ROUND_UP(div1_value, 2); in glk_dsi_program_esc_clock()407 else if ((div1_value > 20) && (div1_value <= 30)) in glk_dsi_program_esc_clock()408 txesc1_div = DIV_ROUND_UP(div1_value, 4); in glk_dsi_program_esc_clock()409 else if ((div1_value > 30) && (div1_value <= 40)) in glk_dsi_program_esc_clock()410 txesc1_div = DIV_ROUND_UP(div1_value, 6); in glk_dsi_program_esc_clock()[all …]