Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/drivers/gpu/drm/tilcdc/
Dtilcdc_crtc.c265 uint32_t reg, hbp, hfp, hsw, vbp, vfp, vsw; in tilcdc_crtc_mode_set() local
303 hfp = mode->hsync_start - mode->hdisplay; in tilcdc_crtc_mode_set()
310 mode->hdisplay, mode->vdisplay, hbp, hfp, hsw, vbp, vfp, vsw); in tilcdc_crtc_mode_set()
324 reg |= ((hfp-1) & 0x300) >> 8; in tilcdc_crtc_mode_set()
332 (((hfp-1) & 0xff) << 16) | in tilcdc_crtc_mode_set()
471 uint32_t hbp, hfp, hsw, vbp, vfp, vsw; in tilcdc_crtc_mode_valid() local
492 hfp = mode->hsync_start - mode->hdisplay; in tilcdc_crtc_mode_valid()
503 if ((hfp-1) & ~0x3ff) { in tilcdc_crtc_mode_valid()
/linux-4.4.14/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_crtc.c87 unsigned int hbp, hfp, hsw, vbp, vfp, vsw, div, index; in fsl_dcu_drm_crtc_mode_set_nofb() local
97 hfp = mode->hsync_start - mode->hdisplay; in fsl_dcu_drm_crtc_mode_set_nofb()
106 DCU_HSYN_PARA_FP(hfp)); in fsl_dcu_drm_crtc_mode_set_nofb()
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Ddsi.c3463 int hsa, hfp, hbp, width_bytes, bllp, lp_clk_div; in dsi_config_cmd_mode_interleaving() local
3485 hfp = FLD_GET(r, 23, 12); in dsi_config_cmd_mode_interleaving()
3509 bllp = hbp + hfp + hsa + DIV_ROUND_UP(width_bytes + 6, ndl); in dsi_config_cmd_mode_interleaving()
3521 hfp_interleave_hs = dsi_compute_interleave_hs(hfp, ddr_alwon, in dsi_config_cmd_mode_interleaving()
3524 hfp_interleave_lp = dsi_compute_interleave_lp(hfp, in dsi_config_cmd_mode_interleaving()
3712 int hfp = dsi->vm_timings.hfp; in dsi_proto_timings() local
3730 tl = DIV_ROUND_UP(4, ndl) + (hsync_end ? hsa : 0) + t_he + hfp + in dsi_proto_timings()
3734 hfp, hsync_end ? hsa : 0, tl); in dsi_proto_timings()
3740 r = FLD_MOD(r, hfp, 23, 12); /* HFP */ in dsi_proto_timings()
4345 bl = t->hss + t->hsa + t->hse + t->hbp + t->hfp; in print_dsi_vm()
[all …]
Dhdmi_wp.c172 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()
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.c2115 nonactive = t->x_res + t->hfp + t->hsw + t->hbp - out_width; in check_horiz_timing_omap3()
2122 blank = div_u64((u64)(t->hbp + t->hsw + t->hfp) * lclk, pclk); in check_horiz_timing_omap3()
3034 static bool _dispc_lcd_timings_ok(int hsw, int hfp, int hbp, in _dispc_lcd_timings_ok() argument
3038 hfp < 1 || hfp > dispc.feat->hp_max || in _dispc_lcd_timings_ok()
3070 if (!_dispc_lcd_timings_ok(timings->hsw, timings->hfp, in dispc_mgr_timings_ok()
3080 int hfp, int hbp, int vsw, int vfp, int vbp, in _dispc_mgr_set_lcd_timings() argument
3092 FLD_VAL(hfp-1, dispc.feat->fp_start, 8) | in _dispc_mgr_set_lcd_timings()
3204 _dispc_mgr_set_lcd_timings(channel, t.hsw, t.hfp, t.hbp, t.vsw, in dispc_mgr_set_timings()
3208 xtot = t.x_res + t.hfp + t.hsw + t.hbp; in dispc_mgr_set_timings()
3216 t.hsw, t.hfp, t.hbp, t.vsw, t.vfp, t.vbp); in dispc_mgr_set_timings()
Dvenc.c271 .hfp = 12,
292 .hfp = 16,
Drfbi.c862 rfbi.timings.hfp = 1; in rfbi_config_lcd_manager()
/linux-4.4.14/drivers/video/fbdev/omap/
Dlcd_inn1510.c66 .hfp = 40,
Dlcd_htcherald.c72 .hfp = 10,
Dlcd_palmz71.c65 .hfp = 8,
Dlcd_palmtt.c70 .hfp = 8,
Dlcd_palmte.c64 .hfp = 8,
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.c582 var->left_margin = panel->hfp; in set_fb_var()
1775 hhz = phz * 10 / (panel->hfp + panel->x_res + panel->hbp + panel->hsw); in omapfb_do_probe()
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_dsi_pll.c81 u32 hactive, vactive, hfp, hsync, hbp, vfp, vsync, vbp; in dsi_rr_formula() local
93 hfp = mode->hsync_start - mode->hdisplay; in dsi_rr_formula()
104 hfp_bytes = DIV_ROUND_UP(hfp * bpp, 8); in dsi_rr_formula()
Dintel_dsi.c779 u16 hactive, hfp, hsync, hbp, vfp, vsync, vbp; in set_dsi_timings() local
782 hfp = adjusted_mode->crtc_hsync_start - adjusted_mode->crtc_hdisplay; in set_dsi_timings()
790 hfp /= 2; in set_dsi_timings()
802 hfp = txbyteclkhs(hfp, bpp, lane_count, intel_dsi->burst_mode_ratio); in set_dsi_timings()
824 I915_WRITE(MIPI_HFP_COUNT(port), hfp); in set_dsi_timings()
/linux-4.4.14/include/video/
Dexynos_mipi_dsim.h140 unsigned char hfp; member
Domapdss.h273 u16 hfp; member
346 u16 hfp; /* Horizontal front porch */ member
/linux-4.4.14/drivers/gpu/drm/omapdrm/
Domap_connector.c52 mode->hsync_start = mode->hdisplay + timings->hfp; in copy_timings_omap_to_drm()
83 timings->hfp = mode->hsync_start - mode->hdisplay; in copy_timings_drm_to_omap()
/linux-4.4.14/drivers/media/platform/sti/bdisp/
Dbdisp-reg.h48 u32 hfp; member
Dbdisp-hw.c662 node->hfp = bdisp_hw_get_hf_addr(h_inc); in bdisp_hw_build_node()
Dbdisp-debug.c368 seq_printf(s, "HFP\t0x%08X\n", node->hfp); in bdisp_dbg_last_nodes()
/linux-4.4.14/drivers/gpu/drm/tegra/
Ddsi.c501 unsigned int hact, hsw, hbp, hfp, i, mul, div; in tegra_dsi_configure() local
571 hfp = (mode->hsync_start - mode->hdisplay) * mul / div; in tegra_dsi_configure()
576 hfp -= 8; in tegra_dsi_configure()
580 tegra_dsi_writel(dsi, hfp, DSI_PKT_LEN_4_5); in tegra_dsi_configure()
Dsor.c1152 unsigned int hfp, hsw, hbp, a = 0, b;
1154 hfp = mode->hsync_start - mode->hdisplay;
1158 pr_info("hfp: %u, hsw: %u, hbp: %u\n", hfp, hsw, hbp);
1160 b = hfp - 1;
/linux-4.4.14/drivers/video/fbdev/omap2/displays-new/
Dconnector-analog-tv.c37 .hfp = 12,
Dconnector-hdmi.c28 .hfp = 16,
Dconnector-dvi.c28 .hfp = 48,
Dpanel-nec-nl8048hl11.c74 .hfp = 6,
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.4.14/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.4.14/drivers/video/fbdev/exynos/
Dexynos_mipi_dsi_lowlevel.c221 (DSIM_HFP_MODE_SHIFT(dsim_config->hfp)) | in exynos_mipi_dsi_init_config()
/linux-4.4.14/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.4.14/Documentation/arm/OMAP/
DDSS199 timings Display timings (pixclock,xres/hfp/hbp/hsw,yres/vfp/vbp/vsw)