Lines Matching refs:hsa
2636 int hsa, hfp, hbp, width_bytes, bllp, lp_clk_div; in dsi_config_cmd_mode_interleaving() local
2659 hsa = FLD_GET(r, 31, 24); in dsi_config_cmd_mode_interleaving()
2682 bllp = hbp + hfp + hsa + DIV_ROUND_UP(width_bytes + 6, ndl); in dsi_config_cmd_mode_interleaving()
2685 hsa_interleave_hs = dsi_compute_interleave_hs(hsa, ddr_alwon, in dsi_config_cmd_mode_interleaving()
2688 hsa_interleave_lp = dsi_compute_interleave_lp(hsa, in dsi_config_cmd_mode_interleaving()
2881 int hsa = dsi->vm_timings.hsa; in dsi_proto_timings() local
2895 ((hsa == 0 && ndl == 3) ? 1 : DIV_ROUND_UP(4, ndl)) : 0; in dsi_proto_timings()
2900 tl = DIV_ROUND_UP(4, ndl) + (hsync_end ? hsa : 0) + t_he + hfp + in dsi_proto_timings()
2904 hfp, hsync_end ? hsa : 0, tl); in dsi_proto_timings()
2911 r = FLD_MOD(r, hsync_end ? hsa : 0, 31, 24); /* HSA */ in dsi_proto_timings()
3578 bl = t->hss + t->hsa + t->hse + t->hbp + t->hfp; in print_dsi_vm()
3587 t->hss, t->hsa, t->hse, t->hbp, pps, t->hfp, in print_dsi_vm()
3590 TO_DSI_T(t->hsa), in print_dsi_vm()
3643 dsi_htot = t->hss + t->hsa + t->hse + t->hbp + dsi_hact + t->hfp; in print_dsi_dispc_vm()
3646 vm.hsync_len = div64_u64((u64)(t->hsa + t->hse) * pck, byteclk); in print_dsi_dispc_vm()
3758 int hfp, hsa, hbp; in dsi_vm_calc_blanking() local
3845 hsa = 0; in dsi_vm_calc_blanking()
3847 hsa = 0; in dsi_vm_calc_blanking()
3849 hsa = div64_u64((u64)req_vm->hsync_len * byteclk, req_pck_nom); in dsi_vm_calc_blanking()
3850 hsa = max(hsa - hse, 1); in dsi_vm_calc_blanking()
3856 hfp = dsi_hbl - (hss + hsa + hse + hbp); in dsi_vm_calc_blanking()
3863 hfp = dsi_hbl - (hss + hsa + hse + hbp); in dsi_vm_calc_blanking()
3865 if (hfp < 1 && hsa > 0) { in dsi_vm_calc_blanking()
3868 hsa = max(hsa - t, 1); in dsi_vm_calc_blanking()
3869 hfp = dsi_hbl - (hss + hsa + hse + hbp); in dsi_vm_calc_blanking()
3877 dsi_vm->hsa = hsa; in dsi_vm_calc_blanking()
3904 hsa = div64_u64((u64)req_vm->hsync_len * dispc_pck, in dsi_vm_calc_blanking()
3906 hsa = max(hsa, 1); in dsi_vm_calc_blanking()
3908 hsa = 1; in dsi_vm_calc_blanking()
3914 hfp = dispc_hbl - hsa - hbp; in dsi_vm_calc_blanking()
3921 hfp = dispc_hbl - hsa - hbp; in dsi_vm_calc_blanking()
3926 hsa = max(hsa - t, 1); in dsi_vm_calc_blanking()
3927 hfp = dispc_hbl - hsa - hbp; in dsi_vm_calc_blanking()
3935 dispc_vm->hsync_len = hsa; in dsi_vm_calc_blanking()