• Home
  • Raw
  • Download

Lines Matching refs:timing

22 	struct display_timing timing;  member
215 struct display_timing *timing = &priv->timing; in stm32_ltdc_set_mode() local
221 hsync = timing->hsync_len.typ - 1; in stm32_ltdc_set_mode()
222 vsync = timing->vsync_len.typ - 1; in stm32_ltdc_set_mode()
223 acc_hbp = hsync + timing->hback_porch.typ; in stm32_ltdc_set_mode()
224 acc_vbp = vsync + timing->vback_porch.typ; in stm32_ltdc_set_mode()
225 acc_act_w = acc_hbp + timing->hactive.typ; in stm32_ltdc_set_mode()
226 acc_act_h = acc_vbp + timing->vactive.typ; in stm32_ltdc_set_mode()
227 total_w = acc_act_w + timing->hfront_porch.typ; in stm32_ltdc_set_mode()
228 total_h = acc_act_h + timing->vfront_porch.typ; in stm32_ltdc_set_mode()
250 debug("%s: timing->flags 0x%08x\n", __func__, timing->flags); in stm32_ltdc_set_mode()
251 if (timing->flags & DISPLAY_FLAGS_HSYNC_HIGH) in stm32_ltdc_set_mode()
253 if (timing->flags & DISPLAY_FLAGS_VSYNC_HIGH) in stm32_ltdc_set_mode()
255 if (timing->flags & DISPLAY_FLAGS_DE_HIGH) in stm32_ltdc_set_mode()
257 if (timing->flags & DISPLAY_FLAGS_PIXDATA_NEGEDGE) in stm32_ltdc_set_mode()
381 &priv->timing); in stm32_ltdc_probe()
388 rate = clk_set_rate(&pclk, priv->timing.pixelclock.typ); in stm32_ltdc_probe()
391 __func__, priv->timing.pixelclock.typ, rate); in stm32_ltdc_probe()
396 priv->timing.pixelclock.typ, rate); in stm32_ltdc_probe()
403 priv->crop_w = priv->timing.hactive.typ; in stm32_ltdc_probe()
404 priv->crop_h = priv->timing.vactive.typ; in stm32_ltdc_probe()
408 priv->timing.hactive.typ, priv->timing.vactive.typ, in stm32_ltdc_probe()
419 uc_priv->xsize = priv->timing.hactive.typ; in stm32_ltdc_probe()
420 uc_priv->ysize = priv->timing.vactive.typ; in stm32_ltdc_probe()