Home
last modified time | relevance | path

Searched refs:top_margin (Results 1 – 20 of 20) sorted by relevance

/OK3568_Linux_fs/external/xserver/hw/xfree86/modes/
H A Dxf86gtf.c108 float top_margin; in xf86GTFMode() local
169 top_margin = margins ? rint(MARGIN_PERCENT / 100.0 * v_lines_rnd) : (0.0); in xf86GTFMode()
196 / (v_lines_rnd + (2 * top_margin) + MIN_PORCH + interlace) in xf86GTFMode()
223 total_v_lines = v_lines_rnd + top_margin + bottom_margin + vsync_plus_bp + in xf86GTFMode()
/OK3568_Linux_fs/external/xserver/hw/xfree86/utils/gtf/
H A Dgtf.c273 float top_margin; in vert_refresh() local
342 top_margin = margins ? rint(MARGIN_PERCENT / 100.0 * v_lines_rnd) : (0.0); in vert_refresh()
344 print_value(4, "[TOP MARGIN (LINES)]", top_margin); in vert_refresh()
375 / (v_lines_rnd + (2 * top_margin) + MIN_PORCH + interlace) in vert_refresh()
407 total_v_lines = v_lines_rnd + top_margin + bottom_margin + vsync_plus_bp + in vert_refresh()
/OK3568_Linux_fs/u-boot/drivers/video/drm/
H A Drk1000_tve.c183 overscan->top_margin = max_scan; in drm_rk1000_select_output()
240 overscan->top_margin = min_scan; in drm_rk1000_select_output()
242 overscan->top_margin = scan->topscale; in drm_rk1000_select_output()
H A Drockchip_dw_hdmi.c371 overscan->top_margin = max_scan; in drm_rk_selete_output()
477 overscan->top_margin = min_scan; in drm_rk_selete_output()
479 overscan->top_margin = scan->topscale; in drm_rk_selete_output()
H A Drockchip_dw_hdmi_qp.c933 overscan->top_margin = max_scan; in dw_hdmi_qp_selete_output()
1030 overscan->top_margin = min_scan; in dw_hdmi_qp_selete_output()
1032 overscan->top_margin = scan->topscale; in dw_hdmi_qp_selete_output()
H A Drockchip_display.h207 int top_margin; member
H A Drockchip_tve.c747 overscan->top_margin = min_scan; in tve_select_output()
749 overscan->top_margin = scan->topscale; in tve_select_output()
H A Drockchip_vop.c175 …u16 vsize = vdisplay * (conn_state->overscan.top_margin + conn_state->overscan.bottom_margin) / 20… in vop_post_config()
188 vact_st += vdisplay * (100 - conn_state->overscan.top_margin) / 200; in vop_post_config()
H A Drockchip_display.c1860 s->conn_state.overscan.top_margin = 100; in rockchip_display_probe()
2062 FDT_SET_U32("overscan,top_margin", s->conn_state.overscan.top_margin); in rockchip_display_fixup()
H A Drockchip_vop2.c1951 vdisplay * (conn_state->overscan.top_margin + in vop2_post_config()
1965 vact_st += vdisplay * (100 - conn_state->overscan.top_margin) / 200; in vop2_post_config()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/
H A Drockchip_drm_logo.h30 int top_margin; member
H A Drockchip_drm_logo.c511 set->top_margin = val; in of_parse_display_resource()
897 s->top_margin = set->top_margin; in update_state()
H A Drockchip_drm_drv.h253 int top_margin; member
H A Drockchip_drm_vop.c3722 u16 vsize = vdisplay * (s->top_margin + s->bottom_margin) / 200; in vop_post_config()
3734 vact_st += vdisplay * (100 - s->top_margin) / 200; in vop_post_config()
4108 s->top_margin = 100; in vop_crtc_reset()
4224 *val = s->top_margin; in vop_crtc_atomic_get_property()
4275 s->top_margin = val; in vop_crtc_atomic_set_property()
H A Drockchip_drm_vop2.c6924 u16 vsize = vdisplay * (vcstate->top_margin + vcstate->bottom_margin) / 200; in vop2_post_config()
6935 vact_st += vdisplay * (100 - vcstate->top_margin) / 200; in vop2_post_config()
10121 vcstate->top_margin = 100; in vop2_crtc_reset()
10254 *val = vcstate->top_margin; in vop2_crtc_atomic_get_property()
10377 vcstate->top_margin = val; in vop2_crtc_atomic_set_property()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/gma500/
H A Dpsb_intel_sdvo.c179 u32 left_margin, right_margin, top_margin, bottom_margin; member
1659 if (psb_intel_sdvo_connector->top_margin == temp_value) in psb_intel_sdvo_set_property()
1662 psb_intel_sdvo_connector->top_margin = temp_value; in psb_intel_sdvo_set_property()
1665 psb_intel_sdvo_connector->top_margin; in psb_intel_sdvo_set_property()
1674 psb_intel_sdvo_connector->top_margin = temp_value; in psb_intel_sdvo_set_property()
1677 psb_intel_sdvo_connector->top_margin; in psb_intel_sdvo_set_property()
2280 psb_intel_sdvo_connector->top_margin = data_value[0] - response; in psb_intel_sdvo_create_enhance_property_tv()
2281 psb_intel_sdvo_connector->bottom_margin = psb_intel_sdvo_connector->top_margin; in psb_intel_sdvo_create_enhance_property_tv()
2289 psb_intel_sdvo_connector->top_margin); in psb_intel_sdvo_create_enhance_property_tv()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_modes.c386 int top_margin, bottom_margin; in drm_gtf_mode_complex() local
430 top_margin = 0; in drm_gtf_mode_complex()
432 top_margin = (vdisplay_rnd * GTF_MARGIN_PERCENTAGE + 500) / in drm_gtf_mode_complex()
435 bottom_margin = top_margin; in drm_gtf_mode_complex()
446 tmp2 = (vdisplay_rnd + 2 * top_margin + GTF_MIN_V_PORCH) * in drm_gtf_mode_complex()
458 vtotal_lines = vdisplay_rnd + top_margin + bottom_margin + in drm_gtf_mode_complex()
/OK3568_Linux_fs/kernel/Documentation/gpu/
H A Dkms-properties.csv25 ,,"""top_margin""",RANGE,"Min=0, Max= SDVO dependent",Connector,TBD
46 ,,"""top_margin""",RANGE,"Min=0, Max= SDVO dependent",Connector,TBD
/OK3568_Linux_fs/u-boot/common/
H A Dedid.c4321 int top_margin, bottom_margin; in drm_gtf_mode_complex() local
4360 top_margin = 0; in drm_gtf_mode_complex()
4362 top_margin = (vdisplay_rnd * GTF_MARGIN_PERCENTAGE + 500) / in drm_gtf_mode_complex()
4365 bottom_margin = top_margin; in drm_gtf_mode_complex()
4376 tmp2 = (vdisplay_rnd + 2 * top_margin + GTF_MIN_V_PORCH) * in drm_gtf_mode_complex()
4389 vtotal_lines = vdisplay_rnd + top_margin + bottom_margin + in drm_gtf_mode_complex()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/
H A Dintel_tv.c1066 int vdisplay, int top_margin, in intel_tv_scale_mode_vert() argument
1072 (mode->vdisplay - top_margin - bottom_margin); in intel_tv_scale_mode_vert()