Home
last modified time | relevance | path

Searched refs:vtotal (Results 1 – 25 of 30) sorted by relevance

12

/rk3399_rockchip-uboot/drivers/video/drm/rk628/
H A Drk628_hdmirx.c131 u32 hact, vact, htotal, vtotal, fps, status; in rk628_hdmirx_get_timing() local
156 vtotal = val & 0xffff; in rk628_hdmirx_get_timing()
173 if (!(htotal && vtotal)) { in rk628_hdmirx_get_timing()
174 printf("rk628_hdmirx timing err, htotal:%d, vtotal:%d\n", htotal, vtotal); in rk628_hdmirx_get_timing()
179 fps = tmds_clk / (htotal * vtotal); in rk628_hdmirx_get_timing()
181 fps = (tmds_clk + (htotal * vtotal) / 2) / (htotal * vtotal); in rk628_hdmirx_get_timing()
205 (vtotal < (vact + vs + vbp))) { in rk628_hdmirx_get_timing()
207 htotal, vtotal, hact, vact, hofs_pix, hs, vs, vbp); in rk628_hdmirx_get_timing()
213 vfp = vtotal - vact - vs - vbp; in rk628_hdmirx_get_timing()
228 pixelclock = htotal * vtotal * fps; in rk628_hdmirx_get_timing()
[all …]
H A Drk628_gvi.c104 dst_rate = src_rate * dst->vtotal * dst->htotal; in rk628_gvi_get_lane_rate()
105 do_div(dst_rate, (src->vtotal * src->htotal)); in rk628_gvi_get_lane_rate()
165 u16 vsync_len, vact_st, vact_end, vtotal; in rk628_gvi_enable_color_bar() local
173 vm_vback_porch = mode->vtotal - mode->vsync_end; in rk628_gvi_enable_color_bar()
189 vtotal = mode->vtotal; in rk628_gvi_enable_color_bar()
198 (vtotal - 1) << 16 | vact_end); in rk628_gvi_enable_color_bar()
H A Drk628_post_process.c1278 src_vback_porch = src->vtotal - src->vsync_end; in calc_dsp_frm_hst_vst()
1280 src_vtotal = src->vtotal; in calc_dsp_frm_hst_vst()
1286 dst_vback_porch = dst->vtotal - dst->vsync_end; in calc_dsp_frm_hst_vst()
1353 dst_vback_porch = dst->vtotal - dst->vsync_end; in rk628_post_process_scaler_init()
1451 dst_rate = src_rate * dst->vtotal * dst->htotal; in rk628_post_process_init()
1452 do_div(dst_rate, (src->vtotal * src->htotal)); in rk628_post_process_init()
H A Drk628.c339 dmode->vtotal = dmode->vsync_end + vm->vback_porch; in rk628_display_mode_from_videomode()
365 rk628->src_mode.vsync_start, rk628->src_mode.vsync_end, rk628->src_mode.vtotal, in rk628_get_video_mode()
379 rk628->dst_mode.vsync_start, rk628->dst_mode.vsync_end, rk628->dst_mode.vtotal, in rk628_get_video_mode()
H A Drk628.h399 int vtotal; member
494 u32 vtotal; member
H A Drk628_rgb.c188 src_vback_porch = src->vtotal - src->vsync_end; in rk628_bt1120_decoder_timing_cfg()
/rk3399_rockchip-uboot/drivers/video/drm/
H A Drockchip_display_helper.c76 } else if (mode->htotal > 0 && mode->vtotal > 0) { in drm_mode_vrefresh()
77 int vtotal; in drm_mode_vrefresh() local
79 vtotal = mode->vtotal; in drm_mode_vrefresh()
83 refresh = (calc_val + vtotal / 2) / vtotal; in drm_mode_vrefresh()
124 p->crtc_vtotal = p->vtotal; in drm_mode_set_crtcinfo()
H A Ddrm_modes.c98 mode1->vtotal == mode2->vtotal && in drm_mode_match_timings()
218 dmode->vtotal = dmode->vsync_end + vm->vback_porch; in drm_display_mode_from_videomode()
257 vm->vback_porch = dmode->vtotal - dmode->vsync_end; in drm_display_mode_to_videomode()
H A Drk1000_tve.c193 mode->vtotal = 625; in drm_rk1000_select_output()
260 mode->vtotal = 525; in drm_rk1000_select_output()
270 mode->vtotal = 625; in drm_rk1000_select_output()
H A Drockchip_vop.c206 u16 vtotal = mode->crtc_vtotal; in vop_post_config() local
239 u16 vact_st_f1 = vtotal + vact_st + 1; in vop_post_config()
328 u16 vtotal = mode->crtc_vtotal; in rockchip_vop_init() local
614 u16 vact_st_f1 = vtotal + vact_st + 1; in rockchip_vop_init()
620 val = vtotal << 16 | (vtotal + vsync_len); in rockchip_vop_init()
624 vtotal += vtotal + 1; in rockchip_vop_init()
631 VOP_CTRL_SET(vop, vtotal_pw, (vtotal << 16) | vsync_len); in rockchip_vop_init()
H A Dinno_hdmi.c455 value = mode->vtotal; in inno_hdmi_config_video_timing()
459 value = mode->vtotal - mode->vdisplay; in inno_hdmi_config_video_timing()
462 value = mode->vtotal - mode->vsync_start; in inno_hdmi_config_video_timing()
H A Drockchip_spl_display.c177 mode->vsync_end, mode->vtotal, in spl_init_display()
H A Dsii902x.c249 data[2] = (sii902x->mode.vtotal >> 1) & 0xff; in sii902x_set_embedded_sync()
250 data[3] = ((sii902x->mode.vtotal >> 1) >> 8) & 0x1f; in sii902x_set_embedded_sync()
H A Dmax96755f.c43 vbp = mode->vtotal - mode->vsync_end; in max96755f_mipi_dsi_rx_config()
H A Danalogix_dp_reg.c1114 vbp = mode->vtotal - mode->vsync_end; in analogix_dp_set_video_format()
1118 TOTAL_LINE_CFG_L(mode->vtotal)); in analogix_dp_set_video_format()
1120 TOTAL_LINE_CFG_H(mode->vtotal >> 8)); in analogix_dp_set_video_format()
H A Drockchip_display.c456 mode->vtotal = mode->vsync_end + vback_porch; in rockchip_ofnode_get_display_mode()
484 mode->vtotal = 750; in display_get_force_timing_from_dts()
616 mode->vtotal = 750; in display_get_edid_mode()
841 mode->vsync_end, mode->vtotal, in display_init()
H A Drockchip_vop2.c2204 u16 vtotal = mode->crtc_vtotal; in vop2_post_config() local
2254 u16 vact_st_f1 = vtotal + vact_st + 1; in vop2_post_config()
4547 u16 vtotal = mode->crtc_vtotal; in vop2_dsc_enable() local
4687 DSC_VTOTAL_PW_SHIFT, vtotal << 16 | vsync_len, false); in vop2_dsc_enable()
4941 u16 vtotal = mode->crtc_vtotal; in rockchip_vop2_init() local
5063 u16 vact_st_f1 = vtotal + vact_st + 1; in rockchip_vop2_init()
5070 val = vtotal << 16 | (vtotal + vsync_len); in rockchip_vop2_init()
5078 vtotal += vtotal + 1; in rockchip_vop2_init()
5088 (vtotal << 16) | vsync_len); in rockchip_vop2_init()
H A Ddw-dp.c1243 u32 vstart = mode->vtotal - mode->vsync_start; in dw_dp_video_enable()
1288 vblank = mode->vtotal - mode->vdisplay; in dw_dp_video_enable()
/rk3399_rockchip-uboot/common/
H A Dedid.c1860 mode->vtotal = va + vbl; in decode_mode()
1878 mode->vtotal, vborder); in decode_mode()
1940 } else if (mode->htotal > 0 && mode->vtotal > 0) { in drm_get_vrefresh()
1941 int vtotal; in drm_get_vrefresh() local
1943 vtotal = mode->vtotal; in drm_get_vrefresh()
1947 refresh = (calc_val + vtotal / 2) / vtotal; in drm_get_vrefresh()
2434 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + in drm_cvt_mode()
2490 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + vbilines; in drm_cvt_mode()
2506 drm_mode->vtotal *= 2; in drm_cvt_mode()
3853 mode->vtotal *= 2; in drm_mode_do_interlace_quirk()
[all …]
/rk3399_rockchip-uboot/drivers/video/
H A Dmxc_ipuv3_fb.c297 u32 vtotal; in mxcfb_check_var() local
383 vtotal = var->yres + var->lower_margin + var->vsync_len + in mxcfb_check_var()
385 var->pixclock = (vtotal * htotal * 6UL) / 100UL; in mxcfb_check_var()
H A Dati_radeon_fb.c56 #define CRTC_V_TOTAL_DISP_VAL(vtotal, vdisp) \ argument
57 ((((vtotal) - 1) & 0xffff) | (((vdisp) - 1) << 16))
/rk3399_rockchip-uboot/include/
H A Ddrm_modes.h236 int vtotal; member
H A Dedid.h59 .vsync_start = (vss), .vsync_end = (vse), .vtotal = (vt), \
836 int vtotal; member
/rk3399_rockchip-uboot/drivers/video/tegra124/
H A Dsor.c617 u32 vtotal, htotal; in tegra_dc_sor_config_panel() local
639 vtotal = timing->vsync_len.typ + timing->vback_porch.typ + in tegra_dc_sor_config_panel()
645 vtotal << NV_HEAD_STATE1_VTOTAL_SHIFT | in tegra_dc_sor_config_panel()
/rk3399_rockchip-uboot/drivers/video/drm/display-serdes/maxim/
H A Dmaxim-max96772.c359 vbp = mode->vtotal - mode->vsync_end; in max96772_panel_prepare()

12