Searched refs:col (Results 1 - 25 of 101) sorted by relevance

12345

/u-boot/dts/upstream/include/dt-bindings/input/
H A Dinput.h15 #define MATRIX_KEY(row, col, code) \
16 ((((row) & 0xFF) << 24) | (((col) & 0xFF) << 16) | ((code) & 0xFFFF))
/u-boot/drivers/video/
H A Dvideo_osd-uclass.c20 int video_osd_set_mem(struct udevice *dev, uint col, uint row, u8 *buf, argument
25 return ops->set_mem(dev, col, row, buf, buflen, count);
28 int video_osd_set_size(struct udevice *dev, uint col, uint row) argument
32 return ops->set_size(dev, col, row);
35 int video_osd_print(struct udevice *dev, uint col, uint row, ulong color, argument
40 return ops->print(dev, col, row, color, text);
H A Dsandbox_osd.c42 int sandbox_osd_set_mem(struct udevice *dev, uint col, uint row, u8 *buf, argument
50 pos = 2 * (row * priv->width + col);
61 int _sandbox_osd_set_size(struct udevice *dev, uint col, uint row) argument
67 priv->width = col;
85 int sandbox_osd_set_size(struct udevice *dev, uint col, uint row) argument
87 return _sandbox_osd_set_size(dev, col, row);
90 int sandbox_osd_print(struct udevice *dev, uint col, uint row, ulong color, argument
98 if (col >= priv->width || row >= priv->height)
122 pos = row * priv->width + col;
H A Dconsole_core.c103 for (int col = 0; col < fontdata->byte_width; col++) {
105 bool is_last_col = (fontdata->byte_width - col == 1);
110 bits = pfont[col];
152 for (int col = 0; col < fontdata->byte_width; col++) {
155 bool is_last_col = (fontdata->byte_width - col == 1);
163 u32 value = (pfont[row * fontdata->byte_width + col]
[all...]
H A Dvidconsole-uclass.c137 * @col: new column
139 static void set_cursor_position(struct udevice *dev, int row, int col) argument
148 if (col >= priv->cols)
149 col = priv->cols - 1;
151 vidconsole_position_cursor(dev, col, row);
159 * @col: column
162 int *row, int *col)
165 *col = VID_TO_PIXEL(priv->xcur_frac - priv->xstart_frac) /
196 int col = priv->col_saved; local
198 set_cursor_position(dev, row, col);
161 get_cursor_position(struct vidconsole_priv *priv, int *row, int *col) argument
232 int row, col, num; local
265 int row, col; local
332 int row, col; local
791 vidconsole_position_cursor(struct udevice *dev, unsigned col, unsigned row) argument
[all...]
H A Dihs_video_out.c132 int ihs_video_out_set_mem(struct udevice *dev, uint col, uint row, u8 *buf, argument
143 offset = row * priv->base_width + col + rep * (buflen / 2);
182 int ihs_video_out_set_size(struct udevice *dev, uint col, uint row) argument
186 if (!col || col > MAX_VIDEOMEM_WIDTH || col > MAX_X_CHARS ||
192 ihs_video_out_set(priv->map, xy_size, ((col - 1) << 8) | (row - 1));
195 div2_u16(priv->res_x - CHAR_WIDTH * col));
202 int ihs_video_out_print(struct udevice *dev, uint col, uint row, ulong color, argument
216 res = ihs_video_out_set_mem(dev, col, ro
[all...]
/u-boot/include/
H A Dvideo_osd.h75 * @col: Horizontal character coordinate to write to.
83 int (*set_mem)(struct udevice *dev, uint col, uint row, u8 *buf,
91 * @col The number of characters in the window's columns
95 int (*set_size)(struct udevice *dev, uint col, uint row);
102 * @col The x-coordinate of the position the string should be
113 int (*print)(struct udevice *dev, uint col, uint row, ulong color,
152 * @col: Horizontal character coordinate to write to.
160 int video_osd_set_mem(struct udevice *dev, uint col, uint row, u8 *buf,
168 * @col The number of characters in the window's columns
172 int video_osd_set_size(struct udevice *dev, uint col, uin
[all...]
H A Dkey_matrix.h32 uint8_t col; /* column number (0 = first) */ member in struct:key_matrix_key
49 * @param keys List of keys to process (each is row, col)
/u-boot/tools/buildman/
H A Dcontrol.py94 col = terminal.Color()
107 print(' ', col.build(col.YELLOW, commit.hash[:8], bright=False), end=' ')
119 print(col.build(col.YELLOW, warning))
196 def count_commits(branch, count, col, git_dir):
202 col (Terminal.Color): Color object to use
221 sys.exit(col.build(col.RED, msg))
223 sys.exit(col
[all...]
/u-boot/cmd/
H A Dvideo.c18 unsigned int col, row; local
26 col = dectoul(argv[1], NULL);
28 vidconsole_position_cursor(dev, col, row);
54 " <col> <row> in character"
/u-boot/tools/patman/
H A Dcontrol.py25 def prepare_patches(col, branch, count, start, end, ignore_binary, signoff,
33 col (terminal.Color): Colour output object
57 sys.exit(col.build(col.RED, str))
101 def email_patches(col, series, cover_fname, patch_files, process_tags, its_a_go,
115 col (terminal.Color): Colour output object
154 print(col.build(col.RED, "Not sending emails due to errors/warnings"))
160 print(col.build(col
[all...]
H A Dcheckpatch.py225 def get_warning_msg(col, msg_type, fname, line, msg):
235 msg_type = col.build(col.YELLOW, msg_type)
237 msg_type = col.build(col.RED, msg_type)
239 msg_type = col.build(col.MAGENTA, msg_type)
246 col = terminal.Color()
261 result.warnings, result.checks, col.build(col
[all...]
H A Dseries.py114 col = terminal.Color()
124 print(col.build(col.GREEN, ' %s' % args[upto]))
128 email = col.build(col.YELLOW, '<alias not found>')
223 col = terminal.Color()
232 print(col.build(col.RED, str))
235 print(col.build(col
[all...]
H A Dfunc_test.py498 col = terminal.Color()
501 col, branch=None, count=-1, start=0, end=0,
510 col, branch='second', count=-1, start=0, end=0,
518 col, branch='second', count=-1, start=0, end=1,
975 col = terminal.Color()
976 self.assertEqual(terminal.PrintLine(' 1 Subject 1', col.BLUE),
979 terminal.PrintLine(' Reviewed-by: ', col.GREEN, newline=False,
982 self.assertEqual(terminal.PrintLine(self.joe, col.WHITE, bright=False),
985 self.assertEqual(terminal.PrintLine(' 2 Subject 2', col.BLUE),
988 terminal.PrintLine(' Reviewed-by: ', col
[all...]
/u-boot/board/rockchip/evb_rk3036/
H A Devb_rk3036.c22 config->col = 10;
/u-boot/drivers/ram/rockchip/
H A Dsdram_common.c55 printdec(cap_info->col);
155 cap[0] = 1llu << (cap_info->bw + cap_info->col +
159 cap[1] = 1llu << (cap_info->bw + cap_info->col +
194 *p_os_reg2 |= SYS_REG_ENC_COL(cap_info->col, channel);
203 *p_os_reg3 |= SYS_REG_ENC_CS1_COL(cap_info->col, channel);
221 u32 col; local
224 for (col = coltmp; col >= 9; col -= 1) {
227 (1ul << (col
291 u32 row, col, bk, bw, cs_cap, cs; local
[all...]
/u-boot/drivers/input/
H A Dkey_matrix.c42 if (keys[j].col == keys[i].col)
67 debug(" valid=%d, row=%d, col=%d\n", key->valid, key->row,
68 key->col);
71 pos = key->row * config->num_cols + key->col;
75 /* Convert the (row, col) values into a keycode */
95 * word per entry, with the row, col and keycode encoded in that word.
97 * We create a (row x col) size byte array with each entry containing the
98 * keycode for that (row, col). We also search for map_keycode and return
124 int key_code, row, col; local
[all...]
/u-boot/common/
H A Dcli_readline.c408 int num2, col; local
417 col = strlen(cls->prompt) + cls->eol_num;
419 if (cmd_auto_complete(cls->prompt, buf, &num2, &col)) {
420 col = num2 - cls->num;
421 cls->num += col;
422 cls->eol_num += col;
551 int col; /* output column cnt */ local
559 col = plen;
586 while (col > plen) {
588 --col;
[all...]
H A Dsplash.c135 int col, row, ret; local
142 col = BMP_LOGO_WIDTH / fontdata->width + 1;
145 col = 0;
150 vidconsole_position_cursor(dev, col, 1);
/u-boot/board/rockchip/kylin_rk3036/
H A Dkylin_rk3036.c25 config->col = 10;
/u-boot/drivers/mtd/nand/raw/
H A Dmxc_nand.c734 uint16_t col; local
749 col = host->col_addr >> 1;
753 nfc_word.word = readw(&spare_buf[col]);
755 nfc_word.word = readw(&main_buf[col]);
773 uint16_t col, ret; local
776 pr_debug("mxc_nand_read_word(col = %d)\n", host->col_addr);
778 col = host->col_addr;
780 if (col < mtd->writesize && host->spare_only)
781 col += mtd->writesize;
783 if (col < mt
824 int n, col, i = 0; local
895 int n, col, i = 0; local
[all...]
/u-boot/scripts/kconfig/
H A Dgconf.c574 GtkTreeViewColumn *col; local
577 col = gtk_tree_view_get_column(GTK_TREE_VIEW(tree2_w), COL_NAME);
578 if (col)
579 gtk_tree_view_column_set_visible(col, show_name);
585 GtkTreeViewColumn *col; local
588 col = gtk_tree_view_get_column(GTK_TREE_VIEW(tree2_w), COL_NO);
589 if (col)
590 gtk_tree_view_column_set_visible(col, show_range);
591 col = gtk_tree_view_get_column(GTK_TREE_VIEW(tree2_w), COL_MOD);
592 if (col)
603 GtkTreeViewColumn *col; local
806 change_sym_value(struct menu *menu, gint col) argument
867 GtkTreeViewColumn *col; local
888 gint col; local
945 gint col; local
[all...]
/u-boot/tools/binman/
H A Dbintool.py180 def fetch_tool(self, method, col, skip_present):
185 col (terminal.Color): Color terminal object
197 print(col.build(col.RED, f'- {message}'))
205 print(col.build(col.YELLOW, 'Fetch: %s' % self.name))
240 print(col.build(
244 col = terminal.Color()
251 print(col.build(col
[all...]
H A Dbintool_test.py73 col = terminal.Color()
75 btest.fetch_tool(bintool.FETCH_ANY, col, True))
90 col = terminal.Color()
94 btest.fetch_tool(method, col, False)
166 def fake_fetch(method, col, skip_present):
197 def fake_fetch2(method, col, skip_present):
253 col = terminal.Color()
259 btest.fetch_tool(bintool.FETCH_BUILD, col, False)
279 col = terminal.Color()
282 result = btest.fetch_tool(bintool.FETCH_BIN, col, Fals
[all...]
/u-boot/tools/
H A Dqconfig.py245 def __init__(self, col, total):
252 self.col = col
269 line = self.col.build(self.col.GREEN, f'{self.good:5d}')
270 line += self.col.build(self.col.RED,
272 line += self.col.build(self.col.MAGENTA,
377 reference_src_dir, db_queue, col)
1532 col = terminal.Color(terminal.COLOR_NEVER if args.nocolour variable
[all...]

Completed in 239 milliseconds

12345