Lines Matching refs:DIV_ROUND_UP

1291 	lp_clk_div = DIV_ROUND_UP(dsi_fclk, lp_clk_max * 2);  in dsi_lp_clock_calc()
1391 cinfo->mX[HSDIV_DSI] = DIV_ROUND_UP(cinfo->clkdco, max_dsi_fck); in dsi_pll_calc_dsi_fck()
3507 width_bytes = DIV_ROUND_UP(timings->x_res * bpp, 8); in dsi_config_cmd_mode_interleaving()
3508 bllp = hbp + hfp + hsa + DIV_ROUND_UP(width_bytes + 6, ndl); in dsi_config_cmd_mode_interleaving()
3677 ths_eot = DIV_ROUND_UP(4, ndl); in dsi_proto_timings()
3679 ddr_clk_pre = DIV_ROUND_UP(tclk_pre + tlpx + tclk_zero + tclk_prepare, in dsi_proto_timings()
3681 ddr_clk_post = DIV_ROUND_UP(tclk_post + ths_trail, 4) + ths_eot; in dsi_proto_timings()
3695 enter_hs_mode_lat = 1 + DIV_ROUND_UP(tlpx, 4) + in dsi_proto_timings()
3696 DIV_ROUND_UP(ths_prepare, 4) + in dsi_proto_timings()
3697 DIV_ROUND_UP(ths_zero + 3, 4); in dsi_proto_timings()
3699 exit_hs_mode_lat = DIV_ROUND_UP(ths_trail + ths_exit, 4) + 1 + ths_eot; in dsi_proto_timings()
3724 ((hsa == 0 && ndl == 3) ? 1 : DIV_ROUND_UP(4, ndl)) : 0; in dsi_proto_timings()
3726 width_bytes = DIV_ROUND_UP(timings->x_res * bpp, 8); in dsi_proto_timings()
3729 tl = DIV_ROUND_UP(4, ndl) + (hsync_end ? hsa : 0) + t_he + hfp + in dsi_proto_timings()
3730 DIV_ROUND_UP(width_bytes + 6, ndl) + hbp; in dsi_proto_timings()
3869 word_count = DIV_ROUND_UP(dsi->timings.x_res * bpp, 8); in dsi_enable_video_output()
4342 wc = DIV_ROUND_UP(t->hact * t->bitspp, 8); in print_dsi_vm()
4343 pps = DIV_ROUND_UP(wc + 6, t->ndl); /* pixel packet size */ in print_dsi_vm()
4408 dsi_hact = DIV_ROUND_UP(DIV_ROUND_UP(t->hact * t->bitspp, 8) + 6, t->ndl); in print_dsi_dispc_vm()
4543 dsi_hact = DIV_ROUND_UP(DIV_ROUND_UP(xres * bitspp, 8) + 6, ndl); in dsi_vm_calc_blanking()
4567 hss = DIV_ROUND_UP(4, ndl); in dsi_vm_calc_blanking()
4573 hse = DIV_ROUND_UP(4, ndl); in dsi_vm_calc_blanking()