Lines Matching refs:ui_x8

150 	s32 ui, ui_x8;  in msm_dsi_dphy_timing_calc_v2()  local
179 ui_x8 = ui << 3; in msm_dsi_dphy_timing_calc_v2()
181 temp = S_DIV_ROUND_UP(38 * coeff - val_ckln * ui, ui_x8); in msm_dsi_dphy_timing_calc_v2()
183 temp = (95 * coeff - val_ckln * ui) / ui_x8; in msm_dsi_dphy_timing_calc_v2()
188 tmin = S_DIV_ROUND_UP(temp - 11 * ui, ui_x8) - 3; in msm_dsi_dphy_timing_calc_v2()
192 tmin = DIV_ROUND_UP(60 * coeff + 3 * ui, ui_x8); in msm_dsi_dphy_timing_calc_v2()
194 tmax = (temp + 3 * ui) / ui_x8; in msm_dsi_dphy_timing_calc_v2()
197 temp = S_DIV_ROUND_UP(40 * coeff + 4 * ui - val * ui, ui_x8); in msm_dsi_dphy_timing_calc_v2()
199 temp = (85 * coeff + 6 * ui - val * ui) / ui_x8; in msm_dsi_dphy_timing_calc_v2()
204 tmin = S_DIV_ROUND_UP(temp - 11 * ui, ui_x8) - 3; in msm_dsi_dphy_timing_calc_v2()
208 tmin = DIV_ROUND_UP(60 * coeff + 4 * ui + 3 * ui, ui_x8); in msm_dsi_dphy_timing_calc_v2()
210 tmax = (temp + 3 * ui) / ui_x8; in msm_dsi_dphy_timing_calc_v2()
214 timing->hs_rqst = S_DIV_ROUND_UP(temp, ui_x8); in msm_dsi_dphy_timing_calc_v2()
216 tmin = DIV_ROUND_UP(100 * coeff, ui_x8) - 1; in msm_dsi_dphy_timing_calc_v2()
221 timing->hs_rqst_ckln = S_DIV_ROUND_UP(temp, ui_x8); in msm_dsi_dphy_timing_calc_v2()
224 tmin = DIV_ROUND_UP(temp, ui_x8) - 1; in msm_dsi_dphy_timing_calc_v2()
233 tmin = S_DIV_ROUND_UP(temp, ui_x8) - 1; in msm_dsi_dphy_timing_calc_v2()
266 s32 ui, ui_x8; in msm_dsi_dphy_timing_calc_v3() local
287 ui_x8 = ui << 3; in msm_dsi_dphy_timing_calc_v3()
289 temp = S_DIV_ROUND_UP(38 * coeff, ui_x8); in msm_dsi_dphy_timing_calc_v3()
291 temp = (95 * coeff) / ui_x8; in msm_dsi_dphy_timing_calc_v3()
296 tmin = S_DIV_ROUND_UP(temp, ui_x8) - 1; in msm_dsi_dphy_timing_calc_v3()
300 tmin = DIV_ROUND_UP(60 * coeff + 3 * ui, ui_x8); in msm_dsi_dphy_timing_calc_v3()
302 tmax = (temp + 3 * ui) / ui_x8; in msm_dsi_dphy_timing_calc_v3()
305 temp = S_DIV_ROUND_UP(40 * coeff + 4 * ui, ui_x8); in msm_dsi_dphy_timing_calc_v3()
307 temp = (85 * coeff + 6 * ui) / ui_x8; in msm_dsi_dphy_timing_calc_v3()
312 tmin = S_DIV_ROUND_UP(temp, ui_x8) - 1; in msm_dsi_dphy_timing_calc_v3()
316 tmin = DIV_ROUND_UP(60 * coeff + 4 * ui, ui_x8) - 1; in msm_dsi_dphy_timing_calc_v3()
318 tmax = (temp / ui_x8) - 1; in msm_dsi_dphy_timing_calc_v3()
322 timing->hs_rqst = S_DIV_ROUND_UP(temp, ui_x8); in msm_dsi_dphy_timing_calc_v3()
324 tmin = DIV_ROUND_UP(100 * coeff, ui_x8) - 1; in msm_dsi_dphy_timing_calc_v3()
329 timing->hs_rqst_ckln = S_DIV_ROUND_UP(temp, ui_x8); in msm_dsi_dphy_timing_calc_v3()
332 tmin = DIV_ROUND_UP(temp, ui_x8) - 1; in msm_dsi_dphy_timing_calc_v3()
341 tmin = S_DIV_ROUND_UP(temp, ui_x8) - 1; in msm_dsi_dphy_timing_calc_v3()
376 s32 ui, ui_x8; in msm_dsi_dphy_timing_calc_v4() local
395 ui_x8 = ui << 3; in msm_dsi_dphy_timing_calc_v4()
402 temp = S_DIV_ROUND_UP(38 * coeff, ui_x8); in msm_dsi_dphy_timing_calc_v4()
404 temp = (95 * coeff) / ui_x8; in msm_dsi_dphy_timing_calc_v4()
409 tmin = S_DIV_ROUND_UP(temp, ui_x8) - 1; in msm_dsi_dphy_timing_calc_v4()
413 tmin = DIV_ROUND_UP(60 * coeff + 3 * ui, ui_x8); in msm_dsi_dphy_timing_calc_v4()
415 tmax = (temp + 3 * ui) / ui_x8; in msm_dsi_dphy_timing_calc_v4()
418 temp = S_DIV_ROUND_UP(40 * coeff + 4 * ui, ui_x8); in msm_dsi_dphy_timing_calc_v4()
420 temp = (85 * coeff + 6 * ui) / ui_x8; in msm_dsi_dphy_timing_calc_v4()
425 tmin = S_DIV_ROUND_UP(temp, ui_x8) - 1; in msm_dsi_dphy_timing_calc_v4()
429 tmin = DIV_ROUND_UP(60 * coeff + 4 * ui, ui_x8) - 1; in msm_dsi_dphy_timing_calc_v4()
431 tmax = (temp / ui_x8) - 1; in msm_dsi_dphy_timing_calc_v4()
435 timing->hs_rqst = S_DIV_ROUND_UP(temp, ui_x8); in msm_dsi_dphy_timing_calc_v4()
437 tmin = DIV_ROUND_UP(100 * coeff, ui_x8) - 1; in msm_dsi_dphy_timing_calc_v4()
444 temp = 60 * coeff + 52 * ui + + (timing->hs_trail + 1) * ui_x8; in msm_dsi_dphy_timing_calc_v4()
454 temp = 52 * coeff + (timing->clk_prepare + timing->clk_zero + 1) * ui_x8 + 54 * coeff; in msm_dsi_dphy_timing_calc_v4()