/u-boot/drivers/ram/rockchip/ |
A D | sdram_common.c | 55 printdec(cap_info->col); in sdram_print_ddr_info() 219 u32 col; in sdram_detect_col() local 222 for (col = coltmp; col >= 9; col -= 1) { in sdram_detect_col() 225 (1ul << (col + bw - 1ul))); in sdram_detect_col() 231 if (col == 8) { in sdram_detect_col() 236 cap_info->col = col; in sdram_detect_col() 289 u32 row, col, bk, bw, cs_cap, cs; in sdram_detect_dbw() local 296 col = cap_info->col; in sdram_detect_dbw() 303 die_bw_0 = (col < 9) ? 2 : 1; in sdram_detect_dbw() 305 die_bw_0 = (col < 10) ? 2 : 1; in sdram_detect_dbw() [all …]
|
/u-boot/tools/buildman/ |
A D | control.py | 86 print(col.Color(col.YELLOW, warning)) 151 print(col.Color(col.BLUE, 'Available architectures: %s\n' % 158 print(col.Color(col.CYAN, '\nDownloading toolchains: %s' % 176 print(col.Color(col.RED, 217 sys.exit(col.Color(col.RED, 'No matching boards found')) 222 sys.exit(col.Color(col.RED, err)) 241 sys.exit(col.Color(col.RED, msg)) 246 print(col.Color(col.YELLOW, msg)) 252 sys.exit(col.Color(col.RED, str)) 255 sys.exit(col.Color(col.RED, [all …]
|
A D | test.py | 179 col = self._col 180 expected_colour = (col.GREEN if outcome == OUTCOME_OK else 181 col.YELLOW if outcome == OUTCOME_WARN else col.RED) 184 expect += ' ' + col.Color(expected_colour, plus) 187 expect += col.Color(expected_colour, ' %s' % board) 265 col = terminal.Color() 300 add_line_prefix('w+', boards1234, errors[0], col.YELLOW)) 319 expect += ' ' + col.Color(col.GREEN, '') 321 expect += col.Color(col.GREEN, ' %s' % 'board2') 322 expect += ' ' + col.Color(col.YELLOW, 'w+') [all …]
|
A D | builder.py | 461 line = '\r' + self.col.Color(self.col.GREEN, '%5d' % ok) 462 line += self.col.Color(self.col.YELLOW, '%5d' % self.warned) 463 line += self.col.Color(self.col.RED, '%5d' % self.fail) 468 line += self.col.Color(self.col.MAGENTA, ' -%-5d ' % remaining) 887 color = self.col.RED if num > 0 else self.col.GREEN 958 color = self.col.RED if diff > 0 else self.col.GREEN 983 color = self.col.RED if diff > 0 else self.col.GREEN 1242 col = self.col.GREEN 1244 col = self.col.RED 1246 col = self.col.YELLOW [all …]
|
A D | toolchain.py | 375 col = terminal.Color() 376 print(col.Color(col.BLUE, 'List of available toolchains (%d):' % 597 col = terminal.Color() 598 print(col.Color(col.BLUE, "Downloading toolchain for arch '%s'" % arch)) 613 print(col.Color(col.GREEN, 'Unpacking to: %s' % dest), end=' ') 621 print(col.Color(col.GREEN, 'Testing')) 628 print(col.Color(col.RED, 'Warning, ambiguous toolchains: %s' %
|
/u-boot/drivers/video/ |
A D | video_osd-uclass.c | 18 int video_osd_set_mem(struct udevice *dev, uint col, uint row, u8 *buf, in video_osd_set_mem() argument 23 return ops->set_mem(dev, col, row, buf, buflen, count); in video_osd_set_mem() 26 int video_osd_set_size(struct udevice *dev, uint col, uint row) in video_osd_set_size() argument 30 return ops->set_size(dev, col, row); in video_osd_set_size() 33 int video_osd_print(struct udevice *dev, uint col, uint row, ulong color, in video_osd_print() argument 38 return ops->print(dev, col, row, color, text); in video_osd_print()
|
A D | vidconsole-uclass.c | 196 if (col >= priv->cols) in set_cursor_position() 282 int row, col, num; in vidconsole_escape_char() local 298 col += num; in vidconsole_escape_char() 300 col -= num; in vidconsole_escape_char() 304 col = 0; in vidconsole_escape_char() 305 if (col < 0) in vidconsole_escape_char() 306 col = 0; in vidconsole_escape_char() 315 int row, col; in vidconsole_escape_char() local 331 if (col) in vidconsole_escape_char() 332 --col; in vidconsole_escape_char() [all …]
|
A D | sandbox_osd.c | 42 int sandbox_osd_set_mem(struct udevice *dev, uint col, uint row, u8 *buf, in sandbox_osd_set_mem() argument 50 pos = 2 * (row * priv->width + col); in sandbox_osd_set_mem() 61 int _sandbox_osd_set_size(struct udevice *dev, uint col, uint row) in _sandbox_osd_set_size() argument 67 priv->width = col; in _sandbox_osd_set_size() 85 int sandbox_osd_set_size(struct udevice *dev, uint col, uint row) in sandbox_osd_set_size() argument 87 return _sandbox_osd_set_size(dev, col, row); in sandbox_osd_set_size() 90 int sandbox_osd_print(struct udevice *dev, uint col, uint row, ulong color, in sandbox_osd_print() argument 98 if (col >= priv->width || row >= priv->height) in sandbox_osd_print() 122 pos = row * priv->width + col; in sandbox_osd_print()
|
A D | ihs_video_out.c | 132 int ihs_video_out_set_mem(struct udevice *dev, uint col, uint row, u8 *buf, in ihs_video_out_set_mem() argument 143 offset = row * priv->base_width + col + rep * (buflen / 2); in ihs_video_out_set_mem() 182 int ihs_video_out_set_size(struct udevice *dev, uint col, uint row) in ihs_video_out_set_size() argument 186 if (!col || col > MAX_VIDEOMEM_WIDTH || col > MAX_X_CHARS || in ihs_video_out_set_size() 192 ihs_video_out_set(priv->map, xy_size, ((col - 1) << 8) | (row - 1)); in ihs_video_out_set_size() 195 div2_u16(priv->res_x - CHAR_WIDTH * col)); in ihs_video_out_set_size() 202 int ihs_video_out_print(struct udevice *dev, uint col, uint row, ulong color, in ihs_video_out_print() argument 216 res = ihs_video_out_set_mem(dev, col, row, buffer, 2 * len, 1); in ihs_video_out_print()
|
/u-boot/include/ |
A D | video_osd.h | 83 int (*set_mem)(struct udevice *dev, uint col, uint row, u8 *buf, 95 int (*set_size)(struct udevice *dev, uint col, uint row); 113 int (*print)(struct udevice *dev, uint col, uint row, ulong color, 160 int video_osd_set_mem(struct udevice *dev, uint col, uint row, u8 *buf, 172 int video_osd_set_size(struct udevice *dev, uint col, uint row); 189 int video_osd_print(struct udevice *dev, uint col, uint row, ulong color,
|
A D | lcd_console.h | 47 void lcd_set_col(short col); 66 void lcd_position_cursor(unsigned col, unsigned row);
|
/u-boot/tools/patman/ |
A D | checkpatch.py | 171 def GetWarningMsg(col, msg_type, fname, line, msg): argument 181 msg_type = col.Color(col.YELLOW, msg_type) 183 msg_type = col.Color(col.RED, msg_type) 185 msg_type = col.Color(col.MAGENTA, msg_type) 192 col = terminal.Color() 201 result.warnings, result.checks, col.Color(col.BLUE, fname))) 207 GetWarningMsg(col, item.get('type', '<unknown>'), 214 color = col.GREEN 216 color = col.YELLOW 218 color = col.RED [all …]
|
A D | control.py | 23 def prepare_patches(col, branch, count, start, end, ignore_binary, signoff): argument 53 sys.exit(col.Color(col.RED, str)) 95 def email_patches(col, series, cover_fname, patch_files, process_tags, its_a_go, argument 146 print(col.Color(col.RED, "Not sending emails due to errors/warnings")) 152 print(col.Color(col.RED, "Email would not be sent")) 163 col = terminal.Color() 165 col, args.branch, args.count, args.start, args.end, 174 col, series, cover_fname, patch_files, args.process_tags,
|
A D | series.py | 111 col = terminal.Color() 121 print(col.Color(col.GREEN, ' %s' % args[upto])) 125 email = col.Color(col.YELLOW, "<alias '%s' not found>" 220 col = terminal.Color() 229 print(col.Color(col.RED, str)) 232 print(col.Color(col.RED, str)) 235 print(col.Color(col.RED, str)) 255 col = terminal.Color() 273 print(col.Color(col.YELLOW, 'Skipping "%s"' % x))
|
A D | func_test.py | 474 col = terminal.Color() 477 col, branch=None, count=-1, start=0, end=0, 486 col, branch='second', count=-1, start=0, end=0, 494 col, branch='second', count=-1, start=0, end=1, 913 col = terminal.Color() 1232 col = terminal.Color() 1269 self.assertEqual(terminal.PrintLine(self.leb, col.WHITE), 1283 ' > +', col.MAGENTA), next(lines)) 1286 col.MAGENTA), 1290 col.MAGENTA), next(lines)) [all …]
|
/u-boot/common/ |
A D | cli_readline.c | 477 int num2, col; in cread_line() local 489 col = num2 - num; in cread_line() 490 num += col; in cread_line() 491 eol_num += col; in cread_line() 570 col = plen; in cli_readline_into_buffer() 597 while (col > plen) { in cli_readline_into_buffer() 599 --col; in cli_readline_into_buffer() 630 &n, &col)) { in cli_readline_into_buffer() 635 puts(tab_seq + (col & 07)); in cli_readline_into_buffer() 636 col += 8 - (col & 07); in cli_readline_into_buffer() [all …]
|
A D | splash.c | 128 int col, row, ret; in splash_display_banner() local 135 col = BMP_LOGO_WIDTH / VIDEO_FONT_WIDTH + 1; in splash_display_banner() 138 col = 0; in splash_display_banner() 143 vidconsole_position_cursor(dev, col, 1); in splash_display_banner()
|
A D | lcd_console.c | 21 void lcd_set_col(short col) in lcd_set_col() argument 23 cons.curr_col = col; in lcd_set_col() 31 void lcd_position_cursor(unsigned col, unsigned row) in lcd_position_cursor() argument 33 cons.curr_col = min_t(short, col, cons.cols - 1); in lcd_position_cursor() 227 unsigned int col, row; in do_lcd_setcursor() local 232 col = simple_strtoul(argv[1], NULL, 10); in do_lcd_setcursor() 234 lcd_position_cursor(col, row); in do_lcd_setcursor()
|
A D | lcd_console_rotation.c | 15 int col, i; in lcd_putc_xy90() local 23 for (col = 0; col < VIDEO_FONT_WIDTH; ++col) { in lcd_putc_xy90() 117 int i, col; in lcd_putc_xy270() local 125 for (col = 0; col < VIDEO_FONT_WIDTH; ++col) { in lcd_putc_xy270()
|
/u-boot/drivers/input/ |
A D | key_matrix.c | 42 if (keys[j].col == keys[i].col) in has_ghosting() 68 key->col); in key_matrix_decode() 71 pos = key->row * config->num_cols + key->col; in key_matrix_decode() 124 int key_code, row, col; in create_keymap() local 128 col = (tmp >> 16) & 0xff; in create_keymap() 130 entry = row * config->num_cols + col; in create_keymap() 132 debug(" map %d, %d: pos=%d, keycode=%d\n", row, col, in create_keymap()
|
A D | cros_ec_keyb.c | 53 unsigned int row, col, bit, data; in check_for_keys() local 89 for (col = num_keys = bit = 0; col < priv->matrix.num_cols; in check_for_keys() 90 col++) { in check_for_keys() 98 key->col = col; in check_for_keys()
|
/u-boot/drivers/mtd/nand/raw/ |
A D | mxc_nand.c | 733 uint16_t col; local 772 uint16_t col, ret; local 777 col = host->col_addr; 784 (col >> 1)); 790 if (col & 1) { 823 int n, col, i = 0; local 861 col++; 876 col += m; 894 int n, col, i = 0; local 927 col++; [all …]
|
/u-boot/include/dt-bindings/input/ |
A D | input.h | 14 #define MATRIX_KEY(row, col, code) \ argument 15 ((((row) & 0xFF) << 24) | (((col) & 0xFF) << 16) | ((code) & 0xFFFF))
|
/u-boot/scripts/kconfig/ |
A D | gconf.c | 578 if (col) in on_show_name1_activate() 589 if (col) in on_show_range1_activate() 592 if (col) in on_show_range1_activate() 595 if (col) in on_show_range1_activate() 607 if (col) in on_show_data1_activate() 888 gint col; in on_treeview2_button_press_event() local 925 } else if (col == COL_NO || col == COL_MOD in on_treeview2_button_press_event() 945 gint col; in on_treeview2_key_press_event() local 967 col = COL_NO; in on_treeview2_key_press_event() 969 col = COL_MOD; in on_treeview2_key_press_event() [all …]
|
/u-boot/arch/arm/cpu/arm1136/mx35/ |
A D | mx35_sdram.c | 40 u32 row, u32 col, u32 dsize, u32 refresh) in mx3_setup_sdram_bank() argument 61 if (row < 11 || row > 14 || col < 8 || col > 10) in mx3_setup_sdram_bank() 63 ctlval = (row - 11) << 24 | (col - 8) << 20 | (dsize << 16); in mx3_setup_sdram_bank()
|