Searched refs:hactive (Results 1 - 25 of 67) sorted by last modified time

123

/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_vbt_defs.h1040 u16 hactive;
1038 u16 hactive; member in struct:generic_dtd_entry
H A Dintel_bios.c967 panel_fixed_mode->hdisplay = dtd->hactive;
H A Dicl_dsi.c303 u16 hactive = adjusted_mode->crtc_hdisplay; local
307 dl_buffer_depth = hactive / 2 + intel_dsi->pixel_overlap;
848 u16 htotal, hactive, hsync_start, hsync_end, hsync_size; local
867 hactive = adjusted_mode->crtc_hdisplay;
872 htotal = DIV_ROUND_UP((hactive + 160) * mul, div);
900 hactive /= 2;
902 hactive += intel_dsi->pixel_overlap;
906 /* minimum hactive as per bspec: 256 pixels */
908 drm_err(&dev_priv->drm, "hactive is less then 256 pixels\n");
910 /* if RGB666 format, then hactive mus
[all...]
/linux-master/drivers/gpu/drm/display/
H A Ddrm_dp_helper.c4122 * @hactive: pixel count of the active period in one scanline of the stream
4135 * - @hactive timing
4144 int drm_dp_bw_overhead(int lane_count, int hactive,
4153 if (lane_count == 0 || hactive == 0 || bpp_x16 == 0) {
4154 DRM_DEBUG_KMS("Invalid BW overhead params: lane_count %d, hactive %d, bpp_x16 %d.%04d\n",
4155 lane_count, hactive,
4193 symbol_cycles = drm_dp_link_dsc_symbol_cycles(lane_count, hactive,
4198 symbol_cycles = drm_dp_link_symbol_cycles(lane_count, hactive,
4204 hactive * bpp_x16);
4105 drm_dp_bw_overhead(int lane_count, int hactive, int dsc_slice_count, int bpp_x16, unsigned long flags) argument
/linux-master/drivers/video/fbdev/core/
H A Dfbmon.c1020 u32 hactive; member in struct:__fb_timings
1154 timings->hactive);
1155 timings->htotal = timings->hactive + timings->hblank;
1165 timings->hactive);
1166 timings->htotal = timings->hactive + timings->hblank;
1173 timings->hactive);
1174 timings->htotal = timings->hactive + timings->hblank;
1248 timings->hactive = var->xres;
1316 fbmode->xres = vm->hactive;
1342 htotal = vm->hactive
[all...]
/linux-master/drivers/gpu/drm/bridge/
H A Dlontium-lt9611uxc.c390 u32 h_total, hactive, hsync_len, hfront_porch;
396 hactive = mode->hdisplay;
413 regmap_write(lt9611uxc->regmap, 0xd013, (u8)(hactive / 256));
414 regmap_write(lt9611uxc->regmap, 0xd014, (u8)(hactive % 256));
392 u32 h_total, hactive, hsync_len, hfront_porch; local
H A Dlontium-lt8912b.c286 u32 hactive, h_total, hpw, hfp, hbp; local
294 hactive = lt->mode.hactive;
298 h_total = hactive + hfp + hpw + hbp;
317 ret |= regmap_write(lt->regmap[I2C_CEC_DSI], 0x1c, hactive & 0xff);
318 ret |= regmap_write(lt->regmap[I2C_CEC_DSI], 0x1d, hactive >> 8);
H A Dlontium-lt9611.c131 u32 h_total, hactive, hsync_len, hfront_porch, hsync_porch; local
137 hactive = mode->hdisplay;
156 regmap_write(lt9611->regmap, 0x8313, (u8)(hactive / 256));
157 regmap_write(lt9611->regmap, 0x8314, (u8)(hactive % 256));
/linux-master/include/drm/display/
H A Ddrm_dp_helper.h865 int drm_dp_bw_overhead(int lane_count, int hactive,
/linux-master/drivers/gpu/drm/panel/
H A Dpanel-simple.c180 dt->hactive.typ, dt->vactive.typ);
530 if (!PANEL_SIMPLE_BOUNDS_CHECK(ot, dt, hactive) ||
833 .hactive = { 800, 800, 800 },
874 .hactive = { 800, 800, 800 },
904 .hactive = { 800, 800, 800 },
1010 .hactive = { 800, 800, 800 },
1086 .hactive = { 1280, 1280, 1280 },
1110 .hactive = { 1920, 1920, 1920 },
1140 .hactive = { 1920, 1920, 1920 },
1195 .hactive
[all...]
H A Dpanel-edp.c271 dt->hactive.typ, dt->vactive.typ);
740 if (!PANEL_EDP_BOUNDS_CHECK(ot, dt, hactive) ||
1001 .hactive = { 1280, 1280, 1280 },
1361 .hactive = { 1366, 1366, 1366 },
1680 .hactive = { 2400, 2400, 2400 },
/linux-master/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi5.c158 DSSDBG("hdmi_power_on hactive= %d vactive = %d\n", vm->hactive,
H A Dhdmi4.c164 DSSDBG("hdmi_power_on hactive= %d vactive = %d\n", vm->hactive,
/linux-master/drivers/gpu/drm/msm/dp/
H A Ddp_ctrl.c46 u64 hactive; /* active h-width */ member in struct:dp_tu_calc_input
334 tu->lwidth = in->hactive;
341 tu->lwidth_fp = drm_fixp_from_fraction(in->hactive, 1);
969 in.hactive = drm_mode->hdisplay;
/linux-master/drivers/gpu/drm/mediatek/
H A Dmtk_dsi.c400 ps_wc = FIELD_PREP(DSI_PS_WC, dsi->vm.hactive * dsi_buf_bpp);
454 FIELD_PREP(DSI_WIDTH, vm->hactive),
496 (vm->hactive * dsi_tmp_buf_bpp + 2) % dsi->lanes;
H A Dmtk_dp.c408 vm->hactive, HWIDTH_SW_DP_ENC0_P0_MASK);
425 vm->hactive, HDE_NUM_LAST_DP_ENC0_P0_MASK);
438 vm->hactive,
1414 mtk_dp->info.vm.hactive /
/linux-master/drivers/gpu/drm/imx/dcss/
H A Ddcss-dtg.c198 vm->hactive - 1;
203 dis_lrc_x = vm->hsync_len + vm->hback_porch + vm->hactive - 1;
H A Ddcss-ss.c130 vm->hactive - 1;
137 vm->hactive - 1;
157 de_lrc_x = vm->hsync_len + vm->hback_porch + vm->hactive - 1;
/linux-master/drivers/gpu/drm/
H A Ddrm_modes.c329 unsigned int hactive,
350 hactive, vactive,
356 if (pixel_clock_hz == 13500000 && hactive > max_hact && hactive <= 720) {
372 hact_duration_ns = hactive * pixel_duration_ns;
381 hblk = htotal - hactive;
452 if (htotal != (hactive + hfp + hslen + hbp))
456 mode->hdisplay = hactive;
1072 dmode->hdisplay = vm->hactive;
1113 vm->hactive
325 fill_analog_mode(struct drm_device *dev, struct drm_display_mode *mode, const struct analog_parameters *params, unsigned long pixel_clock_hz, unsigned int hactive, unsigned int vactive, bool interlace) argument
[all...]
H A Ddrm_edid.c3518 unsigned hactive = (pt->hactive_hblank_hi & 0xf0) << 4 | pt->hactive_lo;
3528 if (hactive < 64 || vactive < 64)
3549 mode = drm_cvt_mode(dev, hactive, vactive, 60, true, false, false);
3565 mode->hdisplay = hactive;
6796 unsigned hactive = (timings->hactive[0] | timings->hactive[1] << 8) + 1;
6813 mode->hdisplay = hactive;
3449 unsigned hactive = (pt->hactive_hblank_hi & 0xf0) << 4 | pt->hactive_lo; local
6657 unsigned hactive = (timings->hactive[0] | timings->hactive[1] << 8) + 1; local
/linux-master/drivers/gpu/drm/bridge/analogix/
H A Danx7625.c508 htotal = ctx->dt.hactive.min + ctx->dt.hfront_porch.min +
516 HORIZONTAL_ACTIVE_PIXELS_L, ctx->dt.hactive.min & 0xFF);
518 HORIZONTAL_ACTIVE_PIXELS_H, ctx->dt.hactive.min >> 8);
2260 ctx->dt.hactive.min = mode->hdisplay;
2272 DRM_DEV_DEBUG_DRIVER(dev, "hactive(%d), hsync(%d), hfp(%d), hbp(%d)\n",
2273 ctx->dt.hactive.min,
/linux-master/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddml2_utils.c250 unsigned int hactive, vactive, hblank_start, vblank_start, hblank_end, vblank_end; local
253 hactive = timing->h_addressable + timing->h_border_left + timing->h_border_right;
268 pipe_ctx->pipe_dlg_param.hactive = hactive;
/linux-master/drivers/media/pci/tw68/
H A Dtw68-video.c255 int hactive, hdelay, hscale; local
279 hactive = norm->h_stop - norm->h_start + 1;
281 hscale = (hactive * 256) / (width);
292 pr_debug("%s: hactive=%d, hdelay=%d, hscale=%d; vactive=%d, vdelay=%d, vscale=%d\n",
294 hactive, hdelay, hscale, vactive, vdelay, vscale);
299 ((hactive & 0x300) >> 8);
301 __func__, comb, vdelay, vactive, hdelay, hactive);
306 tw_writeb(TW68_HACTIVE_LO, hactive & 0xff);
/linux-master/drivers/gpu/drm/sprd/
H A Dsprd_dsi.c470 video_size = round_video_size(coding, vm->hactive);
474 hline = vm->hactive + vm->hsync_len + vm->hfront_porch +
516 bytes_per_chunk = vm->hactive * bpp_x100 / 100 + pkt_header;
519 total_bytes = (vm->hactive + vm->hfront_porch) *
534 video_size < vm->hactive;
536 if (vm->hactive * 1000 / video_size % 1000)
539 chunks = vm->hactive / video_size;
563 for (video_size = vm->hactive;
586 u32 hactive = ctx->vm.hactive; local
[all...]
H A Dsprd_dpu.c466 size = (ctx->vm.vactive << 16) | ctx->vm.hactive;

Completed in 586 milliseconds

123