Home
last modified time | relevance | path

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

/linux-4.1.27/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-4.1.27/drivers/gpu/drm/tilcdc/
Dtilcdc_crtc.c239 uint32_t reg, hbp, hfp, hsw, vbp, vfp, vsw; in tilcdc_crtc_mode_set() local
277 hfp = mode->hsync_start - mode->hdisplay; in tilcdc_crtc_mode_set()
284 mode->hdisplay, mode->vdisplay, hbp, hfp, hsw, vbp, vfp, vsw); in tilcdc_crtc_mode_set()
298 reg |= ((hfp-1) & 0x300) >> 8; in tilcdc_crtc_mode_set()
306 (((hfp-1) & 0xff) << 16) | in tilcdc_crtc_mode_set()
445 uint32_t hbp, hfp, hsw, vbp, vfp, vsw; in tilcdc_crtc_mode_valid() local
466 hfp = mode->hsync_start - mode->hdisplay; in tilcdc_crtc_mode_valid()
477 if ((hfp-1) & ~0x3ff) { in tilcdc_crtc_mode_valid()
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Ddsi.c3462 int hsa, hfp, hbp, width_bytes, bllp, lp_clk_div; in dsi_config_cmd_mode_interleaving() local
3484 hfp = FLD_GET(r, 23, 12); in dsi_config_cmd_mode_interleaving()
3508 bllp = hbp + hfp + hsa + DIV_ROUND_UP(width_bytes + 6, ndl); in dsi_config_cmd_mode_interleaving()
3520 hfp_interleave_hs = dsi_compute_interleave_hs(hfp, ddr_alwon, in dsi_config_cmd_mode_interleaving()
3523 hfp_interleave_lp = dsi_compute_interleave_lp(hfp, in dsi_config_cmd_mode_interleaving()
3711 int hfp = dsi->vm_timings.hfp; in dsi_proto_timings() local
3729 tl = DIV_ROUND_UP(4, ndl) + (hsync_end ? hsa : 0) + t_he + hfp + in dsi_proto_timings()
3733 hfp, hsync_end ? hsa : 0, tl); in dsi_proto_timings()
3739 r = FLD_MOD(r, hfp, 23, 12); /* HFP */ in dsi_proto_timings()
4344 bl = t->hss + t->hsa + t->hse + t->hbp + t->hfp; in print_dsi_vm()
[all …]
Dhdmi_wp.c156 timing_h |= FLD_VAL(timings->hfp, 19, 8); in hdmi_wp_video_config_timing()
178 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()
Ddispc.c2102 nonactive = t->x_res + t->hfp + t->hsw + t->hbp - out_width; in check_horiz_timing_omap3()
2109 blank = div_u64((u64)(t->hbp + t->hsw + t->hfp) * lclk, pclk); in check_horiz_timing_omap3()
2952 static bool _dispc_lcd_timings_ok(int hsw, int hfp, int hbp, in _dispc_lcd_timings_ok() argument
2956 hfp < 1 || hfp > dispc.feat->hp_max || in _dispc_lcd_timings_ok()
2988 if (!_dispc_lcd_timings_ok(timings->hsw, timings->hfp, in dispc_mgr_timings_ok()
2998 int hfp, int hbp, int vsw, int vfp, int vbp, in _dispc_mgr_set_lcd_timings() argument
3010 FLD_VAL(hfp-1, dispc.feat->fp_start, 8) | in _dispc_mgr_set_lcd_timings()
3122 _dispc_mgr_set_lcd_timings(channel, t.hsw, t.hfp, t.hbp, t.vsw, in dispc_mgr_set_timings()
3126 xtot = t.x_res + t.hfp + t.hsw + t.hbp; in dispc_mgr_set_timings()
3134 t.hsw, t.hfp, t.hbp, t.vsw, t.vfp, t.vbp); in dispc_mgr_set_timings()
Dvenc.c270 .hfp = 12,
285 .hfp = 16,
Drfbi.c861 rfbi.timings.hfp = 1; in rfbi_config_lcd_manager()
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_dsi_pll.c60 u32 hactive, vactive, hfp, hsync, hbp, vfp, vsync, vbp; in dsi_rr_formula() local
84 hfp = mode->hsync_start - mode->hdisplay; in dsi_rr_formula()
95 hfp_bytes = DIV_ROUND_UP(hfp * bpp, 8); in dsi_rr_formula()
Dintel_dsi.c700 u16 hactive, hfp, hsync, hbp, vfp, vsync, vbp; in set_dsi_timings() local
703 hfp = mode->hsync_start - mode->hdisplay; in set_dsi_timings()
711 hfp /= 2; in set_dsi_timings()
723 hfp = txbyteclkhs(hfp, bpp, lane_count, intel_dsi->burst_mode_ratio); in set_dsi_timings()
730 I915_WRITE(MIPI_HFP_COUNT(port), hfp); in set_dsi_timings()
/linux-4.1.27/drivers/video/fbdev/omap/
Dlcd_palmte.c64 .hfp = 8,
Dlcd_palmz71.c65 .hfp = 8,
Dlcd_inn1510.c66 .hfp = 40,
Dlcd_palmtt.c70 .hfp = 8,
Dlcd_htcherald.c72 .hfp = 10,
Dlcd_osk.c87 .hfp = 40,
Dlcd_inn1610.c87 .hfp = 40,
Dlcd_h3.c81 .hfp = 14,
Dlcd_ams_delta.c154 .hfp = 1,
Domapfb.h81 int hfp; /* Horizontal front porch */ member
Dlcd_mipid.c514 .hfp = 20,
Dlcdc.c495 l |= (panel->hfp - 1) << 16; in setup_regs()
Domapfb_main.c587 var->left_margin = panel->hfp; in set_fb_var()
1780 hhz = phz * 10 / (panel->hfp + panel->x_res + panel->hbp + panel->hsw); in omapfb_do_probe()
/linux-4.1.27/include/video/
Dexynos_mipi_dsim.h140 unsigned char hfp; member
Domapdss.h273 u16 hfp; member
346 u16 hfp; /* Horizontal front porch */ member
/linux-4.1.27/drivers/gpu/drm/omapdrm/
Domap_connector.c51 mode->hsync_start = mode->hdisplay + timings->hfp; in copy_timings_omap_to_drm()
82 timings->hfp = mode->hsync_start - mode->hdisplay; in copy_timings_drm_to_omap()
/linux-4.1.27/drivers/gpu/drm/tegra/
Ddsi.c489 unsigned int hact, hsw, hbp, hfp, i, mul, div; in tegra_dsi_configure() local
558 hfp = (mode->hsync_start - mode->hdisplay) * mul / div; in tegra_dsi_configure()
559 hfp -= 8; in tegra_dsi_configure()
563 tegra_dsi_writel(dsi, hfp, DSI_PKT_LEN_4_5); in tegra_dsi_configure()
/linux-4.1.27/drivers/video/fbdev/omap2/displays-new/
Dconnector-analog-tv.c37 .hfp = 12,
Dconnector-hdmi.c28 .hfp = 16,
Dpanel-nec-nl8048hl11.c74 .hfp = 6,
Dconnector-dvi.c28 .hfp = 48,
Dpanel-lgphilips-lb035q02.c29 .hfp = 20,
Dpanel-sharp-ls037v7dw01.c46 .hfp = 1,
Dpanel-tpo-td028ttec1.c49 .hfp = 24,
Dpanel-tpo-td043mtea1.c83 .hfp = 68,
Dpanel-sony-acx565akm.c99 .hfp = 28,
/linux-4.1.27/drivers/gpu/drm/ast/
Dast_drv.h283 u32 hfp; member
Dast_mode.c183 vbios_mode->enh_table->hfp; in ast_get_vbios_mode_info()
185 vbios_mode->enh_table->hfp + in ast_get_vbios_mode_info()
/linux-4.1.27/drivers/video/fbdev/exynos/
Dexynos_mipi_dsi_lowlevel.c221 (DSIM_HFP_MODE_SHIFT(dsim_config->hfp)) | in exynos_mipi_dsi_init_config()
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/
Domapfb-main.c730 var->right_margin = timings.hfp; in check_fb_var()
2081 timings->hfp = var->right_margin; in omapfb_mode_to_timings()
2233 t->hfp = m->right_margin; in fb_videomode_to_omap_timings()
/linux-4.1.27/Documentation/arm/OMAP/
DDSS199 timings Display timings (pixclock,xres/hfp/hbp/hsw,yres/vfp/vbp/vsw)