Home
last modified time | relevance | path

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

12345678910>>...16

/linux/drivers/input/
H A Dmatrix-keymap.c23 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 …]
/linux/drivers/video/fbdev/
H A Datafb_mfb.c28 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 Datafb_iplan2p2.c196 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 Datafb_iplan2p4.c210 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 Datafb_iplan2p8.c245 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 Dhgafb.c474 u_int rows, y; in hgafb_fillrect() local
479 for (rows = rect->height; rows--; y++) { in hgafb_fillrect()
494 u_int rows, y1, y2; in hgafb_copyarea() local
502 for (rows = area->height; rows--; ) { in hgafb_copyarea()
513 for (rows = area->height; rows--;) { in hgafb_copyarea()
527 u_int rows, y = image->dy; in hgafb_imageblit() local
531 for (rows = image->height; rows--; y++) { in hgafb_imageblit()
/linux/Documentation/sphinx/
H A DrstFlatTable.py142 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 …]
/linux/arch/x86/boot/
H A Dvideo-mode.c118 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()
/linux/drivers/cpufreq/
H A Dsa1110-cpufreq.c34 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()
/linux/tools/perf/ui/
H A Dbrowser.c181 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 in ui_browser__run()
[all...]
/linux/drivers/input/keyboard/
H A Dstmpe-keypad.c136 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()
H A Dtca8418_keypad.c235 u32 rows, u32 cols) in tca8418_configure() argument
240 reg = ~(~0 << rows); in tca8418_configure()
267 u32 rows = 0, cols = 0; in tca8418_keypad_probe() local
278 error = matrix_keypad_parse_properties(dev, &rows, &cols); in tca8418_keypad_probe()
282 if (!rows || rows > TCA8418_MAX_ROWS) { in tca8418_keypad_probe()
320 error = matrix_keypad_build_keymap(NULL, NULL, rows, cols, NULL, input); in tca8418_keypad_probe()
342 error = tca8418_configure(keypad_data, rows, cols); in tca8418_keypad_probe()
H A Domap-keypad.c42 unsigned int rows; member
106 for (row = 0; row < omap_kp_data->rows; row++) { in omap_kp_tasklet()
188 if (!pdata->rows || !pdata->cols || !pdata->keymap_data) { in omap_kp_probe()
194 keycodemax = pdata->rows << row_shift; in omap_kp_probe()
214 omap_kp->rows = pdata->rows; in omap_kp_probe()
237 pdata->rows, pdata->cols, in omap_kp_probe()
H A Dsamsung-keypad.c73 unsigned int rows; member
98 row_state[col] = ~val & ((1 << keypad->rows) - 1); in samsung_keypad_scan()
121 for (row = 0; row < keypad->rows; row++) { in samsung_keypad_report()
267 pdata->rows = num_rows; in samsung_keypad_parse_dt()
337 if (!pdata->rows || pdata->rows > SAMSUNG_MAX_ROWS) in samsung_keypad_probe()
345 pdata->cfg_gpio(pdata->rows, pdata->cols); in samsung_keypad_probe()
348 keymap_size = (pdata->rows << row_shift) * sizeof(keypad->keycodes[0]); in samsung_keypad_probe()
379 keypad->rows = pdata->rows; in samsung_keypad_probe()
398 pdata->rows, pdata->cols, in samsung_keypad_probe()
/linux/drivers/s390/char/
H A Draw3270.c43 int model, rows, cols; member
127 y = max_t(int, 0, rp->view->rows + y); in raw3270_buffer_address()
459 rp->rows = diag8c_data.height; in raw3270_size_device_vm()
476 rp->rows = 24; in raw3270_size_device_vm()
481 rp->rows = 32; in raw3270_size_device_vm()
486 rp->rows = 43; in raw3270_size_device_vm()
491 rp->rows = 27; in raw3270_size_device_vm()
507 rp->rows = 24; in raw3270_size_device()
512 rp->rows = uap->uab.h; in raw3270_size_device()
520 rp->rows = uap->aua.hauai; in raw3270_size_device()
[all …]
/linux/Documentation/userspace-api/media/dvb/
H A Dlegacy_dvb_audio.rst57 :header-rows: 0
108 :header-rows: 0
161 :header-rows: 0
223 :header-rows: 0
274 :header-rows: 0
382 :header-rows: 0
473 :header-rows: 0
524 :header-rows: 0
575 :header-rows: 0
628 :header-rows: 0
[all …]
H A Dlegacy_dvb_video.rst57 :header-rows: 0
110 :header-rows: 0
161 :header-rows: 0
209 :header-rows: 0
259 :header-rows: 0
322 :header-rows: 0
421 :header-rows: 0
544 :header-rows: 0
637 :header-rows: 0
717 :header-rows: 0
[all …]
H A Dlegacy_dvb_osd.rst70 :header-rows: 1
334 :header-rows: 0
426 :header-rows: 0
577 :header-rows: 0
596 :header-rows: 0
634 :header-rows: 0
667 :header-rows: 0
697 :header-rows: 0
741 :header-rows: 0
771 :header-rows: 0
[all …]
/linux/arch/mips/bcm63xx/
H A 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/lib/
H A Dbch.c465 static int solve_linear_system(struct bch_control *bch, unsigned int *rows, in solve_linear_system() argument
481 if (rows[r] & mask) { in solve_linear_system()
483 swap(rows[r], rows[p]); in solve_linear_system()
490 tmp = rows[p]; in solve_linear_system()
492 if (rows[r] & mask) in solve_linear_system()
493 rows[r] ^= tmp; in solve_linear_system()
505 if ((r > m-1-k) && rows[r]) in solve_linear_system()
509 rows[r] = (p && (r == param[p-1])) ? in solve_linear_system()
510 p--, 1u << (m-r) : rows[r-p]; in solve_linear_system()
521 rows[param[c]] = (rows[param[c]] & ~1)|((p >> c) & 1); in solve_linear_system()
[all …]
/linux/scripts/
H A Dbootgraph.pl169 my %rows;
180 if (!defined($rows{$pid})) {
181 $rows{$pid} = $rowscount;
190 $y = $rows{$pid} * 150;
/linux/Documentation/userspace-api/media/v4l/
H A Dext-ctrls-codec-stateless.rst44 :header-rows: 0
114 :header-rows: 0
144 :header-rows: 0
187 :header-rows: 0
242 :header-rows: 0
293 :header-rows: 0
328 :header-rows: 0
397 :header-rows: 0
424 :header-rows: 0
452 :header-rows: 0
[all …]
H A Dext-ctrls-codec.rst49 :header-rows: 0
104 :header-rows: 0
127 :header-rows: 0
151 :header-rows: 0
178 :header-rows: 0
223 :header-rows: 0
268 :header-rows: 0
316 :header-rows: 0
371 :header-rows: 0
398 :header-rows: 0
[all …]
/linux/arch/arm/mach-s3c/
H A Dsetup-keypad-s3c64xx.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/include/linux/input/
H A Dsamsung-keypad.h31 unsigned int rows; member
36 void (*cfg_gpio)(unsigned int rows, unsigned int cols);

12345678910>>...16