Home
last modified time | relevance | path

Searched refs:hsa (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/omapdrm/dss/
Ddsi.c2642 int hsa, hfp, hbp, width_bytes, bllp, lp_clk_div; in dsi_config_cmd_mode_interleaving() local
2665 hsa = FLD_GET(r, 31, 24); in dsi_config_cmd_mode_interleaving()
2688 bllp = hbp + hfp + hsa + DIV_ROUND_UP(width_bytes + 6, ndl); in dsi_config_cmd_mode_interleaving()
2691 hsa_interleave_hs = dsi_compute_interleave_hs(hsa, ddr_alwon, in dsi_config_cmd_mode_interleaving()
2694 hsa_interleave_lp = dsi_compute_interleave_lp(hsa, in dsi_config_cmd_mode_interleaving()
2887 int hsa = dsi->vm_timings.hsa; in dsi_proto_timings() local
2901 ((hsa == 0 && ndl == 3) ? 1 : DIV_ROUND_UP(4, ndl)) : 0; in dsi_proto_timings()
2906 tl = DIV_ROUND_UP(4, ndl) + (hsync_end ? hsa : 0) + t_he + hfp + in dsi_proto_timings()
2910 hfp, hsync_end ? hsa : 0, tl); in dsi_proto_timings()
2917 r = FLD_MOD(r, hsync_end ? hsa : 0, 31, 24); /* HSA */ in dsi_proto_timings()
[all …]
Ddsi.h198 u16 hsa; member
/linux-6.12.1/drivers/video/fbdev/omap2/omapfb/dss/
Ddsi.c3449 int hsa, hfp, hbp, width_bytes, bllp, lp_clk_div; in dsi_config_cmd_mode_interleaving() local
3472 hsa = FLD_GET(r, 31, 24); in dsi_config_cmd_mode_interleaving()
3495 bllp = hbp + hfp + hsa + DIV_ROUND_UP(width_bytes + 6, ndl); in dsi_config_cmd_mode_interleaving()
3498 hsa_interleave_hs = dsi_compute_interleave_hs(hsa, ddr_alwon, in dsi_config_cmd_mode_interleaving()
3501 hsa_interleave_lp = dsi_compute_interleave_lp(hsa, in dsi_config_cmd_mode_interleaving()
3696 int hsa = dsi->vm_timings.hsa; in dsi_proto_timings() local
3710 ((hsa == 0 && ndl == 3) ? 1 : DIV_ROUND_UP(4, ndl)) : 0; in dsi_proto_timings()
3715 tl = DIV_ROUND_UP(4, ndl) + (hsync_end ? hsa : 0) + t_he + hfp + in dsi_proto_timings()
3719 hfp, hsync_end ? hsa : 0, tl); in dsi_proto_timings()
3726 r = FLD_MOD(r, hsync_end ? hsa : 0, 31, 24); /* HSA */ in dsi_proto_timings()
[all …]
/linux-6.12.1/drivers/gpu/drm/mcde/
Dmcde_dsi.c437 int hsa; in mcde_dsi_setup_video_mode() local
534 hsa = (mode->hsync_end - mode->hsync_start) * cpp - 4 - 4 - 6; in mcde_dsi_setup_video_mode()
544 hsa = 0; in mcde_dsi_setup_video_mode()
554 if (hsa < 0) { in mcde_dsi_setup_video_mode()
556 hsa = 0; in mcde_dsi_setup_video_mode()
559 hfp, hbp, hsa); in mcde_dsi_setup_video_mode()
562 val = hsa << DSI_VID_HSIZE1_HSA_LENGTH_SHIFT; in mcde_dsi_setup_video_mode()
652 if (d->mdsi->lanes == 2 && (hsa & 0x01) && (hfp & 0x01) in mcde_dsi_setup_video_mode()
/linux-6.12.1/drivers/gpu/drm/bridge/cadence/
Dcdns-dsi-core.h37 unsigned int hsa; member
Dcdns-dsi-core.c500 dsi_cfg->hsa = dpi_to_dsi_timing(tmp, bpp, in cdns_dsi_mode2cfg()
530 dsi_htotal += dsi_cfg->hsa + DSI_HSA_FRAME_OVERHEAD; in cdns_dsi_adjust_phy_config()
591 dsi_hss_hsa_hse_hbp += dsi_cfg->hsa + DSI_HSA_FRAME_OVERHEAD; in cdns_dsi_check_conf()
781 writel(HBP_LEN(dsi_cfg.hbp) | HSA_LEN(dsi_cfg.hsa), in cdns_dsi_bridge_enable()
793 (dsi_cfg.hsa + DSI_BLANKING_FRAME_OVERHEAD + in cdns_dsi_bridge_enable()
808 DIV_ROUND_UP(dsi_cfg.hsa, nlanes); in cdns_dsi_bridge_enable()
/linux-6.12.1/drivers/gpu/drm/sun4i/
Dsun6i_mipi_dsi.c535 u16 hbp = 0, hfp = 0, hsa = 0, hblk = 0, vblk = 0; in sun6i_dsi_setup_timings() local
558 hsa = max(HSA_PACKET_OVERHEAD, in sun6i_dsi_setup_timings()
600 bytes = max_t(size_t, max(max(hfp, hblk), max(hsa, hbp)), vblk); in sun6i_dsi_setup_timings()
639 sun6i_dsi_build_blk0_pkt(device->channel, hsa)); in sun6i_dsi_setup_timings()
641 sun6i_dsi_build_blk1_pkt(0, buffer, hsa)); in sun6i_dsi_setup_timings()
/linux-6.12.1/drivers/gpu/drm/bridge/
Dsamsung-dsim.c997 int hsa = DIV64_U64_ROUND_UP((m->hsync_end - m->hsync_start) * byte_clk, pix_clk); in samsung_dsim_set_display_mode() local
1002 hsa = max(hsa - 6, 0); in samsung_dsim_set_display_mode()
1005 hfp, hbp, hsa); in samsung_dsim_set_display_mode()
1016 | DSIM_MAIN_HSA(hsa); in samsung_dsim_set_display_mode()
/linux-6.12.1/drivers/gpu/drm/bridge/synopsys/
Ddw-mipi-dsi.c812 u32 htotal, hsa, hbp, lbcc; in dw_mipi_dsi_line_timer_config() local
815 hsa = mode->hsync_end - mode->hsync_start; in dw_mipi_dsi_line_timer_config()
825 lbcc = dw_mipi_dsi_get_hcomponent_lbcc(dsi, mode, hsa); in dw_mipi_dsi_line_timer_config()
/linux-6.12.1/include/video/
Domapfb_dss.h212 u16 hsa; member