Lines Matching refs:dsi_vsdly
686 u32 dsi_vsdly; in tc358768_bridge_pre_enable() local
850 dsi_vsdly = internal_dly; in tc358768_bridge_pre_enable()
853 dsi_vsdly *= priv->dsi_lanes; in tc358768_bridge_pre_enable()
856 if (dsi_dpi_data_start > dsi_vsdly + dsi_hss + dsi_hsw + dsi_hbp) { in tc358768_bridge_pre_enable()
857 dsi_vsdly = dsi_dpi_data_start - dsi_hss - dsi_hsw - dsi_hbp; in tc358768_bridge_pre_enable()
858 dsi_vsdly = roundup(dsi_vsdly, priv->dsi_lanes); in tc358768_bridge_pre_enable()
862 dsi_vsdly, dsi_hss, dsi_hsw, dsi_hbp, in tc358768_bridge_pre_enable()
863 dsi_vsdly + dsi_hss + dsi_hsw + dsi_hbp); in tc358768_bridge_pre_enable()
866 tc358768_dsi_bytes_to_ns(priv, dsi_vsdly), in tc358768_bridge_pre_enable()
870 tc358768_dsi_bytes_to_ns(priv, dsi_vsdly + dsi_hss + dsi_hsw + dsi_hbp)); in tc358768_bridge_pre_enable()
873 dsi_vsdly /= priv->dsi_lanes; in tc358768_bridge_pre_enable()
884 dsi_vsdly += internal_dly; in tc358768_bridge_pre_enable()
887 if (dsi_vsdly - internal_dly > 0x3ff) { in tc358768_bridge_pre_enable()
889 dsi_vsdly = 0x3ff + internal_dly; in tc358768_bridge_pre_enable()
893 tc358768_write(priv, TC358768_VSDLY, dsi_vsdly - internal_dly); in tc358768_bridge_pre_enable()