Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/bridge/cadence/
Dcdns-dsi-core.c522 unsigned long dsi_htotal; in cdns_dsi_adjust_phy_config() local
528 dsi_htotal = dsi_cfg->hbp + DSI_HBP_FRAME_OVERHEAD; in cdns_dsi_adjust_phy_config()
530 dsi_htotal += dsi_cfg->hsa + DSI_HSA_FRAME_OVERHEAD; in cdns_dsi_adjust_phy_config()
532 dsi_htotal += dsi_cfg->hact; in cdns_dsi_adjust_phy_config()
533 dsi_htotal += dsi_cfg->hfp + DSI_HFP_FRAME_OVERHEAD; in cdns_dsi_adjust_phy_config()
540 adj_dsi_htotal = dsi_htotal; in cdns_dsi_adjust_phy_config()
541 if (dsi_htotal % lanes) in cdns_dsi_adjust_phy_config()
542 adj_dsi_htotal += lanes - (dsi_htotal % lanes); in cdns_dsi_adjust_phy_config()
555 dsi_hfp_ext = adj_dsi_htotal - dsi_htotal; in cdns_dsi_adjust_phy_config()
557 dsi_cfg->htotal = dsi_htotal + dsi_hfp_ext; in cdns_dsi_adjust_phy_config()