/drivers/video/fbdev/matrox/ |
D | matroxfb_g450.c | 243 u_int32_t hfp; in computeRegs() local 285 hfp = (((outd->h_f_porch + pixclock) / pixclock)) & ~1; in computeRegs() 287 hlen = hvis + hfp + hsl + hbp; in computeRegs() 290 dprintk(KERN_DEBUG "WL: vis=%u, hf=%u, hs=%u, hb=%u, total=%u\n", hvis, hfp, hsl, hbp, hlen); in computeRegs() 293 hfp -= over; in computeRegs() 297 hfp += 4; in computeRegs() 300 hfp += 16; in computeRegs() 309 r->regs[0x2C] = hfp; in computeRegs() 313 …dprintk(KERN_DEBUG "PG: vis=%04X, hf=%02X, hs=%02X, hb=%02X, total=%04X\n", hvis, hfp, hsl, hbp, h… in computeRegs()
|
/drivers/gpu/drm/bridge/adv7511/ |
D | adv7533.c | 47 unsigned int hsw, hfp, hbp, vsw, vfp, vbp; in adv7511_dsi_config_timing_gen() local 51 hfp = mode->hsync_start - mode->hdisplay; in adv7511_dsi_config_timing_gen() 66 regmap_write(adv->regmap_cec, 0x2c, hfp >> 4); in adv7511_dsi_config_timing_gen() 67 regmap_write(adv->regmap_cec, 0x2d, (hfp << 4) & 0xff); in adv7511_dsi_config_timing_gen()
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dsi.c | 3453 int hsa, hfp, hbp, width_bytes, bllp, lp_clk_div; in dsi_config_cmd_mode_interleaving() local 3475 hfp = FLD_GET(r, 23, 12); in dsi_config_cmd_mode_interleaving() 3499 bllp = hbp + hfp + hsa + DIV_ROUND_UP(width_bytes + 6, ndl); in dsi_config_cmd_mode_interleaving() 3511 hfp_interleave_hs = dsi_compute_interleave_hs(hfp, ddr_alwon, in dsi_config_cmd_mode_interleaving() 3514 hfp_interleave_lp = dsi_compute_interleave_lp(hfp, in dsi_config_cmd_mode_interleaving() 3702 int hfp = dsi->vm_timings.hfp; in dsi_proto_timings() local 3720 tl = DIV_ROUND_UP(4, ndl) + (hsync_end ? hsa : 0) + t_he + hfp + in dsi_proto_timings() 3724 hfp, hsync_end ? hsa : 0, tl); in dsi_proto_timings() 3730 r = FLD_MOD(r, hfp, 23, 12); /* HFP */ in dsi_proto_timings() 4335 bl = t->hss + t->hsa + t->hse + t->hbp + t->hfp; in print_dsi_vm() [all …]
|
D | hdmi_wp.c | 172 timing_h |= FLD_VAL(timings->hfp, 19, 8); in hdmi_wp_video_config_timing() 194 timings->hfp = param->timings.hfp; in hdmi_wp_init_vid_fmt_timings()
|
D | hdmi5_core.c | 301 video_cfg->v_fc_config.timings.hfp = cfg->timings.hfp; in hdmi_core_init() 302 video_cfg->hblank = cfg->timings.hfp + in hdmi_core_init() 359 cfg->v_fc_config.timings.hfp >> 8, 4, 0); in hdmi_core_video_config() 361 cfg->v_fc_config.timings.hfp & 0xFF, 7, 0); in hdmi_core_video_config()
|
D | display.c | 278 ovt->hfp = vm->hfront_porch; in videomode_to_omap_video_timings() 311 vm->hfront_porch = ovt->hfp; in omap_video_timings_to_videomode()
|
D | display-sysfs.c | 109 t.x_res, t.hfp, t.hbp, t.hsw, in display_timings_show() 134 &t.x_res, &t.hfp, &t.hbp, &t.hsw, in display_timings_store()
|
D | dispc.c | 2159 nonactive = t->x_res + t->hfp + t->hsw + t->hbp - out_width; in check_horiz_timing_omap3() 2166 blank = div_u64((u64)(t->hbp + t->hsw + t->hfp) * lclk, pclk); in check_horiz_timing_omap3() 3095 static bool _dispc_lcd_timings_ok(int hsw, int hfp, int hbp, in _dispc_lcd_timings_ok() argument 3099 hfp < 1 || hfp > dispc.feat->hp_max || in _dispc_lcd_timings_ok() 3131 if (!_dispc_lcd_timings_ok(timings->hsw, timings->hfp, in dispc_mgr_timings_ok() 3141 int hfp, int hbp, int vsw, int vfp, int vbp, in _dispc_mgr_set_lcd_timings() argument 3153 FLD_VAL(hfp-1, dispc.feat->fp_start, 8) | in _dispc_mgr_set_lcd_timings() 3269 _dispc_mgr_set_lcd_timings(channel, t.hsw, t.hfp, t.hbp, t.vsw, in dispc_mgr_set_timings() 3273 xtot = t.x_res + t.hfp + t.hsw + t.hbp; in dispc_mgr_set_timings() 3281 t.hsw, t.hfp, t.hbp, t.vsw, t.vfp, t.vbp); in dispc_mgr_set_timings()
|
/drivers/gpu/drm/fsl-dcu/ |
D | fsl_dcu_drm_crtc.c | 88 unsigned int hbp, hfp, hsw, vbp, vfp, vsw, index, pol = 0; in fsl_dcu_drm_crtc_mode_set_nofb() local 95 hfp = mode->hsync_start - mode->hdisplay; in fsl_dcu_drm_crtc_mode_set_nofb() 114 DCU_HSYN_PARA_FP(hfp)); in fsl_dcu_drm_crtc_mode_set_nofb()
|
/drivers/gpu/drm/tilcdc/ |
D | tilcdc_crtc.c | 309 uint32_t reg, hbp, hfp, hsw, vbp, vfp, vsw; in tilcdc_crtc_set_mode() local 346 hfp = mode->hsync_start - mode->hdisplay; in tilcdc_crtc_set_mode() 353 mode->hdisplay, mode->vdisplay, hbp, hfp, hsw, vbp, vfp, vsw); in tilcdc_crtc_set_mode() 367 reg |= ((hfp-1) & 0x300) >> 8; in tilcdc_crtc_set_mode() 375 (((hfp-1) & 0xff) << 16) | in tilcdc_crtc_set_mode() 778 uint32_t hbp, hfp, hsw, vbp, vfp, vsw; in tilcdc_crtc_mode_valid() local 799 hfp = mode->hsync_start - mode->hdisplay; in tilcdc_crtc_mode_valid() 810 if ((hfp-1) & ~0x3ff) { in tilcdc_crtc_mode_valid()
|
/drivers/gpu/drm/i915/ |
D | intel_dsi.c | 1081 u16 hactive, hfp, hsync, hbp, vfp, vsync, vbp; in bxt_dsi_get_pipe_config() local 1114 hfp = I915_READ(MIPI_HFP_COUNT(port)); in bxt_dsi_get_pipe_config() 1124 hfp = pixels_from_txbyteclkhs(hfp, bpp, lane_count, in bxt_dsi_get_pipe_config() 1132 hfp *= 2; in bxt_dsi_get_pipe_config() 1142 adjusted_mode->crtc_htotal = hactive + hfp + hsync + hbp; in bxt_dsi_get_pipe_config() 1143 adjusted_mode->crtc_hsync_start = hfp + adjusted_mode->crtc_hdisplay; in bxt_dsi_get_pipe_config() 1296 u16 hactive, hfp, hsync, hbp, vfp, vsync, vbp; in set_dsi_timings() local 1299 hfp = adjusted_mode->crtc_hsync_start - adjusted_mode->crtc_hdisplay; in set_dsi_timings() 1307 hfp /= 2; in set_dsi_timings() 1319 hfp = txbyteclkhs(hfp, bpp, lane_count, intel_dsi->burst_mode_ratio); in set_dsi_timings() [all …]
|
/drivers/gpu/drm/omapdrm/dss/ |
D | dsi.c | 3560 int hsa, hfp, hbp, width_bytes, bllp, lp_clk_div; in dsi_config_cmd_mode_interleaving() local 3582 hfp = FLD_GET(r, 23, 12); in dsi_config_cmd_mode_interleaving() 3606 bllp = hbp + hfp + hsa + DIV_ROUND_UP(width_bytes + 6, ndl); in dsi_config_cmd_mode_interleaving() 3618 hfp_interleave_hs = dsi_compute_interleave_hs(hfp, ddr_alwon, in dsi_config_cmd_mode_interleaving() 3621 hfp_interleave_lp = dsi_compute_interleave_lp(hfp, in dsi_config_cmd_mode_interleaving() 3809 int hfp = dsi->vm_timings.hfp; in dsi_proto_timings() local 3827 tl = DIV_ROUND_UP(4, ndl) + (hsync_end ? hsa : 0) + t_he + hfp + in dsi_proto_timings() 3831 hfp, hsync_end ? hsa : 0, tl); in dsi_proto_timings() 3837 r = FLD_MOD(r, hfp, 23, 12); /* HFP */ in dsi_proto_timings() 4447 bl = t->hss + t->hsa + t->hse + t->hbp + t->hfp; in print_dsi_vm() [all …]
|
/drivers/video/fbdev/omap/ |
D | lcd_htcherald.c | 48 .hfp = 10,
|
D | lcd_palmte.c | 40 .hfp = 8,
|
D | lcd_palmtt.c | 51 .hfp = 8,
|
D | lcd_palmz71.c | 45 .hfp = 8,
|
D | lcd_inn1510.c | 51 .hfp = 40,
|
D | lcd_osk.c | 71 .hfp = 40,
|
D | lcd_h3.c | 67 .hfp = 14,
|
D | lcd_inn1610.c | 82 .hfp = 40,
|
D | lcd_ams_delta.c | 149 .hfp = 1,
|
D | omapfb.h | 81 int hfp; /* Horizontal front porch */ member
|
/drivers/gpu/drm/pl111/ |
D | pl111_display.c | 99 u32 ppl, hsw, hfp, hbp; in pl111_display_enable() local 115 hfp = mode->hsync_start - mode->hdisplay - 1; in pl111_display_enable() 127 (hfp << 16) | in pl111_display_enable()
|
/drivers/media/platform/sti/bdisp/ |
D | bdisp-reg.h | 48 u32 hfp; member
|
/drivers/gpu/drm/hisilicon/kirin/ |
D | dw_drm_dsi.c | 450 u32 hfp, hbp, hsw, vfp, vbp, vsw; in dsi_set_mode_timing() local 476 hfp = mode->hsync_start - mode->hdisplay; in dsi_set_mode_timing() 504 htot, hfp, hbp, hsw); in dsi_set_mode_timing()
|