Home
last modified time | relevance | path

Searched refs:hfp (Results 1 – 25 of 53) sorted by relevance

123

/Linux-v4.19/drivers/video/fbdev/matrox/
Dmatroxfb_g450.c243 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()
/Linux-v4.19/drivers/gpu/drm/bridge/adv7511/
Dadv7533.c39 unsigned int hsw, hfp, hbp, vsw, vfp, vbp; in adv7511_dsi_config_timing_gen() local
43 hfp = mode->hsync_start - mode->hdisplay; in adv7511_dsi_config_timing_gen()
58 regmap_write(adv->regmap_cec, 0x2c, hfp >> 4); in adv7511_dsi_config_timing_gen()
59 regmap_write(adv->regmap_cec, 0x2d, (hfp << 4) & 0xff); in adv7511_dsi_config_timing_gen()
/Linux-v4.19/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_crtc.c88 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()
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Ddsi.c3453 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 …]
Dhdmi_wp.c174 timing_h |= FLD_VAL(timings->hfp, 19, 8); in hdmi_wp_video_config_timing()
196 timings->hfp = param->timings.hfp; in hdmi_wp_init_vid_fmt_timings()
Ddisplay.c278 ovt->hfp = vm->hfront_porch; in videomode_to_omap_video_timings()
311 vm->hfront_porch = ovt->hfp; in omap_video_timings_to_videomode()
Dhdmi5_core.c301 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()
Ddisplay-sysfs.c109 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()
/Linux-v4.19/drivers/gpu/drm/tilcdc/
Dtilcdc_crtc.c287 uint32_t reg, hbp, hfp, hsw, vbp, vfp, vsw; in tilcdc_crtc_set_mode() local
324 hfp = mode->hsync_start - mode->hdisplay; in tilcdc_crtc_set_mode()
331 mode->hdisplay, mode->vdisplay, hbp, hfp, hsw, vbp, vfp, vsw); in tilcdc_crtc_set_mode()
345 reg |= ((hfp-1) & 0x300) >> 8; in tilcdc_crtc_set_mode()
353 (((hfp-1) & 0xff) << 16) | in tilcdc_crtc_set_mode()
756 uint32_t hbp, hfp, hsw, vbp, vfp, vsw; in tilcdc_crtc_mode_valid() local
777 hfp = mode->hsync_start - mode->hdisplay; in tilcdc_crtc_mode_valid()
788 if ((hfp-1) & ~0x3ff) { in tilcdc_crtc_mode_valid()
/Linux-v4.19/drivers/gpu/drm/i915/
Dvlv_dsi.c1103 u16 hactive, hfp, hsync, hbp, vfp, vsync, vbp; in bxt_dsi_get_pipe_config() local
1139 hfp = I915_READ(MIPI_HFP_COUNT(port)); in bxt_dsi_get_pipe_config()
1149 hfp = pixels_from_txbyteclkhs(hfp, bpp, lane_count, in bxt_dsi_get_pipe_config()
1157 hfp *= 2; in bxt_dsi_get_pipe_config()
1167 adjusted_mode->crtc_htotal = hactive + hfp + hsync + hbp; in bxt_dsi_get_pipe_config()
1168 adjusted_mode->crtc_hsync_start = hfp + adjusted_mode->crtc_hdisplay; in bxt_dsi_get_pipe_config()
1324 u16 hactive, hfp, hsync, hbp, vfp, vsync, vbp; in set_dsi_timings() local
1327 hfp = adjusted_mode->crtc_hsync_start - adjusted_mode->crtc_hdisplay; in set_dsi_timings()
1335 hfp /= 2; in set_dsi_timings()
1347 hfp = txbyteclkhs(hfp, bpp, lane_count, intel_dsi->burst_mode_ratio); in set_dsi_timings()
[all …]
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/
Ddsi.c3472 int hsa, hfp, hbp, width_bytes, bllp, lp_clk_div; in dsi_config_cmd_mode_interleaving() local
3494 hfp = FLD_GET(r, 23, 12); in dsi_config_cmd_mode_interleaving()
3518 bllp = hbp + hfp + hsa + DIV_ROUND_UP(width_bytes + 6, ndl); in dsi_config_cmd_mode_interleaving()
3530 hfp_interleave_hs = dsi_compute_interleave_hs(hfp, ddr_alwon, in dsi_config_cmd_mode_interleaving()
3533 hfp_interleave_lp = dsi_compute_interleave_lp(hfp, in dsi_config_cmd_mode_interleaving()
3719 int hfp = dsi->vm_timings.hfp; in dsi_proto_timings() local
3737 tl = DIV_ROUND_UP(4, ndl) + (hsync_end ? hsa : 0) + t_he + hfp + in dsi_proto_timings()
3741 hfp, hsync_end ? hsa : 0, tl); in dsi_proto_timings()
3747 r = FLD_MOD(r, hfp, 23, 12); /* HFP */ in dsi_proto_timings()
4336 bl = t->hss + t->hsa + t->hse + t->hbp + t->hfp; in print_dsi_vm()
[all …]
/Linux-v4.19/drivers/video/fbdev/omap/
Dlcd_htcherald.c48 .hfp = 10,
Dlcd_palmte.c40 .hfp = 8,
Dlcd_palmtt.c51 .hfp = 8,
Dlcd_palmz71.c45 .hfp = 8,
Dlcd_inn1510.c51 .hfp = 40,
Dlcd_osk.c71 .hfp = 40,
Dlcd_h3.c67 .hfp = 14,
Dlcd_inn1610.c82 .hfp = 40,
Dlcd_ams_delta.c149 .hfp = 1,
Domapfb.h81 int hfp; /* Horizontal front porch */ member
/Linux-v4.19/drivers/gpu/drm/pl111/
Dpl111_display.c135 u32 ppl, hsw, hfp, hbp; in pl111_display_enable() local
151 hfp = mode->hsync_start - mode->hdisplay - 1; in pl111_display_enable()
163 (hfp << 16) | in pl111_display_enable()
/Linux-v4.19/drivers/gpu/drm/sun4i/
Dsun6i_mipi_dsi.c453 u16 hbp, hfp, hsa, hblk, vblk; in sun6i_dsi_setup_timings() local
481 hfp = max((unsigned int)HFP_PACKET_OVERHEAD, in sun6i_dsi_setup_timings()
498 bytes = max_t(size_t, max(max(hfp, hblk), max(hsa, hbp)), vblk); in sun6i_dsi_setup_timings()
549 sun6i_dsi_build_blk0_pkt(device->channel, hfp)); in sun6i_dsi_setup_timings()
551 sun6i_dsi_build_blk1_pkt(0, buffer, hfp)); in sun6i_dsi_setup_timings()
/Linux-v4.19/drivers/media/platform/sti/bdisp/
Dbdisp-reg.h48 u32 hfp; member
/Linux-v4.19/drivers/gpu/drm/hisilicon/kirin/
Ddw_drm_dsi.c450 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()

123