Lines Matching full:row
20 #define HELP_PRINT "<col: pos> <row: pos> \"<text>\""
55 static int cmd_cfb_print(const struct shell *sh, int col, int row, char *str) in cmd_cfb_print() argument
68 err = cfb_print(dev, str, col, row * ppt); in cmd_cfb_print()
88 int col, row; in cmd_print() local
96 row = strtol(argv[2], NULL, 10); in cmd_print()
97 if (row > cfb_get_display_parameter(dev, CFB_DISPLAY_ROWS)) { in cmd_print()
98 shell_error(sh, "Invalid row=%d position", row); in cmd_print()
102 err = cmd_cfb_print(sh, col, row, argv[3]); in cmd_print()
193 int col, row; in cmd_scroll_vert() local
202 row = strtol(argv[2], NULL, 10); in cmd_scroll_vert()
203 if (row > cfb_get_display_parameter(dev, CFB_DISPLAY_ROWS)) { in cmd_scroll_vert()
204 shell_error(sh, "Invalid row=%d position", row); in cmd_scroll_vert()
208 boundary = cfb_get_display_parameter(dev, CFB_DISPLAY_ROWS) - row; in cmd_scroll_vert()
211 err = cmd_cfb_print(sh, col, row, argv[3]); in cmd_scroll_vert()
218 row++; in cmd_scroll_vert()
229 int col, row; in cmd_scroll_horz() local
238 row = strtol(argv[2], NULL, 10); in cmd_scroll_horz()
239 if (row > cfb_get_display_parameter(dev, CFB_DISPLAY_ROWS)) { in cmd_scroll_horz()
240 shell_error(sh, "Invalid row=%d position", row); in cmd_scroll_horz()
248 err = cmd_cfb_print(sh, col, row, argv[3]); in cmd_scroll_horz()