Lines Matching refs:hsa
3442 int hsa, hfp, hbp, width_bytes, bllp, lp_clk_div; in dsi_config_cmd_mode_interleaving() local
3465 hsa = FLD_GET(r, 31, 24); in dsi_config_cmd_mode_interleaving()
3488 bllp = hbp + hfp + hsa + DIV_ROUND_UP(width_bytes + 6, ndl); in dsi_config_cmd_mode_interleaving()
3491 hsa_interleave_hs = dsi_compute_interleave_hs(hsa, ddr_alwon, in dsi_config_cmd_mode_interleaving()
3494 hsa_interleave_lp = dsi_compute_interleave_lp(hsa, in dsi_config_cmd_mode_interleaving()
3690 int hsa = dsi->vm_timings.hsa; in dsi_proto_timings() local
3704 ((hsa == 0 && ndl == 3) ? 1 : DIV_ROUND_UP(4, ndl)) : 0; in dsi_proto_timings()
3709 tl = DIV_ROUND_UP(4, ndl) + (hsync_end ? hsa : 0) + t_he + hfp + in dsi_proto_timings()
3713 hfp, hsync_end ? hsa : 0, tl); in dsi_proto_timings()
3720 r = FLD_MOD(r, hsync_end ? hsa : 0, 31, 24); /* HSA */ in dsi_proto_timings()
4324 bl = t->hss + t->hsa + t->hse + t->hbp + t->hfp; in print_dsi_vm()
4333 t->hss, t->hsa, t->hse, t->hbp, pps, t->hfp, in print_dsi_vm()
4336 TO_DSI_T(t->hsa), in print_dsi_vm()
4389 dsi_htot = t->hss + t->hsa + t->hse + t->hbp + dsi_hact + t->hfp; in print_dsi_dispc_vm()
4392 vm.hsw = div64_u64((u64)(t->hsa + t->hse) * pck, byteclk); in print_dsi_dispc_vm()
4502 int hfp, hsa, hbp; in dsi_vm_calc_blanking() local
4588 hsa = 0; in dsi_vm_calc_blanking()
4590 hsa = 0; in dsi_vm_calc_blanking()
4592 hsa = div64_u64((u64)req_vm->hsw * byteclk, req_pck_nom); in dsi_vm_calc_blanking()
4593 hsa = max(hsa - hse, 1); in dsi_vm_calc_blanking()
4599 hfp = dsi_hbl - (hss + hsa + hse + hbp); in dsi_vm_calc_blanking()
4606 hfp = dsi_hbl - (hss + hsa + hse + hbp); in dsi_vm_calc_blanking()
4608 if (hfp < 1 && hsa > 0) { in dsi_vm_calc_blanking()
4611 hsa = max(hsa - t, 1); in dsi_vm_calc_blanking()
4612 hfp = dsi_hbl - (hss + hsa + hse + hbp); in dsi_vm_calc_blanking()
4620 dsi_vm->hsa = hsa; in dsi_vm_calc_blanking()
4648 hsa = div64_u64((u64)req_vm->hsw * dispc_pck, in dsi_vm_calc_blanking()
4650 hsa = max(hsa, 1); in dsi_vm_calc_blanking()
4652 hsa = 1; in dsi_vm_calc_blanking()
4658 hfp = dispc_hbl - hsa - hbp; in dsi_vm_calc_blanking()
4665 hfp = dispc_hbl - hsa - hbp; in dsi_vm_calc_blanking()
4670 hsa = max(hsa - t, 1); in dsi_vm_calc_blanking()
4671 hfp = dispc_hbl - hsa - hbp; in dsi_vm_calc_blanking()
4679 dispc_vm->hsw = hsa; in dsi_vm_calc_blanking()