/Linux-v5.4/drivers/video/fbdev/matrox/ |
D | matroxfb_g450.c | 244 u_int32_t hfp; in computeRegs() local 286 hfp = (((outd->h_f_porch + pixclock) / pixclock)) & ~1; in computeRegs() 288 hlen = hvis + hfp + hsl + hbp; in computeRegs() 291 dprintk(KERN_DEBUG "WL: vis=%u, hf=%u, hs=%u, hb=%u, total=%u\n", hvis, hfp, hsl, hbp, hlen); in computeRegs() 294 hfp -= over; in computeRegs() 298 hfp += 4; in computeRegs() 301 hfp += 16; in computeRegs() 310 r->regs[0x2C] = hfp; in computeRegs() 314 …dprintk(KERN_DEBUG "PG: vis=%04X, hf=%02X, hs=%02X, hb=%02X, total=%04X\n", hvis, hfp, hsl, hbp, h… in computeRegs()
|
/Linux-v5.4/drivers/gpu/drm/bridge/adv7511/ |
D | adv7533.c | 31 unsigned int hsw, hfp, hbp, vsw, vfp, vbp; in adv7511_dsi_config_timing_gen() local 35 hfp = mode->hsync_start - mode->hdisplay; in adv7511_dsi_config_timing_gen() 50 regmap_write(adv->regmap_cec, 0x2c, hfp >> 4); in adv7511_dsi_config_timing_gen() 51 regmap_write(adv->regmap_cec, 0x2d, (hfp << 4) & 0xff); in adv7511_dsi_config_timing_gen()
|
/Linux-v5.4/drivers/gpu/drm/panel/ |
D | panel-olimex-lcd-olinuxino.c | 31 u32 hfp; member 169 mode->hsync_start = lcd_mode->hactive + lcd_mode->hfp; in lcd_olinuxino_get_modes() 170 mode->hsync_end = lcd_mode->hactive + lcd_mode->hfp + in lcd_olinuxino_get_modes() 172 mode->htotal = lcd_mode->hactive + lcd_mode->hfp + in lcd_olinuxino_get_modes()
|
/Linux-v5.4/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dsi.c | 3442 int hsa, hfp, hbp, width_bytes, bllp, lp_clk_div; in dsi_config_cmd_mode_interleaving() local 3464 hfp = FLD_GET(r, 23, 12); in dsi_config_cmd_mode_interleaving() 3488 bllp = hbp + hfp + hsa + DIV_ROUND_UP(width_bytes + 6, ndl); in dsi_config_cmd_mode_interleaving() 3500 hfp_interleave_hs = dsi_compute_interleave_hs(hfp, ddr_alwon, in dsi_config_cmd_mode_interleaving() 3503 hfp_interleave_lp = dsi_compute_interleave_lp(hfp, in dsi_config_cmd_mode_interleaving() 3691 int hfp = dsi->vm_timings.hfp; in dsi_proto_timings() local 3709 tl = DIV_ROUND_UP(4, ndl) + (hsync_end ? hsa : 0) + t_he + hfp + in dsi_proto_timings() 3713 hfp, hsync_end ? hsa : 0, tl); in dsi_proto_timings() 3719 r = FLD_MOD(r, hfp, 23, 12); /* HFP */ in dsi_proto_timings() 4324 bl = t->hss + t->hsa + t->hse + t->hbp + t->hfp; in print_dsi_vm() [all …]
|
D | hdmi_wp.c | 171 timing_h |= FLD_VAL(timings->hfp, 19, 8); in hdmi_wp_video_config_timing() 193 timings->hfp = param->timings.hfp; in hdmi_wp_init_vid_fmt_timings()
|
D | display.c | 267 ovt->hfp = vm->hfront_porch; in videomode_to_omap_video_timings() 300 vm->hfront_porch = ovt->hfp; in omap_video_timings_to_videomode()
|
D | hdmi5_core.c | 290 video_cfg->v_fc_config.timings.hfp = cfg->timings.hfp; in hdmi_core_init() 291 video_cfg->hblank = cfg->timings.hfp + in hdmi_core_init() 348 cfg->v_fc_config.timings.hfp >> 8, 4, 0); in hdmi_core_video_config() 350 cfg->v_fc_config.timings.hfp & 0xFF, 7, 0); in hdmi_core_video_config()
|
D | display-sysfs.c | 98 t.x_res, t.hfp, t.hbp, t.hsw, in display_timings_show() 123 &t.x_res, &t.hfp, &t.hbp, &t.hsw, in display_timings_store()
|
/Linux-v5.4/drivers/gpu/drm/tilcdc/ |
D | tilcdc_crtc.c | 280 uint32_t reg, hbp, hfp, hsw, vbp, vfp, vsw; in tilcdc_crtc_set_mode() local 317 hfp = mode->hsync_start - mode->hdisplay; in tilcdc_crtc_set_mode() 324 mode->hdisplay, mode->vdisplay, hbp, hfp, hsw, vbp, vfp, vsw); in tilcdc_crtc_set_mode() 338 reg |= ((hfp-1) & 0x300) >> 8; in tilcdc_crtc_set_mode() 346 (((hfp-1) & 0xff) << 16) | in tilcdc_crtc_set_mode() 735 uint32_t hbp, hfp, hsw, vbp, vfp, vsw; in tilcdc_crtc_mode_valid() local 756 hfp = mode->hsync_start - mode->hdisplay; in tilcdc_crtc_mode_valid() 767 if ((hfp-1) & ~0x3ff) { in tilcdc_crtc_mode_valid()
|
/Linux-v5.4/drivers/gpu/drm/i915/display/ |
D | vlv_dsi.c | 1042 u16 hactive, hfp, hsync, hbp, vfp, vsync, vbp; in bxt_dsi_get_pipe_config() local 1078 hfp = I915_READ(MIPI_HFP_COUNT(port)); in bxt_dsi_get_pipe_config() 1088 hfp = pixels_from_txbyteclkhs(hfp, bpp, lane_count, in bxt_dsi_get_pipe_config() 1096 hfp *= 2; in bxt_dsi_get_pipe_config() 1106 adjusted_mode->crtc_htotal = hactive + hfp + hsync + hbp; in bxt_dsi_get_pipe_config() 1107 adjusted_mode->crtc_hsync_start = hfp + adjusted_mode->crtc_hdisplay; in bxt_dsi_get_pipe_config() 1236 u16 hactive, hfp, hsync, hbp, vfp, vsync, vbp; in set_dsi_timings() local 1239 hfp = adjusted_mode->crtc_hsync_start - adjusted_mode->crtc_hdisplay; in set_dsi_timings() 1247 hfp /= 2; in set_dsi_timings() 1259 hfp = txbyteclkhs(hfp, bpp, lane_count, intel_dsi->burst_mode_ratio); in set_dsi_timings() [all …]
|
/Linux-v5.4/drivers/gpu/drm/omapdrm/dss/ |
D | dsi.c | 3368 int hsa, hfp, hbp, width_bytes, bllp, lp_clk_div; in dsi_config_cmd_mode_interleaving() local 3390 hfp = FLD_GET(r, 23, 12); in dsi_config_cmd_mode_interleaving() 3414 bllp = hbp + hfp + hsa + DIV_ROUND_UP(width_bytes + 6, ndl); in dsi_config_cmd_mode_interleaving() 3426 hfp_interleave_hs = dsi_compute_interleave_hs(hfp, ddr_alwon, in dsi_config_cmd_mode_interleaving() 3429 hfp_interleave_lp = dsi_compute_interleave_lp(hfp, in dsi_config_cmd_mode_interleaving() 3615 int hfp = dsi->vm_timings.hfp; in dsi_proto_timings() local 3633 tl = DIV_ROUND_UP(4, ndl) + (hsync_end ? hsa : 0) + t_he + hfp + in dsi_proto_timings() 3637 hfp, hsync_end ? hsa : 0, tl); in dsi_proto_timings() 3643 r = FLD_MOD(r, hfp, 23, 12); /* HFP */ in dsi_proto_timings() 4220 bl = t->hss + t->hsa + t->hse + t->hbp + t->hfp; in print_dsi_vm() [all …]
|
/Linux-v5.4/drivers/video/fbdev/omap/ |
D | lcd_htcherald.c | 35 .hfp = 10,
|
D | lcd_palmte.c | 27 .hfp = 8,
|
D | lcd_palmtt.c | 38 .hfp = 8,
|
D | lcd_palmz71.c | 32 .hfp = 8,
|
D | lcd_inn1510.c | 38 .hfp = 40,
|
D | lcd_osk.c | 58 .hfp = 40,
|
D | lcd_h3.c | 54 .hfp = 14,
|
D | lcd_inn1610.c | 69 .hfp = 40,
|
D | lcd_ams_delta.c | 113 .hfp = 1,
|
D | omapfb.h | 68 int hfp; /* Horizontal front porch */ member
|
/Linux-v5.4/drivers/gpu/drm/pl111/ |
D | pl111_display.c | 133 u32 ppl, hsw, hfp, hbp; in pl111_display_enable() local 149 hfp = mode->hsync_start - mode->hdisplay - 1; in pl111_display_enable() 161 (hfp << 16) | in pl111_display_enable()
|
/Linux-v5.4/drivers/gpu/drm/sun4i/ |
D | sun6i_mipi_dsi.c | 536 u16 hbp = 0, hfp = 0, hsa = 0, hblk = 0, vblk = 0; in sun6i_dsi_setup_timings() local 577 hfp = max((unsigned int)HFP_PACKET_OVERHEAD, in sun6i_dsi_setup_timings() 600 bytes = max_t(size_t, max(max(hfp, hblk), max(hsa, hbp)), vblk); in sun6i_dsi_setup_timings() 651 sun6i_dsi_build_blk0_pkt(device->channel, hfp)); in sun6i_dsi_setup_timings() 653 sun6i_dsi_build_blk1_pkt(0, buffer, hfp)); in sun6i_dsi_setup_timings()
|
/Linux-v5.4/drivers/gpu/drm/arm/display/komeda/d71/ |
D | d71_regs.h | 399 #define BS_H_INTVALS(hfp, hbp) (((hfp) & 0xFFF) + (((hbp) & 0x3FF) << 16)) argument
|
/Linux-v5.4/drivers/gpu/drm/mcde/ |
D | mcde_dsi.c | 370 u32 hfp; in mcde_dsi_setup_video_mode() local 442 hfp = (mode->hsync_start - mode->hdisplay) * bpp - 6 - 2; in mcde_dsi_setup_video_mode() 467 hfp, hbp, hsa); in mcde_dsi_setup_video_mode() 474 val |= hfp << DSI_VID_HSIZE1_HFP_LENGTH_SHIFT; in mcde_dsi_setup_video_mode()
|