Home
last modified time | relevance | path

Searched refs:margins (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/video/fbdev/kyro/
H A DSTG4000VTG.c63 u32 margins = 0; in SetupVTG() local
81 margins = 8; in SetupVTG()
88 (pTiming->HST + (pTiming->HBP - margins) + xRes + in SetupVTG()
89 (pTiming->HFP - margins))) >> 1; in SetupVTG()
99 pTiming->HST + (pTiming->HBP - margins) + HLeftBorder; in SetupVTG()
102 pTiming->HST + (pTiming->HBP - margins) + HLeftBorder + in SetupVTG()
111 pTiming->VST + (pTiming->VBP - margins) + VTopBorder; in SetupVTG()
114 pTiming->VST + (pTiming->VBP - margins) + VTopBorder + in SetupVTG()
/linux/drivers/gpu/drm/tests/
H A Ddrm_cmdline_parser_test.c28 KUNIT_EXPECT_FALSE(test, mode.margins); in drm_test_cmdline_force_e_only()
46 KUNIT_EXPECT_FALSE(test, mode.margins); in drm_test_cmdline_force_D_only_not_digital()
68 KUNIT_EXPECT_FALSE(test, mode.margins); in drm_test_cmdline_force_D_only_hdmi()
90 KUNIT_EXPECT_FALSE(test, mode.margins); in drm_test_cmdline_force_D_only_dvi()
108 KUNIT_EXPECT_FALSE(test, mode.margins); in drm_test_cmdline_force_d_only()
130 KUNIT_EXPECT_FALSE(test, mode.margins); in drm_test_cmdline_res()
152 KUNIT_EXPECT_FALSE(test, mode.margins); in drm_test_cmdline_res_vesa()
174 KUNIT_EXPECT_FALSE(test, mode.margins); in drm_test_cmdline_res_vesa_rblank()
196 KUNIT_EXPECT_FALSE(test, mode.margins); in drm_test_cmdline_res_rblank()
219 KUNIT_EXPECT_FALSE(test, mode.margins); in drm_test_cmdline_res_bpp()
[all …]
/linux/drivers/gpu/drm/i915/display/
H A Dintel_tv.c884 } margins; member
1185 conn_state->tv.margins.top - in intel_tv_vert_scaling()
1186 conn_state->tv.margins.bottom != in intel_tv_vert_scaling()
1246 top = conn_state->tv.margins.top; in intel_tv_compute_config()
1247 bottom = conn_state->tv.margins.bottom; in intel_tv_compute_config()
1255 tv_conn_state->margins.top = top; in intel_tv_compute_config()
1256 tv_conn_state->margins.bottom = bottom; in intel_tv_compute_config()
1266 tv_conn_state->margins.top = conn_state->tv.margins.top; in intel_tv_compute_config()
1267 tv_conn_state->margins.bottom = conn_state->tv.margins.bottom; in intel_tv_compute_config()
1341 conn_state->tv.margins.left, in intel_tv_compute_config()
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_atomic_state_helper.c492 state->tv.margins.left = cmdline->tv_margins.left; in drm_atomic_helper_connector_tv_margins_reset()
493 state->tv.margins.right = cmdline->tv_margins.right; in drm_atomic_helper_connector_tv_margins_reset()
494 state->tv.margins.top = cmdline->tv_margins.top; in drm_atomic_helper_connector_tv_margins_reset()
495 state->tv.margins.bottom = cmdline->tv_margins.bottom; in drm_atomic_helper_connector_tv_margins_reset()
606 if (old_conn_state->tv.margins.left != new_conn_state->tv.margins.left || in drm_atomic_helper_connector_tv_check()
607 old_conn_state->tv.margins.right != new_conn_state->tv.margins.right || in drm_atomic_helper_connector_tv_check()
608 old_conn_state->tv.margins.top != new_conn_state->tv.margins.top || in drm_atomic_helper_connector_tv_check()
609 old_conn_state->tv.margins.bottom != new_conn_state->tv.margins.bottom || in drm_atomic_helper_connector_tv_check()
H A Ddrm_modes.c625 bool reduced, bool interlaced, bool margins) in drm_cvt_mode() argument
669 if (margins) { in drm_cvt_mode()
684 if (margins) in drm_cvt_mode()
850 int vrefresh, bool interlaced, int margins, in drm_gtf_mode_complex() argument
914 if (margins) in drm_gtf_mode_complex()
956 if (margins) in drm_gtf_mode_complex()
1055 bool interlaced, int margins) in drm_gtf_mode() argument
1058 interlaced, margins, in drm_gtf_mode()
1996 mode->margins = true; in drm_mode_parse_cmdline_extra()
2556 cmd->margins); in drm_mode_create_from_cmdline_mode()
[all …]
H A Ddrm_atomic_uapi.c701 state->tv.margins.left = val; in drm_atomic_connector_set_property()
703 state->tv.margins.right = val; in drm_atomic_connector_set_property()
705 state->tv.margins.top = val; in drm_atomic_connector_set_property()
707 state->tv.margins.bottom = val; in drm_atomic_connector_set_property()
815 *val = state->tv.margins.left; in drm_atomic_connector_get_property()
817 *val = state->tv.margins.right; in drm_atomic_connector_get_property()
819 *val = state->tv.margins.top; in drm_atomic_connector_get_property()
821 *val = state->tv.margins.bottom; in drm_atomic_connector_get_property()
H A Ddrm_connector.c188 mode->margins ? " with margins" : "", in drm_connector_get_cmdline_mode()
/linux/drivers/gpu/drm/gud/
H A Dgud_connector.c302 if (old_state->tv.margins.left != new_state->tv.margins.left || in gud_connector_atomic_check()
303 old_state->tv.margins.right != new_state->tv.margins.right || in gud_connector_atomic_check()
304 old_state->tv.margins.top != new_state->tv.margins.top || in gud_connector_atomic_check()
305 old_state->tv.margins.bottom != new_state->tv.margins.bottom || in gud_connector_atomic_check()
449 return &state->margins.left; in gud_connector_tv_state_val()
451 return &state->margins.right; in gud_connector_tv_state_val()
453 return &state->margins.top; in gud_connector_tv_state_val()
455 return &state->margins.bottom; in gud_connector_tv_state_val()
/linux/drivers/gpu/drm/display/
H A Ddrm_hdmi_helper.c159 frame->right_bar = conn_state->tv.margins.right; in drm_hdmi_avi_infoframe_bars()
160 frame->left_bar = conn_state->tv.margins.left; in drm_hdmi_avi_infoframe_bars()
161 frame->top_bar = conn_state->tv.margins.top; in drm_hdmi_avi_infoframe_bars()
162 frame->bottom_bar = conn_state->tv.margins.bottom; in drm_hdmi_avi_infoframe_bars()
/linux/drivers/gpu/drm/vc4/
H A Dvc4_crtc.c684 *left = vc4_state->margins.left; in vc4_crtc_get_margins()
685 *right = vc4_state->margins.right; in vc4_crtc_get_margins()
686 *top = vc4_state->margins.top; in vc4_crtc_get_margins()
687 *bottom = vc4_state->margins.bottom; in vc4_crtc_get_margins()
698 *left = conn_state->tv.margins.left; in vc4_crtc_get_margins()
699 *right = conn_state->tv.margins.right; in vc4_crtc_get_margins()
700 *top = conn_state->tv.margins.top; in vc4_crtc_get_margins()
701 *bottom = conn_state->tv.margins.bottom; in vc4_crtc_get_margins()
739 if (memcmp(&vc4_state->margins, &conn_state->tv.margins, in vc4_crtc_atomic_check()
740 sizeof(vc4_state->margins))) { in vc4_crtc_atomic_check()
[all …]
H A Dvc4_hdmi.c526 if (old_state->tv.margins.left != new_state->tv.margins.left || in vc4_hdmi_connector_atomic_check()
527 old_state->tv.margins.right != new_state->tv.margins.right || in vc4_hdmi_connector_atomic_check()
528 old_state->tv.margins.top != new_state->tv.margins.top || in vc4_hdmi_connector_atomic_check()
529 old_state->tv.margins.bottom != new_state->tv.margins.bottom) { in vc4_hdmi_connector_atomic_check()
/linux/include/drm/
H A Ddrm_modes.h493 bool margins);
496 bool interlaced, int margins);
500 int margins,
H A Ddrm_connector.h905 struct drm_connector_tv_margins margins; member
1617 bool margins; member
/linux/Documentation/userspace-api/media/v4l/
H A Dpixfmt-cnf4.rst17 the specific sensor (actual error margins might change from sensor to sensor).
/linux/drivers/video/fbdev/core/
H A Dmodedb.c655 int margins = 0; in fb_find_mode() local
703 margins = 1; in fb_find_mode()
734 (margins) ? " with margins" : "", in fb_find_mode()
747 ret = fb_find_mode_cvt(&cvt_mode, margins, rb); in fb_find_mode()
H A Dfbcvt.c294 int fb_find_mode_cvt(struct fb_videomode *mode, int margins, int rb) in fb_find_mode_cvt() argument
300 if (margins) in fb_find_mode_cvt()
/linux/Documentation/fb/
H A Dmodedb.rst42 specified, add margins to the calculation (1.8% of xres rounded down to 8
45 Sample usage: 1024x768M@60m - CVT timing with margins
71 Number of pixels in the margins, typically to deal with overscan on TVs
H A Dpxafb.rst47 Display margins and sync times
H A Dfbcon.rst150 This option specifies the color of the margins. The margins are the
/linux/Documentation/sphinx-static/
H A Dcustom.css21 /* Tweak document margins and don't force width */
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dpinctrl-st.txt38 IO timing margins of external synchronous interfaces.
/linux/include/linux/
H A Dfb.h795 extern int fb_find_mode_cvt(struct fb_videomode *mode, int margins, int rb);
/linux/Documentation/gpu/
H A Dtodo.rst403 - tv overscan, margins, etc. (gma500, intel)