| /u-boot/arch/arm/mach-sunxi/ |
| A D | dram_sun50i_h6.c | 203 u8 cols = para->cols; in mctl_set_addrmap() local 208 cols -= 1; in mctl_set_addrmap() 217 mctl_ctl->addrmap[1] = (cols - 2) | (cols - 2) << 8 | (cols - 2) << 16; in mctl_set_addrmap() 221 switch (cols) { in mctl_set_addrmap() 251 mctl_ctl->addrmap[5] = (cols - 3) | ((cols - 3) << 8) | ((cols - 3) << 16) | ((cols - 3) << 24); in mctl_set_addrmap() 262 mctl_ctl->addrmap[6] = (cols - 3) | ((cols - 3) << 8) | ((cols - 3) << 16) | 0x0F000000; in mctl_set_addrmap() 266 mctl_ctl->addrmap[6] = (cols - 3) | ((cols - 3) << 8) | ((cols - 3) << 16) | ((cols - 3) << 24); in mctl_set_addrmap() 270 mctl_ctl->addrmap[6] = (cols - 3) | ((cols - 3) << 8) | ((cols - 3) << 16) | ((cols - 3) << 24); in mctl_set_addrmap() 274 mctl_ctl->addrmap[6] = (cols - 3) | ((cols - 3) << 8) | ((cols - 3) << 16) | ((cols - 3) << 24); in mctl_set_addrmap() 275 mctl_ctl->addrmap[7] = (cols - 3) | ((cols - 3) << 8); in mctl_set_addrmap() [all …]
|
| A D | dram_sun50i_h616.c | 147 u8 cols = para->cols; in mctl_set_addrmap() local 152 cols -= 1; in mctl_set_addrmap() 161 mctl_ctl->addrmap[1] = (cols - 2) | (cols - 2) << 8 | (cols - 2) << 16; in mctl_set_addrmap() 165 switch (cols) { in mctl_set_addrmap() 195 mctl_ctl->addrmap[5] = (cols - 3) | ((cols - 3) << 8) | ((cols - 3) << 16) | ((cols - 3) << 24); in mctl_set_addrmap() 206 mctl_ctl->addrmap[6] = (cols - 3) | ((cols - 3) << 8) | ((cols - 3) << 16) | 0x0F000000; in mctl_set_addrmap() 210 mctl_ctl->addrmap[6] = (cols - 3) | ((cols - 3) << 8) | ((cols - 3) << 16) | ((cols - 3) << 24); in mctl_set_addrmap() 214 mctl_ctl->addrmap[6] = (cols - 3) | ((cols - 3) << 8) | ((cols - 3) << 16) | ((cols - 3) << 24); in mctl_set_addrmap() 218 mctl_ctl->addrmap[6] = (cols - 3) | ((cols - 3) << 8) | ((cols - 3) << 16) | ((cols - 3) << 24); in mctl_set_addrmap() 219 mctl_ctl->addrmap[7] = (cols - 3) | ((cols - 3) << 8); in mctl_set_addrmap() [all …]
|
| /u-boot/tools/ |
| A D | rkmux.py | 26 def __init__(self, cols=None): argument 27 if cols: 29 [x.strip() for x in cols]) 37 def Setup(self, cols): argument 38 self.bits, self.attr, self.reset_val = cols[0:3] 39 if len(cols) > 3: 40 self.desc.append(cols[3]) 148 cols = re.split(' *', line, 3) 149 if leading > 15 or (len(cols) > 3 and is_field_start(cols[3])): 154 if cols[0] == 'Bit' or len(cols) < 3: [all …]
|
| /u-boot/drivers/ram/ |
| A D | bmips_ram.c | 66 static ulong bmips_dram_size(unsigned int cols, unsigned int rows, in bmips_dram_size() argument 70 cols += 8; /* 0 => 8 address bits ... 2 => 10 address bits */ in bmips_dram_size() 73 return 1 << (cols + rows + is_32b + banks); in bmips_dram_size() 78 unsigned int cols = 0, rows = 0, is_32b = 0, banks = 0; in bcm6338_get_ram_size() local 83 cols = (val & SDRAM_CFG_COL_MASK) >> SDRAM_CFG_COL_SHIFT; in bcm6338_get_ram_size() 87 return bmips_dram_size(cols, rows, is_32b, banks); in bcm6338_get_ram_size() 92 unsigned int cols = 0, rows = 0, is_32b = 0; in bcm6358_get_ram_size() local 97 cols = (val & MEMC_CFG_COL_MASK) >> MEMC_CFG_COL_SHIFT; in bcm6358_get_ram_size() 100 return bmips_dram_size(cols, rows, is_32b, 2); in bcm6358_get_ram_size()
|
| /u-boot/common/ |
| A D | lcd_console.c | 33 cons.curr_col = min_t(short, col, cons.cols - 1); in lcd_position_cursor() 44 return cons.cols; in lcd_get_screen_columns() 96 cons.curr_col = cons.cols - 1; in console_back() 127 pcons->cols = sizex / VIDEO_FONT_WIDTH; in console_calc_rowcol() 158 cons.cols, cons.rows, cons.lcdsizex, cons.lcdsizey, vl_rot); in lcd_init_console() 181 if (cons.curr_col >= cons.cols) in lcd_putc() 193 if (++cons.curr_col >= cons.cols) in lcd_putc()
|
| /u-boot/lib/efi_loader/ |
| A D | efi_console.c | 253 return (mode->rows == rows) && (mode->columns == cols); in cout_mode_matches() 266 static int query_console_serial(int *rows, int *cols) in query_console_serial() argument 295 *cols = n[1]; in query_console_serial() 329 *cols = priv->cols; in query_vidconsole() 342 int rows = 25, cols = 80; in query_console_size() local 346 ret = query_vidconsole(&rows, &cols); in query_console_size() 348 ret = query_console_serial(&rows, &cols); in query_console_size() 353 if (cols >= 80 && rows >= 50) { in query_console_size() 362 if (!cout_mode_matches(&efi_cout_modes[0], rows, cols) && in query_console_size() 363 !cout_mode_matches(&efi_cout_modes[1], rows, cols)) { in query_console_size() [all …]
|
| /u-boot/drivers/input/ |
| A D | key_matrix.c | 179 int key_matrix_init(struct key_matrix *config, int rows, int cols, in key_matrix_init() argument 184 config->num_cols = cols; in key_matrix_init() 185 config->key_count = rows * cols; in key_matrix_init()
|
| /u-boot/include/ |
| A D | key_matrix.h | 82 int key_matrix_init(struct key_matrix *config, int rows, int cols,
|
| A D | lcd_console.h | 10 short cols, rows; member
|
| A D | video_console.h | 70 int cols; member
|
| A D | ec_commands.h | 2803 uint32_t cols; member
|
| /u-boot/tools/patman/ |
| A D | terminal.py | 157 cols = shutil.get_terminal_size().columns 158 text = TrimAsciiLen(text, cols)
|
| /u-boot/drivers/ddr/altera/ |
| A D | sdram_gen5.c | 71 const unsigned int cols = in get_errata_rows() local 84 debug("workaround rows - cols %d\n", cols); in get_errata_rows() 89 newrows = lldiv(newrows, (1 << banks) * (1 << cols)); in get_errata_rows()
|
| /u-boot/arch/arm/include/asm/arch-sunxi/ |
| A D | dram_sun50i_h616.h | 143 u8 cols; member
|
| A D | dram_sun50i_h6.h | 318 u8 cols; member
|
| /u-boot/drivers/video/ |
| A D | vidconsole-uclass.c | 86 priv->xcur_frac = (priv->cols - 1) * in vidconsole_back() 196 if (col >= priv->cols) in set_cursor_position() 197 col = priv->cols - 1; in set_cursor_position()
|
| A D | console_normal.c | 161 vc_priv->cols = vid_priv->xsize / VIDEO_FONT_WIDTH; in console_normal_probe()
|
| A D | console_rotate.c | 439 vc_priv->cols = vid_priv->xsize / VIDEO_FONT_WIDTH; in console_probe_2() 453 vc_priv->cols = vid_priv->ysize / VIDEO_FONT_WIDTH; in console_probe_1_3()
|
| A D | console_truetype.c | 560 vc_priv->cols = vid_priv->xsize / priv->font_size; in console_truetype_probe()
|
| A D | Kconfig | 707 VIDEO_VISIBLE_COLS visible pixel columns (cols=pitch)
|
| /u-boot/drivers/ram/rockchip/ |
| A D | dmc-rk3368.c | 667 const u8 cols = params->chan.col - ((params->chan.bw == 2) ? 0 : 1); in msch_niu_config() local 743 match = (ddrconf_table[i].columns == cols) && in msch_niu_config() 748 match = (ddrconf_table[i].columns == cols) && in msch_niu_config() 753 match = (ddrconf_table[i].columns == cols) || in msch_niu_config() 754 ((ddrconf_table[i].columns <= cols) && in msch_niu_config()
|
| /u-boot/doc/sphinx/ |
| A D | rstFlatTable.py | 167 tgroup = nodes.tgroup(cols=len(colwidths))
|
| /u-boot/cmd/ |
| A D | cros_ec.c | 305 printf("cols = %u\n", info.cols); in do_cros_ec()
|