Lines Matching refs:dsi_hsw
683 u32 dsi_hsw, dsi_hbp, dsi_hact, dsi_hfp; in tc358768_bridge_pre_enable() local
786 dsi_hsw = tc358768_dpi_to_dsi_bytes(priv, vm.hsync_len); in tc358768_bridge_pre_enable()
791 dsi_hsw = tc358768_dpi_to_dsi_bytes(priv, in tc358768_bridge_pre_enable()
803 dsi_hfp = dsi_dpi_htot - dsi_hact - dsi_hsw - dsi_hss; in tc358768_bridge_pre_enable()
812 if (dsi_hfp < (dsi_hfp + dsi_hsw + dsi_hss) * 2 / 3) { in tc358768_bridge_pre_enable()
814 u32 old_hsw = dsi_hsw; in tc358768_bridge_pre_enable()
815 u32 tot = dsi_hfp + dsi_hsw + dsi_hss; in tc358768_bridge_pre_enable()
817 dsi_hsw = tot / 3; in tc358768_bridge_pre_enable()
823 dsi_hsw = roundup(dsi_hsw, priv->dsi_lanes); in tc358768_bridge_pre_enable()
825 dsi_hfp = dsi_dpi_htot - dsi_hact - dsi_hsw - dsi_hss; in tc358768_bridge_pre_enable()
829 old_hfp, old_hsw, dsi_hfp, dsi_hsw); in tc358768_bridge_pre_enable()
834 dsi_hss, dsi_hsw, dsi_hbp, dsi_hact, dsi_hfp, in tc358768_bridge_pre_enable()
835 dsi_hss + dsi_hsw + dsi_hbp + dsi_hact + dsi_hfp); in tc358768_bridge_pre_enable()
839 tc358768_dsi_bytes_to_ns(priv, dsi_hsw), in tc358768_bridge_pre_enable()
843 tc358768_dsi_bytes_to_ns(priv, dsi_hss + dsi_hsw + 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()
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()
868 tc358768_dsi_bytes_to_ns(priv, dsi_hsw), 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()
1017 tc358768_write(priv, TC358768_DSI_HSW, dsi_hsw); in tc358768_bridge_pre_enable()