Home
last modified time | relevance | path

Searched refs:hfp (Results 1 - 25 of 109) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/video/fbdev/matrox/
H A Dmatroxfb_g450.c244 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, hlen); in computeRegs()
/kernel/linux/linux-6.6/drivers/video/fbdev/matrox/
H A Dmatroxfb_g450.c244 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, hlen); in computeRegs()
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/adv7511/
H A Dadv7533.c31 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/adv7511/
H A Dadv7533.c31 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
H A Dpanel-olimex-lcd-olinuxino.c30 u32 hfp; member
162 mode->hsync_start = lcd_mode->hactive + lcd_mode->hfp; in lcd_olinuxino_get_modes()
163 mode->hsync_end = lcd_mode->hactive + lcd_mode->hfp + in lcd_olinuxino_get_modes()
165 mode->htotal = lcd_mode->hactive + lcd_mode->hfp + in lcd_olinuxino_get_modes()
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/
H A Dpanel-olimex-lcd-olinuxino.c30 u32 hfp; member
162 mode->hsync_start = lcd_mode->hactive + lcd_mode->hfp; in lcd_olinuxino_get_modes()
163 mode->hsync_end = lcd_mode->hactive + lcd_mode->hfp + in lcd_olinuxino_get_modes()
165 mode->htotal = lcd_mode->hactive + lcd_mode->hfp + in lcd_olinuxino_get_modes()
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddsi.c3445 int hsa, hfp, hbp, width_bytes, bllp, lp_clk_div; in dsi_config_cmd_mode_interleaving() local
3467 hfp = FLD_GET(r, 23, 12); in dsi_config_cmd_mode_interleaving()
3491 bllp = hbp + hfp + hsa + DIV_ROUND_UP(width_bytes + 6, ndl); in dsi_config_cmd_mode_interleaving()
3503 hfp_interleave_hs = dsi_compute_interleave_hs(hfp, ddr_alwon, in dsi_config_cmd_mode_interleaving()
3506 hfp_interleave_lp = dsi_compute_interleave_lp(hfp, in dsi_config_cmd_mode_interleaving()
3694 int hfp = dsi->vm_timings.hfp; in dsi_proto_timings() local
3712 tl = DIV_ROUND_UP(4, ndl) + (hsync_end ? hsa : 0) + t_he + hfp + in dsi_proto_timings()
3716 hfp, hsync_end ? hsa : 0, tl); in dsi_proto_timings()
3722 r = FLD_MOD(r, hfp, 2 in dsi_proto_timings()
4505 int hfp, hsa, hbp; dsi_vm_calc_blanking() local
[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()
/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddsi.c3448 int hsa, hfp, hbp, width_bytes, bllp, lp_clk_div; in dsi_config_cmd_mode_interleaving() local
3470 hfp = FLD_GET(r, 23, 12); in dsi_config_cmd_mode_interleaving()
3494 bllp = hbp + hfp + hsa + DIV_ROUND_UP(width_bytes + 6, ndl); in dsi_config_cmd_mode_interleaving()
3506 hfp_interleave_hs = dsi_compute_interleave_hs(hfp, ddr_alwon, in dsi_config_cmd_mode_interleaving()
3509 hfp_interleave_lp = dsi_compute_interleave_lp(hfp, in dsi_config_cmd_mode_interleaving()
3696 int hfp = dsi->vm_timings.hfp; in dsi_proto_timings() local
3714 tl = DIV_ROUND_UP(4, ndl) + (hsync_end ? hsa : 0) + t_he + hfp + in dsi_proto_timings()
3718 hfp, hsync_end ? hsa : 0, tl); in dsi_proto_timings()
3724 r = FLD_MOD(r, hfp, 2 in dsi_proto_timings()
4503 int hfp, hsa, hbp; dsi_vm_calc_blanking() local
[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()
/kernel/linux/linux-5.10/drivers/gpu/drm/tilcdc/
H A Dtilcdc_crtc.c280 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()
323 DBG("%dx%d, hbp=%u, hfp=%u, hsw=%u, vbp=%u, vfp=%u, vsw=%u", in tilcdc_crtc_set_mode()
324 mode->hdisplay, mode->vdisplay, hbp, hfp, hsw, vbp, vfp, vsw); in tilcdc_crtc_set_mode()
332 * subtract one from hfp, hbp, hsw because the hardware uses 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()
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 in tilcdc_crtc_mode_valid()
[all...]
/kernel/linux/linux-6.6/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()
322 DBG("%dx%d, hbp=%u, hfp=%u, hsw=%u, vbp=%u, vfp=%u, vsw=%u", in tilcdc_crtc_set_mode()
323 mode->hdisplay, mode->vdisplay, hbp, hfp, hsw, vbp, vfp, vsw); in tilcdc_crtc_set_mode()
331 * subtract one from hfp, hbp, hsw because the hardware uses 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()
776 uint32_t hbp, hfp, hsw, vbp, vfp, vsw; in tilcdc_crtc_mode_valid() local
797 hfp = mode->hsync_start - mode->hdisplay; in tilcdc_crtc_mode_valid()
808 if ((hfp in tilcdc_crtc_mode_valid()
[all...]
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
H A Ddsi.c3374 int hsa, hfp, hbp, width_bytes, bllp, lp_clk_div; in dsi_config_cmd_mode_interleaving() local
3396 hfp = FLD_GET(r, 23, 12); in dsi_config_cmd_mode_interleaving()
3420 bllp = hbp + hfp + hsa + DIV_ROUND_UP(width_bytes + 6, ndl); in dsi_config_cmd_mode_interleaving()
3432 hfp_interleave_hs = dsi_compute_interleave_hs(hfp, ddr_alwon, in dsi_config_cmd_mode_interleaving()
3435 hfp_interleave_lp = dsi_compute_interleave_lp(hfp, in dsi_config_cmd_mode_interleaving()
3620 int hfp = dsi->vm_timings.hfp; in dsi_proto_timings() local
3638 tl = DIV_ROUND_UP(4, ndl) + (hsync_end ? hsa : 0) + t_he + hfp + in dsi_proto_timings()
3642 hfp, hsync_end ? hsa : 0, tl); in dsi_proto_timings()
3648 r = FLD_MOD(r, hfp, 2 in dsi_proto_timings()
4405 int hfp, hsa, hbp; dsi_vm_calc_blanking() local
[all...]
/kernel/linux/linux-6.6/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, 2 in dsi_proto_timings()
3764 int hfp, hsa, hbp; dsi_vm_calc_blanking() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/
H A Dlontium-lt8912b.c275 u32 hactive, h_total, hpw, hfp, hbp; in lt8912_video_setup() local
284 hfp = lt->mode.hfront_porch; in lt8912_video_setup()
287 h_total = hactive + hfp + hpw + hbp; in lt8912_video_setup()
326 ret |= regmap_write(lt->regmap[I2C_CEC_DSI], 0x3e, hfp & 0xff); in lt8912_video_setup()
327 ret |= regmap_write(lt->regmap[I2C_CEC_DSI], 0x3f, hfp >> 8); in lt8912_video_setup()
/kernel/linux/linux-5.10/drivers/video/fbdev/omap/
H A Dlcd_inn1510.c38 .hfp = 40,
H A Dlcd_palmtt.c38 .hfp = 8,
H A Dlcd_palmz71.c32 .hfp = 8,
H A Dlcd_palmte.c27 .hfp = 8,
H A Dlcd_htcherald.c35 .hfp = 10,
H A Dlcd_osk.c58 .hfp = 40,
/kernel/linux/linux-6.6/drivers/video/fbdev/omap/
H A Dlcd_palmte.c27 .hfp = 8,
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
H A Dvlv_dsi.c1086 u16 hactive, hfp, hsync, hbp, vfp, vsync, vbp; in bxt_dsi_get_pipe_config() local
1125 hfp = intel_de_read(dev_priv, MIPI_HFP_COUNT(port)); in bxt_dsi_get_pipe_config()
1135 hfp = pixels_from_txbyteclkhs(hfp, bpp, lane_count, in bxt_dsi_get_pipe_config()
1143 hfp *= 2; in bxt_dsi_get_pipe_config()
1153 adjusted_mode->crtc_htotal = hactive + hfp + hsync + hbp; in bxt_dsi_get_pipe_config()
1154 adjusted_mode->crtc_hsync_start = hfp + adjusted_mode->crtc_hdisplay; in bxt_dsi_get_pipe_config()
1283 u16 hactive, hfp, hsync, hbp, vfp, vsync, vbp; in set_dsi_timings() local
1286 hfp = adjusted_mode->crtc_hsync_start - adjusted_mode->crtc_hdisplay; in set_dsi_timings()
1294 hfp / in set_dsi_timings()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dvlv_dsi.c1019 u16 hactive, hfp, hsync, hbp, vfp, vsync; in bxt_dsi_get_pipe_config() local
1058 hfp = intel_de_read(dev_priv, MIPI_HFP_COUNT(port)); in bxt_dsi_get_pipe_config()
1068 hfp = pixels_from_txbyteclkhs(hfp, bpp, lane_count, in bxt_dsi_get_pipe_config()
1076 hfp *= 2; in bxt_dsi_get_pipe_config()
1085 adjusted_mode->crtc_htotal = hactive + hfp + hsync + hbp; in bxt_dsi_get_pipe_config()
1086 adjusted_mode->crtc_hsync_start = hfp + adjusted_mode->crtc_hdisplay; in bxt_dsi_get_pipe_config()
1219 u16 hactive, hfp, hsync, hbp, vfp, vsync, vbp; in set_dsi_timings() local
1222 hfp = adjusted_mode->crtc_hsync_start - adjusted_mode->crtc_hdisplay; in set_dsi_timings()
1230 hfp / in set_dsi_timings()
[all...]

Completed in 71 milliseconds

12345