Lines Matching full:mode
42 struct drm_display_mode *mode; in drm_test_modes_analog_tv_ntsc_480i() local
44 mode = drm_analog_tv_mode(priv->drm, in drm_test_modes_analog_tv_ntsc_480i()
48 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_modes_analog_tv_ntsc_480i()
50 KUNIT_EXPECT_EQ(test, drm_mode_vrefresh(mode), 60); in drm_test_modes_analog_tv_ntsc_480i()
51 KUNIT_EXPECT_EQ(test, mode->hdisplay, 720); in drm_test_modes_analog_tv_ntsc_480i()
54 KUNIT_EXPECT_EQ(test, mode->hsync_start, 736); in drm_test_modes_analog_tv_ntsc_480i()
63 KUNIT_EXPECT_EQ(test, mode->htotal, 858); in drm_test_modes_analog_tv_ntsc_480i()
65 KUNIT_EXPECT_EQ(test, mode->vdisplay, 480); in drm_test_modes_analog_tv_ntsc_480i()
66 KUNIT_EXPECT_EQ(test, mode->vtotal, 525); in drm_test_modes_analog_tv_ntsc_480i()
72 struct drm_display_mode *expected, *mode; in drm_test_modes_analog_tv_ntsc_480i_inlined() local
80 mode = drm_mode_analog_ntsc_480i(priv->drm); in drm_test_modes_analog_tv_ntsc_480i_inlined()
81 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_modes_analog_tv_ntsc_480i_inlined()
83 KUNIT_EXPECT_TRUE(test, drm_mode_equal(expected, mode)); in drm_test_modes_analog_tv_ntsc_480i_inlined()
89 struct drm_display_mode *mode; in drm_test_modes_analog_tv_pal_576i() local
91 mode = drm_analog_tv_mode(priv->drm, in drm_test_modes_analog_tv_pal_576i()
95 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_modes_analog_tv_pal_576i()
97 KUNIT_EXPECT_EQ(test, drm_mode_vrefresh(mode), 50); in drm_test_modes_analog_tv_pal_576i()
98 KUNIT_EXPECT_EQ(test, mode->hdisplay, 720); in drm_test_modes_analog_tv_pal_576i()
101 KUNIT_EXPECT_EQ(test, mode->hsync_start, 732); in drm_test_modes_analog_tv_pal_576i()
110 KUNIT_EXPECT_EQ(test, mode->htotal, 864); in drm_test_modes_analog_tv_pal_576i()
112 KUNIT_EXPECT_EQ(test, mode->vdisplay, 576); in drm_test_modes_analog_tv_pal_576i()
113 KUNIT_EXPECT_EQ(test, mode->vtotal, 625); in drm_test_modes_analog_tv_pal_576i()
119 struct drm_display_mode *expected, *mode; in drm_test_modes_analog_tv_pal_576i_inlined() local
127 mode = drm_mode_analog_pal_576i(priv->drm); in drm_test_modes_analog_tv_pal_576i_inlined()
128 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_modes_analog_tv_pal_576i_inlined()
130 KUNIT_EXPECT_TRUE(test, drm_mode_equal(expected, mode)); in drm_test_modes_analog_tv_pal_576i_inlined()
136 struct drm_display_mode *mode; in drm_test_modes_analog_tv_mono_576i() local
138 mode = drm_analog_tv_mode(priv->drm, in drm_test_modes_analog_tv_mono_576i()
142 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_modes_analog_tv_mono_576i()
144 KUNIT_EXPECT_EQ(test, drm_mode_vrefresh(mode), 50); in drm_test_modes_analog_tv_mono_576i()
145 KUNIT_EXPECT_EQ(test, mode->hdisplay, 720); in drm_test_modes_analog_tv_mono_576i()
148 KUNIT_EXPECT_EQ(test, mode->hsync_start, 732); in drm_test_modes_analog_tv_mono_576i()
157 KUNIT_EXPECT_EQ(test, mode->htotal, 864); in drm_test_modes_analog_tv_mono_576i()
159 KUNIT_EXPECT_EQ(test, mode->vdisplay, 576); in drm_test_modes_analog_tv_mono_576i()
160 KUNIT_EXPECT_EQ(test, mode->vtotal, 625); in drm_test_modes_analog_tv_mono_576i()