Lines Matching refs:con

111 	struct udevice *dev, *con;  in dm_test_video_text()  local
121 ut_assertok(uclass_get_device(UCLASS_VIDEO_CONSOLE, 0, &con)); in dm_test_video_text()
122 vidconsole_putc_xy(con, 0, 0, 'a'); in dm_test_video_text()
125 vidconsole_putc_xy(con, 0, 0, ' '); in dm_test_video_text()
129 vidconsole_putc_xy(con, VID_TO_POS(i * 8), 0, ' ' + i); in dm_test_video_text()
132 vidconsole_set_row(con, 0, WHITE); in dm_test_video_text()
136 vidconsole_putc_xy(con, VID_TO_POS(i * 8), 0, ' ' + i); in dm_test_video_text()
146 struct udevice *dev, *con; in dm_test_video_chars() local
151 ut_assertok(uclass_get_device(UCLASS_VIDEO_CONSOLE, 0, &con)); in dm_test_video_chars()
152 vidconsole_put_string(con, test_string); in dm_test_video_chars()
164 struct udevice *dev, *con; in dm_test_video_ansi() local
168 ut_assertok(uclass_get_device(UCLASS_VIDEO_CONSOLE, 0, &con)); in dm_test_video_ansi()
171 video_clear(con->parent); in dm_test_video_ansi()
172 video_sync(con->parent, false); in dm_test_video_ansi()
176 vidconsole_put_string(con, "A\tB\tC"ANSI_ESC"[2J"); in dm_test_video_ansi()
180 vidconsole_put_string(con, "abc"ANSI_ESC"[2;2fab"ANSI_ESC"[4;4fcd"); in dm_test_video_ansi()
184 vidconsole_put_string(con, ANSI_ESC"[30;41mfoo"); /* black on red */ in dm_test_video_ansi()
185 vidconsole_put_string(con, ANSI_ESC"[33;44mbar"); /* yellow on blue */ in dm_test_video_ansi()
205 struct udevice *dev, *con; in check_vidconsole_output() local
215 ut_assertok(uclass_get_device(UCLASS_VIDEO_CONSOLE, 0, &con)); in check_vidconsole_output()
220 vidconsole_put_char(con, 'A' + i % 50); in check_vidconsole_output()
225 vidconsole_put_char(con, 'A' + i % 50); in check_vidconsole_output()
226 vidconsole_put_char(con, '\n'); in check_vidconsole_output()
232 vidconsole_put_char(con, '\n'); in check_vidconsole_output()
332 struct udevice *dev, *con; in dm_test_video_truetype() local
336 ut_assertok(uclass_get_device(UCLASS_VIDEO_CONSOLE, 0, &con)); in dm_test_video_truetype()
337 vidconsole_put_string(con, test_string); in dm_test_video_truetype()
348 struct udevice *dev, *con; in dm_test_video_truetype_scroll() local
357 ut_assertok(uclass_get_device(UCLASS_VIDEO_CONSOLE, 0, &con)); in dm_test_video_truetype_scroll()
358 vidconsole_put_string(con, test_string); in dm_test_video_truetype_scroll()
369 struct udevice *dev, *con; in dm_test_video_truetype_bs() local
378 ut_assertok(uclass_get_device(UCLASS_VIDEO_CONSOLE, 0, &con)); in dm_test_video_truetype_bs()
379 vidconsole_put_string(con, test_string); in dm_test_video_truetype_bs()