Home
last modified time | relevance | path

Searched refs:row (Results 1 – 25 of 73) sorted by relevance

123

/rk3399_rockchip-uboot/common/
H A Dlcd_console.c24 void lcd_set_row(short row) in lcd_set_row() argument
26 cons.curr_row = row; in lcd_set_row()
29 void lcd_position_cursor(unsigned col, unsigned row) in lcd_position_cursor() argument
32 cons.curr_row = min_t(short, row, cons.rows - 1); in lcd_position_cursor()
49 int i, row; in lcd_putc_xy0() local
54 for (row = 0; row < VIDEO_FONT_HEIGHT; row++) { in lcd_putc_xy0()
55 uchar bits = video_fontdata[c * VIDEO_FONT_HEIGHT + row]; in lcd_putc_xy0()
64 static inline void console_setrow0(struct console_t *pcons, u32 row, int clr) in console_setrow0() argument
68 row * VIDEO_FONT_HEIGHT * in console_setrow0()
225 unsigned int col, row; in do_lcd_setcursor() local
[all …]
H A Dlcd_console_rotation.c32 static inline void console_setrow90(struct console_t *pcons, u32 row, int clr) in console_setrow90() argument
37 row*VIDEO_FONT_HEIGHT+1; in console_setrow90()
69 int i, row; in lcd_putc_xy180() local
76 for (row = 0; row < VIDEO_FONT_HEIGHT; row++) { in lcd_putc_xy180()
77 uchar bits = video_fontdata[c * VIDEO_FONT_HEIGHT + row]; in lcd_putc_xy180()
87 static inline void console_setrow180(struct console_t *pcons, u32 row, int clr) in console_setrow180() argument
91 (pcons->rows-row-1) * VIDEO_FONT_HEIGHT * in console_setrow180()
134 static inline void console_setrow270(struct console_t *pcons, u32 row, int clr) in console_setrow270() argument
138 row*VIDEO_FONT_HEIGHT; in console_setrow270()
/rk3399_rockchip-uboot/scripts/kconfig/
H A Dgconf.c76 static void set_node(GtkTreeIter * node, struct menu *menu, gchar ** row);
1039 static gchar *row[COL_NUMBER]; in fill_row() local
1048 g_free(row[i]); in fill_row()
1049 bzero(row, sizeof(row)); in fill_row()
1051 row[COL_OPTION] = in fill_row()
1056 row[COL_COLOR] = g_strdup("DarkGray"); in fill_row()
1059 row[COL_COLOR] = g_strdup("DarkGray"); in fill_row()
1061 row[COL_COLOR] = g_strdup("Black"); in fill_row()
1066 row[COL_PIXBUF] = (gchar *) xpm_menu; in fill_row()
1068 row[COL_PIXVIS] = GINT_TO_POINTER(TRUE); in fill_row()
[all …]
/rk3399_rockchip-uboot/drivers/input/
H A Dkey_matrix.c44 if (keys[j].row == keys[i].row) in has_ghosting()
67 debug(" valid=%d, row=%d, col=%d\n", key->valid, key->row, 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
127 row = (tmp >> 24) & 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()
H A Dcros_ec_keyb.c53 unsigned int row, col, bit, data; in check_for_keys() local
73 for (row = 0; row < priv->matrix.num_rows; row++) { in check_for_keys()
79 key->row = row; in check_for_keys()
/rk3399_rockchip-uboot/drivers/ram/rockchip/
H A Dsdram_common.c347 u32 row, col, bk, bw, cs_cap, cs; in sdram_detect_dbw() local
358 row = cap_info->cs0_row; in sdram_detect_dbw()
363 cs_cap = (1 << (row + col + bk + bw - 20)); in sdram_detect_dbw()
374 row = cap_info->cs1_row; in sdram_detect_dbw()
375 cs_cap = (1 << (row + col + bk + bw - 20)); in sdram_detect_dbw()
398 u32 row; in sdram_detect_row() local
402 for (row = rowtmp; row > 12; row--) { in sdram_detect_row()
405 (1ul << (row + bktmp + coltmp + bw - 1ul))); in sdram_detect_row()
411 if (row == 12) { in sdram_detect_row()
416 cap_info->cs0_row = row; in sdram_detect_row()
[all …]
H A Dsdram_rk3188.c631 int row, col; in sdram_col_row_detect() local
661 for (row = 16; row >= 13; row--) { in sdram_col_row_detect()
663 addr = CONFIG_SYS_SDRAM_BASE + (1 << (row + 15 - 1)); in sdram_col_row_detect()
669 if (row == 12) { in sdram_col_row_detect()
673 sdram_params->ch[channel].cs1_row = row; in sdram_col_row_detect()
675 debug("chn %d col %d, row %d\n", channel, col, row); in sdram_col_row_detect()
676 sdram_params->ch[channel].cs0_row = row; in sdram_col_row_detect()
685 int i, tmp, size, row, ret = 0; in sdram_get_biu_config() local
687 row = sdram_params->ch[0].cs0_row; in sdram_get_biu_config()
692 if (row == 16) in sdram_get_biu_config()
[all …]
H A Dsdram_rv1108_pctl_phy.c452 u32 row, col, row_max, col_max, bank_max; in sdram_detect() local
458 row = 0; in sdram_detect()
500 row_max = ddr_sch.row; in sdram_detect()
502 for (row = row_max; row >= 12; row--) { in sdram_detect()
505 (1ul << (row + bank_max + in sdram_detect()
513 if (row <= 11) in sdram_detect()
515 params_priv->ddr_config_t.cs0_row = row; in sdram_detect()
/rk3399_rockchip-uboot/drivers/video/
H A Dconsole_normal.c17 static int console_normal_set_row(struct udevice *dev, uint row, int clr) in console_normal_set_row() argument
24 line = vid_priv->fb + row * VIDEO_FONT_HEIGHT * vid_priv->line_length; in console_normal_set_row()
80 int i, row; in console_normal_putc_xy() local
87 for (row = 0; row < VIDEO_FONT_HEIGHT; row++) { in console_normal_putc_xy()
88 uchar bits = video_fontdata[ch * VIDEO_FONT_HEIGHT + row]; in console_normal_putc_xy()
H A Dvidconsole-uclass.c41 int vidconsole_set_row(struct udevice *dev, uint row, int clr) in vidconsole_set_row() argument
47 return ops->set_row(dev, row, clr); in vidconsole_set_row()
222 void vidconsole_position_cursor(struct udevice *dev, unsigned col, unsigned row) in vidconsole_position_cursor() argument
229 priv->ycur = min_t(short, row, vid_priv->ysize - 1); in vidconsole_position_cursor()
235 unsigned int col, row; in do_video_setcursor() local
244 row = simple_strtoul(argv[2], NULL, 10); in do_video_setcursor()
245 vidconsole_position_cursor(dev, col, row); in do_video_setcursor()
H A Dconsole_rotate.c15 static int console_set_row_1(struct udevice *dev, uint row, int clr) in console_set_row_1() argument
23 (row + 1) * VIDEO_FONT_HEIGHT * pbytes; in console_set_row_1()
147 static int console_set_row_2(struct udevice *dev, uint row, int clr) in console_set_row_2() argument
155 (row + 1) * VIDEO_FONT_HEIGHT * vid_priv->line_length; in console_set_row_2()
214 int i, row; in console_putc_xy_2() local
225 for (row = 0; row < VIDEO_FONT_HEIGHT; row++) { in console_putc_xy_2()
226 uchar bits = video_fontdata[ch * VIDEO_FONT_HEIGHT + row]; in console_putc_xy_2()
274 static int console_set_row_3(struct udevice *dev, uint row, int clr) in console_set_row_3() argument
281 line = vid_priv->fb + row * VIDEO_FONT_HEIGHT * pbytes; in console_set_row_3()
H A Dconsole_truetype.c125 static int console_truetype_set_row(struct udevice *dev, uint row, int clr) in console_truetype_set_row() argument
133 line = vid_priv->fb + row * priv->font_size * vid_priv->line_length; in console_truetype_set_row()
206 int row; in console_truetype_putc_xy() local
266 for (row = 0; row < height; row++) { in console_truetype_putc_xy()
323 int row, i; in console_truetype_erase() local
327 for (row = ystart; row < yend; row++) { in console_truetype_erase()
/rk3399_rockchip-uboot/include/
H A Dlcd_console.h17 void (*fp_console_setrow)(struct console_t *pcons, u32 row, int clr);
57 void lcd_set_row(short row);
67 void lcd_position_cursor(unsigned col, unsigned row);
H A Dvideo_console.h91 int (*set_row)(struct udevice *dev, uint row, int clr);
159 int vidconsole_set_row(struct udevice *dev, uint row, int clr);
186 unsigned row);
H A Dkey_matrix.h33 uint8_t row; /* row number (0 = first) */ member
/rk3399_rockchip-uboot/include/dt-bindings/input/
H A Dinput.h14 #define MATRIX_KEY(row, col, code) \ argument
15 ((((row) & 0xFF) << 24) | (((col) & 0xFF) << 16) | ((code) & 0xFFFF))
/rk3399_rockchip-uboot/arch/arm/cpu/arm1136/mx35/
H A Dmx35_sdram.c41 u32 row, u32 col, u32 dsize, u32 refresh) in mx3_setup_sdram_bank() argument
62 if (row < 11 || row > 14 || col < 8 || col > 10) in mx3_setup_sdram_bank()
64 ctlval = (row - 11) << 24 | (col - 8) << 20 | (dsize << 16); in mx3_setup_sdram_bank()
/rk3399_rockchip-uboot/tools/
H A Drkmux.py187 for row in reader:
189 if not row[0]:
190 field.desc.append(row[3])
196 field = RegField(row)
199 for row in rows:
201 printer.output_regfield(row)
/rk3399_rockchip-uboot/board/tqc/tqm834x/
H A Dtqm834x.c258 long row; in get_ddr_bank_size() member
281 set_cs_config(cs, CSCONFIG_EN | conf[i].col | conf[i].row); in get_ddr_bank_size()
290 conf[i].row, in get_ddr_bank_size()
305 conf[detected].row, conf[detected].col, conf[detected].size >> 20, base); in get_ddr_bank_size()
308 set_cs_config(cs, CSCONFIG_EN | conf[detected].row | in get_ddr_bank_size()
/rk3399_rockchip-uboot/lib/efi_loader/
H A Defi_gop.c132 u32 bpix, col, row; local
147 row = video_get_ysize(vdev);
156 row = panel_info.vl_row;
203 gopobj->info.height = row;
H A Defi_console.c299 unsigned long column, unsigned long row) in efi_cout_set_cursor_position() argument
301 EFI_ENTRY("%p, %ld, %ld", this, column, row); in efi_cout_set_cursor_position()
303 printf(ESC"[%d;%df", (int)row, (int)column); in efi_cout_set_cursor_position()
305 efi_con_mode.cursor_row = row; in efi_cout_set_cursor_position()
/rk3399_rockchip-uboot/drivers/ddr/altera/
H A Dsdram.c481 unsigned long row, bank, col, cs, width; in sdram_calculate_size() local
500 row = readl(&sysmgr_regs->iswgrp_handoff[4]); in sdram_calculate_size()
501 if (row == 0) in sdram_calculate_size()
502 row = rowbits; in sdram_calculate_size()
510 if (row > 31) in sdram_calculate_size()
511 row = rowbits; in sdram_calculate_size()
533 temp = 1 << (row + bank + col); in sdram_calculate_size()
/rk3399_rockchip-uboot/doc/device-tree-bindings/clock/
H A Drockchip,rk3368-dmc.txt47 DMC_MSCH_CBDR: column -> bank -> device -> row
48 DMC_MSCH_CBRD: column -> band -> row -> device
49 DMC_MSCH_CRBD: column -> row -> band -> device
/rk3399_rockchip-uboot/drivers/misc/
H A Dcros_ec_sandbox.c61 int row; /* key matrix row */ member
214 matrix->row = word >> 24; in keyscan_read_fdt_matrix()
219 if (matrix->row >= KEYBOARD_ROWS || in keyscan_read_fdt_matrix()
222 __func__, matrix->row, matrix->col); in keyscan_read_fdt_matrix()
265 debug("%d: %d,%d\n", matrix->keycode, matrix->row, in cros_ec_keyscan()
267 ec->keyscan[matrix->col] |= 1 << matrix->row; in cros_ec_keyscan()
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-mx35/
H A Dsys_proto.h13 void mx3_setup_sdram_bank(u32 start_address, u32 ddr2_config, u32 row,

123