Home
last modified time | relevance | path

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

12

/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddsi.c3449 int hsa, hfp, hbp, width_bytes, bllp, lp_clk_div; in dsi_config_cmd_mode_interleaving() local
3471 hfp = FLD_GET(r, 23, 12); in dsi_config_cmd_mode_interleaving()
3495 bllp = hbp + hfp + hsa + DIV_ROUND_UP(width_bytes + 6, ndl); in dsi_config_cmd_mode_interleaving()
3507 hfp_interleave_hs = dsi_compute_interleave_hs(hfp, ddr_alwon, in dsi_config_cmd_mode_interleaving()
3510 hfp_interleave_lp = dsi_compute_interleave_lp(hfp, in dsi_config_cmd_mode_interleaving()
3697 int hfp = dsi->vm_timings.hfp; in dsi_proto_timings() local
3715 tl = DIV_ROUND_UP(4, ndl) + (hsync_end ? hsa : 0) + t_he + hfp + in dsi_proto_timings()
3719 hfp, hsync_end ? hsa : 0, tl); in dsi_proto_timings()
3725 r = FLD_MOD(r, hfp, 23, 12); /* HFP */ in dsi_proto_timings()
4326 bl = t->hss + t->hsa + t->hse + t->hbp + t->hfp; in print_dsi_vm()
[all …]
H A Dhdmi_wp.c171 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()
H A Ddisplay-sysfs.c99 t.x_res, t.hfp, t.hbp, t.hsw, in display_timings_show()
124 &t.x_res, &t.hfp, &t.hbp, &t.hsw, in display_timings_store()
/linux/drivers/gpu/drm/omapdrm/dss/
H A Ddsi.c2642 int hsa, hfp, hbp, width_bytes, bllp, lp_clk_div; in dsi_config_cmd_mode_interleaving() local
2664 hfp = FLD_GET(r, 23, 12); in dsi_config_cmd_mode_interleaving()
2688 bllp = hbp + hfp + hsa + DIV_ROUND_UP(width_bytes + 6, ndl); in dsi_config_cmd_mode_interleaving()
2700 hfp_interleave_hs = dsi_compute_interleave_hs(hfp, ddr_alwon, in dsi_config_cmd_mode_interleaving()
2703 hfp_interleave_lp = dsi_compute_interleave_lp(hfp, in dsi_config_cmd_mode_interleaving()
2888 int hfp = dsi->vm_timings.hfp; in dsi_proto_timings() local
2906 tl = DIV_ROUND_UP(4, ndl) + (hsync_end ? hsa : 0) + t_he + hfp + in dsi_proto_timings()
2910 hfp, hsync_end ? hsa : 0, tl); in dsi_proto_timings()
2916 r = FLD_MOD(r, hfp, 23, 12); /* HFP */ in dsi_proto_timings()
3584 bl = t->hss + t->hsa + t->hse + t->hbp + t->hfp; in print_dsi_vm()
[all …]
H A Ddsi.h200 u16 hfp; member
/linux/drivers/gpu/drm/tilcdc/
H A Dtilcdc_crtc.c279 uint32_t reg, hbp, hfp, hsw, vbp, vfp, vsw; in tilcdc_crtc_set_mode() local
316 hfp = mode->hsync_start - mode->hdisplay; in tilcdc_crtc_set_mode()
323 mode->hdisplay, mode->vdisplay, hbp, hfp, hsw, vbp, vfp, vsw); in tilcdc_crtc_set_mode()
337 reg |= ((hfp-1) & 0x300) >> 8; in tilcdc_crtc_set_mode()
345 (((hfp-1) & 0xff) << 16) | in tilcdc_crtc_set_mode()
769 uint32_t hbp, hfp, hsw, vbp, vfp, vsw; in tilcdc_crtc_mode_valid() local
790 hfp = mode->hsync_start - mode->hdisplay; in tilcdc_crtc_mode_valid()
801 if ((hfp-1) & ~0x3ff) { in tilcdc_crtc_mode_valid()
/linux/drivers/gpu/drm/logicvc/
H A Dlogicvc_crtc.c74 unsigned int hact, hfp, hsl, hbp; in logicvc_crtc_atomic_enable() local
82 hfp = mode->hsync_start - mode->hdisplay; in logicvc_crtc_atomic_enable()
91 regmap_write(logicvc->regmap, LOGICVC_HSYNC_FRONT_PORCH_REG, hfp - 1); in logicvc_crtc_atomic_enable()
/linux/drivers/gpu/drm/i915/display/
H A Dvlv_dsi.c1022 u16 hactive, hfp, hsync, hbp, vfp, vsync, vbp; in bxt_dsi_get_pipe_config() local
1061 hfp = intel_de_read(display, MIPI_HFP_COUNT(display, port)); in bxt_dsi_get_pipe_config()
1071 hfp = pixels_from_txbyteclkhs(hfp, bpp, lane_count, in bxt_dsi_get_pipe_config()
1079 hfp *= 2; in bxt_dsi_get_pipe_config()
1089 adjusted_mode->crtc_htotal = hactive + hfp + hsync + hbp; in bxt_dsi_get_pipe_config()
1090 adjusted_mode->crtc_hsync_start = hfp + adjusted_mode->crtc_hdisplay; in bxt_dsi_get_pipe_config()
1224 u16 hactive, hfp, hsync, hbp, vfp, vsync, vbp; in set_dsi_timings() local
1227 hfp = adjusted_mode->crtc_hsync_start - adjusted_mode->crtc_hdisplay; in set_dsi_timings()
1235 hfp /= 2; in set_dsi_timings()
1247 hfp = txbyteclkhs(hfp, bpp, lane_count, intel_dsi->burst_mode_ratio); in set_dsi_timings()
[all …]
/linux/drivers/video/fbdev/omap/
H A Dlcd_palmte.c27 .hfp = 8,
H A Dlcd_ams_delta.c113 .hfp = 1,
H A Domapfb.h68 int hfp; /* Horizontal front porch */ member
/linux/drivers/gpu/drm/arm/display/komeda/d71/
H A Dd71_regs.h417 #define BS_H_INTVALS(hfp, hbp) (((hfp) & 0xFFF) + (((hbp) & 0x3FF) << 16)) argument
/linux/drivers/gpu/drm/sun4i/
H A Dsun6i_mipi_dsi.c535 u16 hbp = 0, hfp = 0, hsa = 0, hblk = 0, vblk = 0; in sun6i_dsi_setup_timings() local
577 hfp = max(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/drivers/gpu/drm/
H A Ddrm_modes.c337 unsigned int hfp, hfp_duration_ns; in fill_analog_mode() local
418 hfp = params->bt601_hfp; in fill_analog_mode()
426 hfp = hfp_min + DIV_ROUND_UP(porches_rem, 2); in fill_analog_mode()
429 drm_dbg_kms(dev, "Horizontal Front Porch: %u\n", hfp); in fill_analog_mode()
431 hfp_duration_ns = hfp * pixel_duration_ns; in fill_analog_mode()
440 hbp = porches - hfp; in fill_analog_mode()
452 if (htotal != (hactive + hfp + hslen + hbp)) in fill_analog_mode()
457 mode->hsync_start = mode->hdisplay + hfp; in fill_analog_mode()
/linux/drivers/gpu/drm/bridge/
H A Dsamsung-dsim.c1174 int hfp = DIV64_U64_ROUND_UP((m->hsync_start - m->hdisplay) * byte_clk, pix_clk); in samsung_dsim_set_display_mode() local
1179 hfp = max(hfp - 6, 0); in samsung_dsim_set_display_mode()
1184 hfp, hbp, hsa); in samsung_dsim_set_display_mode()
1191 reg = DSIM_MAIN_HFP(hfp) | DSIM_MAIN_HBP(hbp); in samsung_dsim_set_display_mode()
1803 int hfp = adjusted_mode->hsync_start - adjusted_mode->hdisplay; in samsung_dsim_atomic_check() local
1804 int remainder = hfp % dsi->lanes; in samsung_dsim_atomic_check()
/linux/drivers/media/platform/st/sti/bdisp/
H A Dbdisp-reg.h48 u32 hfp; member
/linux/drivers/gpu/drm/tegra/
H A Ddsi.c483 unsigned int hact, hsw, hbp, hfp, i, mul, div; in tegra_dsi_configure() local
550 hfp = (mode->hsync_start - mode->hdisplay) * mul / div; in tegra_dsi_configure()
556 hfp /= 2; in tegra_dsi_configure()
565 hfp -= 8; in tegra_dsi_configure()
569 tegra_dsi_writel(dsi, hfp, DSI_PKT_LEN_4_5); in tegra_dsi_configure()
/linux/drivers/video/fbdev/omap2/omapfb/displays/
H A Dconnector-analog-tv.c32 .hfp = 12,
H A Dconnector-hdmi.c25 .hfp = 16,
H A Dpanel-lgphilips-lb035q02.c25 .hfp = 20,
H A Dpanel-nec-nl8048hl11.c68 .hfp = 6,
H A Dconnector-dvi.c24 .hfp = 48,
H A Dpanel-sharp-ls037v7dw01.c41 .hfp = 1,
/linux/drivers/gpu/drm/bridge/cadence/
H A Dcdns-dsi-core.c506 dsi_cfg->hfp = dpi_to_dsi_timing(dpi_hfp, bpp, DSI_HFP_FRAME_OVERHEAD); in cdns_dsi_mode2cfg()
508 dsi_cfg->htotal = dsi_cfg->hact + dsi_cfg->hfp + DSI_HFP_FRAME_OVERHEAD; in cdns_dsi_mode2cfg()
773 writel(HFP_LEN(dsi_cfg.hfp) | HACT_LEN(dsi_cfg.hact), in cdns_dsi_bridge_atomic_pre_enable()
/linux/drivers/gpu/drm/ast/
H A Dast_mode.c794 adjusted_mode->crtc_hsync_start = vmode->hde + hborder + vmode->hfp; in ast_crtc_helper_atomic_check()
795 adjusted_mode->crtc_hsync_end = vmode->hde + hborder + vmode->hfp + vmode->hsync; in ast_crtc_helper_atomic_check()

12