/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/nmon/nmon/ |
H A D | 0001-Fix-a-lot-of-Werror-format-security-errors-with-mvpr.patch | 105 rows = 12; 108 - mvwprintw(padwide, rows + 0, 0, wide1); 109 - mvwprintw(padwide, rows + 1, 0, wide2); 110 - mvwprintw(padwide, rows + 2, 0, wide3); 111 - mvwprintw(padwide, rows + 3, 0, wide4); 112 - mvwprintw(padwide, rows + 4, 0, wide5); 113 - mvwprintw(padwide, rows + 5, 0, wide6); 114 - mvwprintw(padwide, rows + 6, 0, wide7); 115 - mvwprintw(padwide, rows + 7, 0, wide8); 116 - mvwprintw(padwide, rows + 8, 0, wide9); [all …]
|
/openbmc/linux/drivers/input/ |
H A D | matrix-keymap.c | 23 unsigned int rows, unsigned int cols, in matrix_keypad_map_key() argument 31 if (row >= rows || col >= cols) { in matrix_keypad_map_key() 34 __func__, key, row, col, rows, cols); in matrix_keypad_map_key() 53 unsigned int *rows, unsigned int *cols) in matrix_keypad_parse_properties() argument 55 *rows = *cols = 0; in matrix_keypad_parse_properties() 57 device_property_read_u32(dev, "keypad,num-rows", rows); in matrix_keypad_parse_properties() 60 if (!*rows || !*cols) { in matrix_keypad_parse_properties() 70 unsigned int rows, unsigned int cols, in matrix_keypad_parse_keymap() argument 75 unsigned int max_keys = rows << row_shift; in matrix_keypad_parse_keymap() 109 if (!matrix_keypad_map_key(input_dev, rows, cols, in matrix_keypad_parse_keymap() [all …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | atafb_mfb.c | 28 u_int rows; in atafb_mfb_copyarea() local 37 for (rows = height; rows--;) { in atafb_mfb_copyarea() 45 for (rows = height; rows--;) { in atafb_mfb_copyarea() 57 u_int rows; in atafb_mfb_fillrect() local 67 for (rows = height; rows--; dest += next_line) { in atafb_mfb_fillrect() 81 u_int rows; in atafb_mfb_linefill() local 85 for (rows = width / 8; rows--; /* check margins */ ) { in atafb_mfb_linefill()
|
H A D | atafb_iplan2p2.c | 196 int rows, i; in atafb_iplan2p2_fillrect() local 214 rows = width >> 4; in atafb_iplan2p2_fillrect() 215 if (rows) { in atafb_iplan2p2_fillrect() 217 u32 off = next_line - rows * BPL * 2; in atafb_iplan2p2_fillrect() 219 d = fill16_col(d, rows, cval); in atafb_iplan2p2_fillrect() 222 dest += rows * BPL / 2; in atafb_iplan2p2_fillrect() 244 int rows; in atafb_iplan2p2_linefill() local 258 for (rows = width / 16; rows; rows--) { in atafb_iplan2p2_linefill()
|
H A D | atafb_iplan2p4.c | 210 int rows, i; in atafb_iplan2p4_fillrect() local 228 rows = width >> 4; in atafb_iplan2p4_fillrect() 229 if (rows) { in atafb_iplan2p4_fillrect() 231 u32 off = next_line - rows * BPL * 2; in atafb_iplan2p4_fillrect() 233 d = fill16_col(d, rows, cval); in atafb_iplan2p4_fillrect() 236 dest += rows * BPL / 2; in atafb_iplan2p4_fillrect() 258 int rows; in atafb_iplan2p4_linefill() local 272 for (rows = width / 16; rows; rows--) { in atafb_iplan2p4_linefill()
|
H A D | atafb_iplan2p8.c | 245 int rows, i; in atafb_iplan2p8_fillrect() local 263 rows = width >> 4; in atafb_iplan2p8_fillrect() 264 if (rows) { in atafb_iplan2p8_fillrect() 266 u32 off = next_line - rows * BPL * 2; in atafb_iplan2p8_fillrect() 268 d = fill16_col(d, rows, cval); in atafb_iplan2p8_fillrect() 271 dest += rows * BPL / 2; in atafb_iplan2p8_fillrect() 293 int rows; in atafb_iplan2p8_linefill() local 307 for (rows = width / 16; rows; rows--) { in atafb_iplan2p8_linefill()
|
H A D | hgafb.c | 465 u_int rows, y; in hgafb_fillrect() local 470 for (rows = rect->height; rows--; y++) { in hgafb_fillrect() 485 u_int rows, y1, y2; in hgafb_copyarea() local 493 for (rows = area->height; rows--; ) { in hgafb_copyarea() 504 for (rows = area->height; rows--;) { in hgafb_copyarea() 518 u_int rows, y = image->dy; in hgafb_imageblit() local 522 for (rows = image->height; rows--; y++) { in hgafb_imageblit()
|
/openbmc/u-boot/common/ |
H A D | lcd_console.c | 31 cons.curr_row = min_t(short, row, cons.rows - 1); in lcd_position_cursor() 36 return cons.rows; in lcd_get_screen_rows() 105 const int rows = CONFIG_CONSOLE_SCROLL_LINES; in console_newline() local 112 if (++cons.curr_row >= cons.rows) { in console_newline() 113 for (i = 0; i < cons.rows-rows; i++) in console_newline() 114 cons.fp_console_moverow(&cons, i, i+rows); in console_newline() 115 for (i = 0; i < rows; i++) in console_newline() 116 cons.fp_console_setrow(&cons, cons.rows-i-1, bg_color); in console_newline() 117 cons.curr_row -= rows; in console_newline() 126 pcons->rows = (pcons->lcdsizey - BMP_LOGO_HEIGHT); in console_calc_rowcol() [all …]
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_console.c | 20 unsigned long rows; member 28 .rows = 25, 34 .rows = 50, 40 .rows = 0, 182 con->cursor_row = min(con->cursor_row, (s32)mode->rows - 1); in efi_cout_output_string() 197 static bool cout_mode_matches(struct cout_mode *mode, int rows, int cols) in cout_mode_matches() argument 202 return (mode->rows == rows) && (mode->columns == cols); in cout_mode_matches() 212 static int query_console_serial(int *rows, int *cols) in query_console_serial() argument 242 *rows = n[0]; in query_console_serial() 258 int rows = 25, cols = 80; in query_console_size() local [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/browser/ |
H A D | test_toastertable_ui.py | 100 rows = self.find_all(row_selector) 101 row1_completed_on = self._get_datetime_from_cell(rows[0], cell_selector) 102 row2_completed_on = self._get_datetime_from_cell(rows[1], cell_selector) 127 rows = self.find_all(row_selector) 128 row1_started_on = self._get_datetime_from_cell(rows[0], cell_selector) 129 row2_started_on = self._get_datetime_from_cell(rows[1], cell_selector) 147 rows = self.find_all(row_selector) 148 row1_completed_on = self._get_datetime_from_cell(rows[0], cell_selector) 149 row2_completed_on = self._get_datetime_from_cell(rows[1], cell_selector)
|
/openbmc/u-boot/drivers/ram/ |
H A D | bmips_ram.c | 65 static ulong bmips_dram_size(unsigned int cols, unsigned int rows, in bmips_dram_size() argument 68 rows += 11; /* 0 => 11 address bits ... 2 => 13 address bits */ in bmips_dram_size() 72 return 1 << (cols + rows + is_32b + banks); in bmips_dram_size() 77 unsigned int cols = 0, rows = 0, is_32b = 0, banks = 0; in bcm6338_get_ram_size() local 81 rows = (val & SDRAM_CFG_ROW_MASK) >> SDRAM_CFG_ROW_SHIFT; in bcm6338_get_ram_size() 86 return bmips_dram_size(cols, rows, is_32b, banks); in bcm6338_get_ram_size() 91 unsigned int cols = 0, rows = 0, is_32b = 0; in bcm6358_get_ram_size() local 95 rows = (val & MEMC_CFG_ROW_MASK) >> MEMC_CFG_ROW_SHIFT; in bcm6358_get_ram_size() 99 return bmips_dram_size(cols, rows, is_32b, 2); in bcm6358_get_ram_size()
|
/openbmc/openbmc/poky/scripts/lib/build_perf/ |
H A D | __init__.py | 8 def print_table(rows, row_fmt=None): argument 10 if not rows: 13 row_fmt = ['{:{wid}} '] * len(rows[0]) 18 for row in rows: 22 for row in rows:
|
/openbmc/u-boot/arch/arm/mach-sunxi/ |
H A D | dram_sun8i_a33.c | 27 u8 rows; member 41 MCTL_CR_PAGE_SIZE(para->page_size) | MCTL_CR_ROW(para->rows) | in mctl_set_cr() 49 int rows, columns; in auto_detect_dram_size() local 54 para->rows = 16; in auto_detect_dram_size() 57 for (rows = 11 ; rows < 16 ; rows++) { in auto_detect_dram_size() 58 if (mctl_mem_matches(1 << (rows + 9))) /* row-column */ in auto_detect_dram_size() 63 para->rows = 11; in auto_detect_dram_size() 73 para->rows = rows; in auto_detect_dram_size() 338 .rows = 15, in sunxi_dram_init() 360 (1 << (para.bank + para.rank + para.rows)); in sunxi_dram_init()
|
H A D | dram_sun8i_a83t.c | 25 u8 rows; member 40 MCTL_CR_PAGE_SIZE(para->page_size) | MCTL_CR_ROW(para->rows) | in mctl_set_cr() 48 int rows, columns; in auto_detect_dram_size() local 53 para->rows = 16; in auto_detect_dram_size() 56 for (rows = 11 ; rows < 16 ; rows++) { in auto_detect_dram_size() 57 if (mctl_mem_matches(1 << (rows + 9))) /* row-column */ in auto_detect_dram_size() 62 para->rows = 11; in auto_detect_dram_size() 72 para->rows = rows; in auto_detect_dram_size() 436 .rows = 15, in sunxi_dram_init() 470 (1 << (para.bank + para.rank + para.rows)); in sunxi_dram_init()
|
H A D | dram_sun8i_a23.c | 271 u32 bus, bus_width, offset, page_size, rows; in sunxi_dram_init() local 289 for (rows = 11; rows < 16; rows++) { in sunxi_dram_init() 290 offset = 1 << (rows + columns + bus); in sunxi_dram_init() 295 MCTL_CR_ROW(rows)); in sunxi_dram_init() 297 rows = (dram_para.para1 >> 16) & 0xff; in sunxi_dram_init() 299 ((rows - 1) << 4) | in sunxi_dram_init() 341 return 1 << (rows + columns + bus); in sunxi_dram_init()
|
/openbmc/linux/arch/x86/boot/ |
H A D | video-mode.c | 118 unsigned int font_size, rows; in vga_recalc_vertical() local 124 rows = force_y ? force_y : rdfs8(0x484)+1; /* Text rows */ in vga_recalc_vertical() 126 rows *= font_size; /* Visible scan lines */ in vga_recalc_vertical() 127 rows--; /* ... minus one */ in vga_recalc_vertical() 135 out_idx((u8)rows, crtc, 0x12); /* Lower height register */ in vga_recalc_vertical() 139 ov |= (rows >> (8-1)) & 0x02; in vga_recalc_vertical() 140 ov |= (rows >> (9-6)) & 0x40; in vga_recalc_vertical()
|
/openbmc/u-boot/Documentation/sphinx/ |
H A D | rstFlatTable.py | 154 self.rows = [] 190 for row in self.rows[:header_rows]: 196 for row in self.rows[header_rows:]: 236 self.rows.append(row) 254 while y < len(self.rows): 257 while x < len(self.rows[y]): 258 cell = self.rows[y][x] 266 self.rows[y].insert(x+c+1, None) 274 self.rows[y+r+1].insert(x+c, None) 284 for row in self.rows: [all …]
|
/openbmc/linux/Documentation/sphinx/ |
H A D | rstFlatTable.py | 142 self.rows = [] 178 for row in self.rows[:header_rows]: 184 for row in self.rows[header_rows:]: 224 self.rows.append(row) 242 while y < len(self.rows): 245 while x < len(self.rows[y]): 246 cell = self.rows[y][x] 254 self.rows[y].insert(x+c+1, None) 262 self.rows[y+r+1].insert(x+c, None) 272 for row in self.rows: [all …]
|
/openbmc/qemu/hw/display/ |
H A D | framebuffer.c | 28 unsigned rows, in framebuffer_update_memory_section() argument 31 hwaddr src_len = (hwaddr)rows * src_width; in framebuffer_update_memory_section() 59 int rows, /* Height in pixels. */ in framebuffer_update_display() argument 94 dest -= dest_row_pitch * (rows - 1); in framebuffer_update_display() 102 snap = memory_region_snapshot_and_clear_dirty(mem, addr, src_width * rows, in framebuffer_update_display() 104 for (; i < rows; i++) { in framebuffer_update_display()
|
H A D | next-fb.c | 43 uint32_t rows; member 88 framebuffer_update_display(surface, &s->fbsection, s->cols, s->rows, in nextfb_update() 92 dpy_gfx_update(s->con, 0, 0, s->cols, s->rows); in nextfb_update() 116 s->rows = 832; in nextfb_realize() 119 qemu_console_resize(s->con, s->cols, s->rows); in nextfb_realize()
|
/openbmc/linux/drivers/cpufreq/ |
H A D | sa1110-cpufreq.c | 34 u_char rows; /* bits */ member 52 .rows = 12, 61 .rows = 12, 70 .rows = 14, 79 .rows = 12, 87 .rows = 13, 96 .rows = 16, 105 .rows = 12, 215 u_int ns_row = (sdram->refresh * 1000) >> sdram->rows; in sdram_update_refresh()
|
/openbmc/openbmc/poky/bitbake/lib/prserv/ |
H A D | db.py | 46 def _extremum_value(self, rows, is_max): argument 49 for row in rows: 62 def _max_value(self, rows): argument 63 return self._extremum_value(rows, True) 65 def _min_value(self, rows): argument 66 return self._extremum_value(rows, False) 113 rows = data.fetchall() 114 value = self._max_value(rows) 133 rows = data.fetchall() 134 return self._extremum_value(rows, is_max) [all …]
|
/openbmc/u-boot/drivers/ram/rockchip/ |
H A D | dmc-rk3368.c | 663 const u8 rows = params->chan.cs0_row; in msch_niu_config() local 671 u8 rows; in msch_niu_config() member 680 [0] = { .rows = 13, .columns = 10, .type = DMC_MSCH_CBRD }, in msch_niu_config() 681 [1] = { .rows = 14, .columns = 10, .type = DMC_MSCH_CBRD }, in msch_niu_config() 682 [2] = { .rows = 15, .columns = 10, .type = DMC_MSCH_CBRD }, in msch_niu_config() 683 [3] = { .rows = 16, .columns = 10, .type = DMC_MSCH_CBRD }, in msch_niu_config() 684 [4] = { .rows = 14, .columns = 11, .type = DMC_MSCH_CBRD }, in msch_niu_config() 685 [5] = { .rows = 15, .columns = 11, .type = DMC_MSCH_CBRD }, in msch_niu_config() 686 [6] = { .rows = 16, .columns = 11, .type = DMC_MSCH_CBRD }, in msch_niu_config() 687 [7] = { .rows = 13, .columns = 9, .type = DMC_MSCH_CBRD }, in msch_niu_config() [all …]
|
/openbmc/linux/tools/perf/ui/ |
H A D | browser.c | 181 if (++row == browser->rows) in ui_browser__rb_tree_refresh() 197 browser->height = browser->rows = SLtt_Screen_Rows - 2; in ui_browser__refresh_dimensions() 198 browser->rows -= browser->extra_title_lines; in ui_browser__refresh_dimensions() 348 browser->rows - row, width, ' '); in __ui_browser__refresh() 429 if (browser->index == browser->top_idx + browser->rows) { in ui_browser__run() 457 if (browser->top_idx + browser->rows > browser->nr_entries - 1) in ui_browser__run() 460 offset = browser->rows; in ui_browser__run() 471 if (browser->top_idx < browser->rows) in ui_browser__run() 474 offset = browser->rows; in ui_browser__run() 484 offset = browser->rows - 1; in ui_browser__run() [all …]
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | stmpe-keypad.c | 136 unsigned int rows; member 232 if (keypad->rows & (1 << i)) in stmpe_keypad_altfunc_init() 289 ret = stmpe_reg_write(stmpe, STMPE_KPC_ROW_LSB, keypad->rows); in stmpe_keypad_chip_init() 296 keypad->rows >> 8); in stmpe_keypad_chip_init() 324 keypad->rows |= 1 << row; in stmpe_keypad_fill_used_pins() 337 u32 rows; in stmpe_keypad_probe() local 366 error = matrix_keypad_parse_properties(&pdev->dev, &rows, &cols); in stmpe_keypad_probe() 370 error = matrix_keypad_build_keymap(NULL, NULL, rows, cols, in stmpe_keypad_probe() 379 stmpe_keypad_fill_used_pins(keypad, rows, cols); in stmpe_keypad_probe()
|