Lines Matching refs:hactive
303 u16 hactive = adjusted_mode->crtc_hdisplay;
307 dl_buffer_depth = hactive / 2 + intel_dsi->pixel_overlap;
848 u16 htotal, hactive, hsync_start, hsync_end, hsync_size;
867 hactive = adjusted_mode->crtc_hdisplay;
872 htotal = DIV_ROUND_UP((hactive + 160) * mul, div);
900 hactive /= 2;
902 hactive += intel_dsi->pixel_overlap;
906 /* minimum hactive as per bspec: 256 pixels */
908 drm_err(&dev_priv->drm, "hactive is less then 256 pixels\n");
910 /* if RGB666 format, then hactive must be multiple of 4 pixels */
911 if (intel_dsi->pixel_format == MIPI_DSI_FMT_RGB666 && hactive % 4 != 0)
913 "hactive pixels are not multiple of 4\n");
919 HACTIVE(hactive - 1) | HTOTAL(htotal - 1));