Searched refs:row (Results 1 - 25 of 48) sorted by relevance

12

/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/include/
H A Dvideo_osd.h76 * @row Vertical character coordinate to write to.
83 int (*set_mem)(struct udevice *dev, uint col, uint row, u8 *buf,
92 * @row The number of characters in the window's rows
95 int (*set_size)(struct udevice *dev, uint col, uint row);
104 * @row The y-coordinate of the position the string should be
113 int (*print)(struct udevice *dev, uint col, uint row, ulong color,
153 * @row Vertical character coordinate to write to.
160 int video_osd_set_mem(struct udevice *dev, uint col, uint row, u8 *buf,
169 * @row The number of characters in the window's rows
172 int video_osd_set_size(struct udevice *dev, uint col, uint row);
[all...]
H A Dkey_matrix.h23 const u8 *plain_keycode; /* key code for each row / column */
29 /* Information about a particular key (row, column pair) in the matrix */
31 uint8_t row; /* row number (0 = first) */ member in struct:key_matrix_key
49 * @param keys List of keys to process (each is row, col)
H A Dvideo_console.h118 * in pixels) or a text row number (measured in rows, where each row consists
140 * @rowdst: Destination text row (0=top)
141 * @rowsrc: Source start text row
149 * set_row() - Set the colour of a text row
151 * Every pixel contained within the text row is adjusted
154 * @row: Text row to adjust (0=top)
158 int (*set_row)(struct udevice *dev, uint row, int clr);
419 * @rowdst: Destination text row (
[all...]
/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
68 priv->height = row;
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 Dvidconsole-uclass.c43 int vidconsole_set_row(struct udevice *dev, uint row, int clr) argument
49 return ops->set_row(dev, row, clr);
136 * @row: new row
139 static void set_cursor_position(struct udevice *dev, int row, int col) argument
146 if (row >= priv->rows)
147 row = priv->rows - 1;
151 vidconsole_position_cursor(dev, col, row);
158 * @row: row
161 get_cursor_position(struct vidconsole_priv *priv, int *row, int *col) argument
195 int row = priv->row_saved; local
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 Dconsole_core.c98 for (int row = 0; row < fontdata->height; row++) {
162 for (int row = 0; row < fontdata->height; row++) {
163 u32 value = (pfont[row * fontdata->byte_width + col]
201 for (int row = 0; row < height; row
[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
187 !row || row > MAX_VIDEOMEM_HEIGHT || row > MAX_Y_CHARS) {
192 ihs_video_out_set(priv->map, xy_size, ((col - 1) << 8) | (row - 1));
197 div2_u16(priv->res_y - CHAR_HEIGHT * row));
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, row, buffe
[all...]
H A Dconsole_rotate.c17 static int console_set_row_1(struct udevice *dev, uint row, int clr) argument
28 (row + 1) * fontdata->height * pbytes;
105 static int console_set_row_2(struct udevice *dev, uint row, int clr) argument
116 (row + 1) * fontdata->height * vid_priv->line_length;
183 static int console_set_row_3(struct udevice *dev, uint row, int clr) argument
192 start = vid_priv->fb + row * fontdata->height * pbytes;
H A Dconsole_normal.c17 static int console_set_row(struct udevice *dev, uint row, int clr) argument
32 line = vid_priv->fb + row * fontdata->height * vid_priv->line_length;
/u-boot/doc/sphinx/
H A DrstFlatTable.py20 * *row-span*: with the role ``rspan`` a cell can be extended through
23 * *auto span* rightmost cell of a table row over the missing cells on the
24 right side of that table-row. With Option ``:fill-cells:`` this behavior
188 for row in self.rows[:header_rows]:
189 thead += self.buildTableRowNode(row)
194 for row in self.rows[header_rows:]:
195 tbody += self.buildTableRowNode(row)
200 row = nodes.row()
213 row
[all...]
/u-boot/cmd/
H A Dvideo.c18 unsigned int col, row; local
27 row = dectoul(argv[2], NULL);
28 vidconsole_position_cursor(dev, col, row);
54 " <col> <row> in character"
/u-boot/drivers/input/
H A Dkey_matrix.c20 * column, as well as two or more keys in the same row.
38 * Find 2 keys such that one key is in the same row
44 if (keys[j].row == keys[i].row)
67 debug(" valid=%d, row=%d, col=%d\n", key->valid, key->row,
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
124 int key_code, row, col; local
[all...]
H A Dcros_ec_keyb.c53 unsigned int row, col, bit, data; local
91 for (row = 0; row < priv->matrix.num_rows; row++) {
97 key->row = row;
186 * 8 columns by the protocol (one byte per row scan)
/u-boot/scripts/kconfig/
H A Dgconf.c76 static void set_node(GtkTreeIter * node, struct menu *menu, gchar ** row);
1036 /* Fill a row of strings */
1039 static gchar *row[COL_NUMBER]; local
1048 g_free(row[i]);
1049 bzero(row, sizeof(row));
1051 row[COL_OPTION] =
1056 row[COL_COLOR] = g_strdup("DarkGray");
1059 row[COL_COLOR] = g_strdup("DarkGray");
1061 row[COL_COLO
1162 set_node(GtkTreeIter * node, struct menu *menu, gchar ** row) argument
1198 place_node(struct menu *menu, char **row) argument
[all...]
/u-boot/drivers/ram/rockchip/
H A Dsdram_common.c291 u32 row, col, bk, bw, cs_cap, cs; local
297 row = cap_info->cs0_row;
302 cs_cap = (1 << (row + col + bk + bw - 20));
313 row = cap_info->cs1_row;
314 cs_cap = (1 << (row + col + bk + bw - 20));
337 u32 row; local
341 for (row = rowtmp; row > 12; row--) {
344 (1ul << (row
365 u32 row = cap_info->cs0_row; local
395 u32 row = 0, bktmp, coltmp, bw; local
[all...]
H A Dsdram_rk3188.c61 * [5:4] row(13+n)
63 * row col,bw
625 * @sdram_params: sdram parameters, function will fill in col and row values
632 int row, col; local
661 /* Detect row, max 15,min13 in rk3188*/
662 for (row = 16; row >= 13; row--) {
664 addr = CFG_SYS_SDRAM_BASE + (1 << (row + 15 - 1));
670 if (row
686 int i, tmp, size, row, ret = 0; local
[all...]
H A Dsdram_rk3328.c139 u32 cs, bw, die_bw, col, row, bank; local
148 row = cap_info->cs0_row;
154 if (cs == 2 && row == cs1_row) {
156 tmp = ((row - 13) << 3) | (1 << 2) | (bw & 0x2) |
169 tmp = ((cs - 1) << 6) | ((row - 13) << 3) | (bw & 0x2) | die_bw;
185 if (cs == 2 && row == cs1_row) {
196 tmp = ((row - 13) << 4) | (1 << 2) | ((bw + col - 11) << 0);
440 /* detect row */
498 /* redetect cs1 row */
/u-boot/arch/arm/mach-mvebu/armada3700/
H A Defuse.c81 static int rwtm_otp_read(u8 row, u32 word, u32 *data) argument
94 in[0] = row;
107 in[0] = row;
116 static int rwtm_otp_write(u8 row, u32 word, u32 data) argument
129 in[0] = row;
141 in[0] = row;
/u-boot/common/
H A Dsplash.c135 int col, row, ret; local
143 row = BMP_LOGO_HEIGHT / fontdata->height + 1;
146 row = 0;
152 vidconsole_position_cursor(dev, 0, row);
/u-boot/tools/
H A Drkmux.py187 for row in reader:
189 if not row[0]:
190 field.desc.append(row[3])
195 #print row
196 field = RegField(row)
199 for row in rows:
201 printer.output_regfield(row)
/u-boot/arch/arm/mach-sunxi/
H A Ddram_suniv.c51 u32 row_width; /* row address width */
97 u32 row = 0; local
100 row = readl(SUNXI_DRAMC_BASE + DRAM_SCONR);
101 row &= 0x1e0;
102 row >>= 0x5;
104 if (row == 0xc) {
114 } else if (row == 0xb) {
/u-boot/lib/efi_loader/
H A Defi_console.c224 * When we exceed the row count the terminal will scroll up one
476 unsigned int row, screen_rows, screen_columns; local
482 for (row = 1; row < screen_rows; row++)
585 * @row: row to move to
590 unsigned long column, unsigned long row)
596 EFI_ENTRY("%p, %ld, %ld", this, column, row);
603 if (row >
588 efi_cout_set_cursor_position( struct efi_simple_text_output_protocol *this, unsigned long column, unsigned long row) argument
1373 efi_console_get_u16_string(struct efi_simple_text_input_protocol *cin, u16 *buf, efi_uintn_t count, efi_console_filter_func filter_func, int row, int col) argument
[all...]
/u-boot/drivers/ddr/altera/
H A Dsdram_gen5.c304 debug("INFO: Changing address order to 0 (chip, row, bank, column)\n");
308 debug("INFO: Changing address order to 2 (row, chip, bank, column)\n");
505 unsigned long row, bank, col, cs, width; local
524 row = readl(socfpga_get_sysmgr_addr() +
526 if (row == 0)
527 row = rowbits;
535 if (row > 31)
536 row = rowbits;
558 temp = 1 << (row + bank + col);

Completed in 173 milliseconds

12