Home
last modified time | relevance | path

Searched refs:rows (Results 1 – 25 of 371) sorted by relevance

12345678910>>...15

/Linux-v4.19/drivers/input/
Dmatrix-keymap.c31 unsigned int rows, unsigned int cols, in matrix_keypad_map_key() argument
39 if (row >= rows || col >= cols) { in matrix_keypad_map_key()
42 __func__, key, row, col, rows, cols); in matrix_keypad_map_key()
61 unsigned int *rows, unsigned int *cols) in matrix_keypad_parse_properties() argument
63 *rows = *cols = 0; in matrix_keypad_parse_properties()
65 device_property_read_u32(dev, "keypad,num-rows", rows); in matrix_keypad_parse_properties()
68 if (!*rows || !*cols) { in matrix_keypad_parse_properties()
78 unsigned int rows, unsigned int cols, in matrix_keypad_parse_keymap() argument
83 unsigned int max_keys = rows << row_shift; in matrix_keypad_parse_keymap()
117 if (!matrix_keypad_map_key(input_dev, rows, cols, in matrix_keypad_parse_keymap()
[all …]
/Linux-v4.19/drivers/video/fbdev/
Datafb_mfb.c29 u_int rows; in atafb_mfb_copyarea() local
38 for (rows = height; rows--;) { in atafb_mfb_copyarea()
46 for (rows = height; rows--;) { in atafb_mfb_copyarea()
58 u_int rows; in atafb_mfb_fillrect() local
68 for (rows = height; rows--; dest += next_line) { in atafb_mfb_fillrect()
82 u_int rows; in atafb_mfb_linefill() local
86 for (rows = width / 8; rows--; /* check margins */ ) { in atafb_mfb_linefill()
Datafb_iplan2p2.c197 int rows, i; in atafb_iplan2p2_fillrect() local
215 rows = width >> 4; in atafb_iplan2p2_fillrect()
216 if (rows) { in atafb_iplan2p2_fillrect()
218 u32 off = next_line - rows * BPL * 2; in atafb_iplan2p2_fillrect()
220 d = fill16_col(d, rows, cval); in atafb_iplan2p2_fillrect()
223 dest += rows * BPL / 2; in atafb_iplan2p2_fillrect()
245 int rows; in atafb_iplan2p2_linefill() local
259 for (rows = width / 16; rows; rows--) { in atafb_iplan2p2_linefill()
Datafb_iplan2p4.c211 int rows, i; in atafb_iplan2p4_fillrect() local
229 rows = width >> 4; in atafb_iplan2p4_fillrect()
230 if (rows) { in atafb_iplan2p4_fillrect()
232 u32 off = next_line - rows * BPL * 2; in atafb_iplan2p4_fillrect()
234 d = fill16_col(d, rows, cval); in atafb_iplan2p4_fillrect()
237 dest += rows * BPL / 2; in atafb_iplan2p4_fillrect()
259 int rows; in atafb_iplan2p4_linefill() local
273 for (rows = width / 16; rows; rows--) { in atafb_iplan2p4_linefill()
Dhgafb.c458 u_int rows, y; in hgafb_fillrect() local
463 for (rows = rect->height; rows--; y++) { in hgafb_fillrect()
478 u_int rows, y1, y2; in hgafb_copyarea() local
486 for (rows = area->height; rows--; ) { in hgafb_copyarea()
497 for (rows = area->height; rows--;) { in hgafb_copyarea()
511 u_int rows, y = image->dy; in hgafb_imageblit() local
515 for (rows = image->height; rows--; y++) { in hgafb_imageblit()
Datafb_iplan2p8.c246 int rows, i; in atafb_iplan2p8_fillrect() local
264 rows = width >> 4; in atafb_iplan2p8_fillrect()
265 if (rows) { in atafb_iplan2p8_fillrect()
267 u32 off = next_line - rows * BPL * 2; in atafb_iplan2p8_fillrect()
269 d = fill16_col(d, rows, cval); in atafb_iplan2p8_fillrect()
272 dest += rows * BPL / 2; in atafb_iplan2p8_fillrect()
294 int rows; in atafb_iplan2p8_linefill() local
308 for (rows = width / 16; rows; rows--) { in atafb_iplan2p8_linefill()
/Linux-v4.19/arch/x86/boot/
Dvideo-mode.c120 unsigned int font_size, rows; in vga_recalc_vertical() local
126 rows = force_y ? force_y : rdfs8(0x484)+1; /* Text rows */ in vga_recalc_vertical()
128 rows *= font_size; /* Visible scan lines */ in vga_recalc_vertical()
129 rows--; /* ... minus one */ in vga_recalc_vertical()
137 out_idx((u8)rows, crtc, 0x12); /* Lower height register */ in vga_recalc_vertical()
141 ov |= (rows >> (8-1)) & 0x02; in vga_recalc_vertical()
142 ov |= (rows >> (9-6)) & 0x40; in vga_recalc_vertical()
/Linux-v4.19/Documentation/sphinx/
DrstFlatTable.py152 self.rows = []
188 for row in self.rows[:header_rows]:
194 for row in self.rows[header_rows:]:
234 self.rows.append(row)
252 while y < len(self.rows):
255 while x < len(self.rows[y]):
256 cell = self.rows[y][x]
264 self.rows[y].insert(x+c+1, None)
272 self.rows[y+r+1].insert(x+c, None)
282 for row in self.rows:
[all …]
/Linux-v4.19/drivers/cpufreq/
Dsa1110-cpufreq.c37 u_char rows; /* bits */ member
55 .rows = 12,
64 .rows = 12,
73 .rows = 14,
82 .rows = 12,
90 .rows = 13,
99 .rows = 16,
108 .rows = 12,
218 u_int ns_row = (sdram->refresh * 1000) >> sdram->rows; in sdram_update_refresh()
/Linux-v4.19/arch/mips/jz4740/
Dsetup.c38 u32 ctrl, bus, bank, rows, cols; in jz4740_detect_mem() local
46 rows = 11 + ((ctrl >> 20) & 3); in jz4740_detect_mem()
49 bus, bank, rows, cols); in jz4740_detect_mem()
52 size = 1 << (bus + bank + cols + rows); in jz4740_detect_mem()
/Linux-v4.19/drivers/input/keyboard/
Dtca8418_keypad.c235 u32 rows, u32 cols) in tca8418_configure() argument
240 reg = ~(~0 << rows); in tca8418_configure()
268 u32 rows = 0, cols = 0; in tca8418_keypad_probe() local
279 error = matrix_keypad_parse_properties(dev, &rows, &cols); in tca8418_keypad_probe()
283 if (!rows || rows > TCA8418_MAX_ROWS) { in tca8418_keypad_probe()
294 max_keys = rows << row_shift; in tca8418_keypad_probe()
322 error = matrix_keypad_build_keymap(NULL, NULL, rows, cols, NULL, input); in tca8418_keypad_probe()
344 error = tca8418_configure(keypad_data, rows, cols); in tca8418_keypad_probe()
Dstmpe-keypad.c135 unsigned int rows; member
231 if (keypad->rows & (1 << i)) in stmpe_keypad_altfunc_init()
288 ret = stmpe_reg_write(stmpe, STMPE_KPC_ROW_LSB, keypad->rows); in stmpe_keypad_chip_init()
295 keypad->rows >> 8); in stmpe_keypad_chip_init()
323 keypad->rows |= 1 << row; in stmpe_keypad_fill_used_pins()
336 u32 rows; in stmpe_keypad_probe() local
365 error = matrix_keypad_parse_properties(&pdev->dev, &rows, &cols); in stmpe_keypad_probe()
369 error = matrix_keypad_build_keymap(NULL, NULL, rows, cols, in stmpe_keypad_probe()
378 stmpe_keypad_fill_used_pins(keypad, rows, cols); in stmpe_keypad_probe()
Domap-keypad.c55 unsigned int rows; member
122 for (row = 0; row < omap_kp_data->rows; row++) { in omap_kp_tasklet()
198 if (!pdata->rows || !pdata->cols || !pdata->keymap_data) { in omap_kp_probe()
204 keycodemax = pdata->rows << row_shift; in omap_kp_probe()
230 omap_kp->rows = pdata->rows; in omap_kp_probe()
260 pdata->rows, pdata->cols, in omap_kp_probe()
Dsamsung-keypad.c77 unsigned int rows; member
102 row_state[col] = ~val & ((1 << keypad->rows) - 1); in samsung_keypad_scan()
125 for (row = 0; row < keypad->rows; row++) { in samsung_keypad_report()
272 pdata->rows = num_rows; in samsung_keypad_parse_dt()
343 if (!pdata->rows || pdata->rows > SAMSUNG_MAX_ROWS) in samsung_keypad_probe()
351 pdata->cfg_gpio(pdata->rows, pdata->cols); in samsung_keypad_probe()
354 keymap_size = (pdata->rows << row_shift) * sizeof(keypad->keycodes[0]); in samsung_keypad_probe()
385 keypad->rows = pdata->rows; in samsung_keypad_probe()
404 pdata->rows, pdata->cols, in samsung_keypad_probe()
/Linux-v4.19/tools/perf/ui/
Dbrowser.c182 if (++row == browser->rows) in ui_browser__rb_tree_refresh()
198 browser->height = browser->rows = SLtt_Screen_Rows - 2; in ui_browser__refresh_dimensions()
199 browser->rows -= browser->extra_title_lines; in ui_browser__refresh_dimensions()
347 browser->rows - row, width, ' '); in __ui_browser__refresh()
426 if (browser->index == browser->top_idx + browser->rows) { in ui_browser__run()
454 if (browser->top_idx + browser->rows > browser->nr_entries - 1) in ui_browser__run()
457 offset = browser->rows; in ui_browser__run()
468 if (browser->top_idx < browser->rows) in ui_browser__run()
471 offset = browser->rows; in ui_browser__run()
481 offset = browser->rows - 1; in ui_browser__run()
[all …]
/Linux-v4.19/drivers/s390/char/
Dtty3270.c155 off = tp->view.cols * tp->view.rows - 9; in tty3270_update_prompt()
181 offset = tp->view.cols * (tp->view.rows - 2); in tty3270_create_prompt()
183 offset = tp->view.cols * tp->view.rows - 9; in tty3270_create_prompt()
220 offset = tp->view.cols * tp->view.rows - 9; in tty3270_create_status()
256 line = tp->view.rows - 3; in tty3270_rebuild_update()
284 BUG_ON(tp->nr_lines <= tp->view.rows - 2); in tty3270_alloc_string()
295 tp->nr_up + tp->view.rows - 2 >= tp->nr_lines) { in tty3270_alloc_string()
296 tp->nr_up = tp->nr_lines - tp->view.rows + 2; in tty3270_alloc_string()
332 for (i = 0; i < tp->view.rows - 2; i++) in tty3270_blank_screen()
521 nr_up = tp->nr_up - tp->view.rows + 2; in tty3270_scroll_forward()
[all …]
/Linux-v4.19/Documentation/driver-api/
Dedac.rst8 *sockets, *socket sets*, *banks*, *rows*, *chip-select rows*, *channels*,
70 accessed. Common chip-select rows for single channel are 64 bits, for
79 stick, will occupy only one of those rows. The other will be unused.
85 A double-ranked stick has two chip-select rows which access different
86 sets of memory devices. The two rows cannot be accessed concurrently.
92 A double-sided stick has two chip-select rows which access different sets
93 of memory devices. The two rows cannot be accessed concurrently.
101 set has two chip-select rows and if double-sided sticks are used these
102 will occupy those chip-select rows.
107 between chip-select rows and socket sets.
/Linux-v4.19/arch/mips/bcm63xx/
Dcpu.c258 unsigned int cols = 0, rows = 0, is_32bits = 0, banks = 0; in detect_memory_size() local
271 rows = (val & SDRAM_CFG_ROW_MASK) >> SDRAM_CFG_ROW_SHIFT; in detect_memory_size()
279 rows = (val & MEMC_CFG_ROW_MASK) >> MEMC_CFG_ROW_SHIFT; in detect_memory_size()
286 rows += 11; in detect_memory_size()
291 return 1 << (cols + rows + (is_32bits + 1) + banks); in detect_memory_size()
/Linux-v4.19/scripts/
Dbootgraph.pl183 my %rows;
194 if (!defined($rows{$pid})) {
195 $rows{$pid} = $rowscount;
204 $y = $rows{$pid} * 150;
/Linux-v4.19/lib/
Dbch.c442 static int solve_linear_system(struct bch_control *bch, unsigned int *rows, in solve_linear_system() argument
458 if (rows[r] & mask) { in solve_linear_system()
460 tmp = rows[r]; in solve_linear_system()
461 rows[r] = rows[p]; in solve_linear_system()
462 rows[p] = tmp; in solve_linear_system()
470 tmp = rows[p]; in solve_linear_system()
472 if (rows[r] & mask) in solve_linear_system()
473 rows[r] ^= tmp; in solve_linear_system()
485 if ((r > m-1-k) && rows[r]) in solve_linear_system()
489 rows[r] = (p && (r == param[p-1])) ? in solve_linear_system()
[all …]
/Linux-v4.19/arch/arm/mach-s3c64xx/
Dsetup-keypad.c13 void samsung_keypad_cfg_gpio(unsigned int rows, unsigned int cols) in samsung_keypad_cfg_gpio() argument
16 s3c_gpio_cfgrange_nopull(S3C64XX_GPK(8), rows, S3C_GPIO_SFN(3)); in samsung_keypad_cfg_gpio()
/Linux-v4.19/include/linux/input/
Dsamsung-keypad.h35 unsigned int rows; member
40 void (*cfg_gpio)(unsigned int rows, unsigned int cols);
/Linux-v4.19/Documentation/media/uapi/v4l/
Dpixfmt-yuv410.rst30 have ¼ as many pad bytes after their rows. In other words, four Cx rows
41 :header-rows: 0
75 :header-rows: 0
Dpixfmt-yuv411p.rst28 have ¼ as many pad bytes after their rows. In other words, four C x rows
37 :header-rows: 0
83 :header-rows: 0
/Linux-v4.19/Documentation/devicetree/bindings/input/
Dmatrix-keymap.txt12 Properties for the number of rows and columns are optional because some
14 - keypad,num-rows: Number of row lines connected to the keypad controller.
26 keypad,num-rows = <2>;

12345678910>>...15