Home
last modified time | relevance | path

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

/linux-4.4.14/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()
54 unsigned int *rows, unsigned int *cols) in matrix_keypad_parse_of_params() argument
62 of_property_read_u32(np, "keypad,num-rows", rows); in matrix_keypad_parse_of_params()
64 if (!*rows || !*cols) { in matrix_keypad_parse_of_params()
74 unsigned int rows, unsigned int cols, in matrix_keypad_parse_of_keymap() argument
80 unsigned int max_keys = rows << row_shift; in matrix_keypad_parse_of_keymap()
112 if (!matrix_keypad_map_key(input_dev, rows, cols, in matrix_keypad_parse_of_keymap()
121 unsigned int rows, unsigned int cols, in matrix_keypad_parse_of_keymap() argument
[all …]
/linux-4.4.14/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()
Datafb_utils.h358 static inline u32 *fill16_col(u32 *dst, int rows, u32 m[]) in fill16_col() argument
360 while (rows) { in fill16_col()
369 rows--; in fill16_col()
/linux-4.4.14/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-4.4.14/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-4.4.14/drivers/input/keyboard/
Dtca8418_keypad.c235 u32 rows, u32 cols) in tca8418_configure() argument
247 reg = ~(~0 << rows); in tca8418_configure()
272 u32 rows = 0, cols = 0; in tca8418_keypad_probe() local
285 rows = pdata->rows; in tca8418_keypad_probe()
293 err = matrix_keypad_parse_of_params(dev, &rows, &cols); in tca8418_keypad_probe()
299 if (!rows || rows > TCA8418_MAX_ROWS) { in tca8418_keypad_probe()
317 max_keys = rows << row_shift; in tca8418_keypad_probe()
328 error = tca8418_configure(keypad_data, rows, cols); in tca8418_keypad_probe()
345 error = matrix_keypad_build_keymap(keymap_data, NULL, rows, cols, in tca8418_keypad_probe()
Dstmpe-keypad.c127 unsigned int rows; member
223 if (keypad->rows & (1 << i)) in stmpe_keypad_altfunc_init()
280 ret = stmpe_reg_write(stmpe, STMPE_KPC_ROW_LSB, keypad->rows); in stmpe_keypad_chip_init()
287 keypad->rows >> 8); in stmpe_keypad_chip_init()
315 keypad->rows |= 1 << row; in stmpe_keypad_fill_used_pins()
328 u32 rows; in stmpe_keypad_probe() local
357 error = matrix_keypad_parse_of_params(&pdev->dev, &rows, &cols); in stmpe_keypad_probe()
361 error = matrix_keypad_build_keymap(NULL, NULL, rows, cols, in stmpe_keypad_probe()
370 stmpe_keypad_fill_used_pins(keypad, rows, cols); in stmpe_keypad_probe()
Domap-keypad.c55 unsigned int rows; member
81 for (row = 0; row < omap_kp->rows; row++) { in get_row_gpio_val()
148 for (row = 0; row < omap_kp_data->rows; row++) { in omap_kp_tasklet()
254 if (!pdata->rows || !pdata->cols || !pdata->keymap_data) { in omap_kp_probe()
260 keycodemax = pdata->rows << row_shift; in omap_kp_probe()
286 omap_kp->rows = pdata->rows; in omap_kp_probe()
316 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()
Dbf54x-keys.c186 if (!pdata->rows || !pdata->cols || !pdata->keymap) { in bfin_kpad_probe()
192 pdata->keymapsize > (pdata->rows * pdata->cols)) { in bfin_kpad_probe()
231 if (peripheral_request_list((u16 *)&per_rows[MAX_RC - pdata->rows], in bfin_kpad_probe()
308 (((pdata->rows - 1) << 10) & KPAD_ROWEN) | in bfin_kpad_probe()
324 peripheral_free_list((u16 *)&per_rows[MAX_RC - pdata->rows]); in bfin_kpad_probe()
343 peripheral_free_list((u16 *)&per_rows[MAX_RC - pdata->rows]); in bfin_kpad_remove()
Dcros_ec_keyb.c49 unsigned int rows; member
129 for (row = 0; row < ckdev->rows; row++) { in cros_ec_keyb_process()
226 for (row = 0; row < ckdev->rows; row++) { in cros_ec_keyb_compute_valid_keys()
252 err = matrix_keypad_parse_of_params(&pdev->dev, &ckdev->rows, in cros_ec_keyb_probe()
292 err = matrix_keypad_build_keymap(NULL, NULL, ckdev->rows, ckdev->cols, in cros_ec_keyb_probe()
Domap4-keypad.c78 unsigned int rows; member
140 for (row = 0; row < keypad_data->rows; row++) { in omap4_keypad_irq_thread_fn()
226 err = matrix_keypad_parse_of_params(dev, &keypad_data->rows, in omap4_keypad_parse_dt()
339 max_keys = keypad_data->rows << keypad_data->row_shift; in omap4_keypad_probe()
349 keypad_data->rows, keypad_data->cols, in omap4_keypad_probe()
Dlpc32xx-keys.c145 u32 rows = 0, columns = 0; in lpc32xx_parse_dt() local
148 err = matrix_keypad_parse_of_params(dev, &rows, &columns); in lpc32xx_parse_dt()
151 if (rows != columns) { in lpc32xx_parse_dt()
156 kscandat->matrix_sz = rows; in lpc32xx_parse_dt()
Dtc3589x-keypad.c327 u32 cols, rows; in tc3589x_keypad_of_probe() local
339 of_property_read_u32(np, "keypad,num-rows", &rows); in tc3589x_keypad_of_probe()
341 plat->krow = (u8) rows; in tc3589x_keypad_of_probe()
Dpmic8xxx-keypad.c511 unsigned int rows, cols; in pmic8xxx_kp_probe() local
518 rc = matrix_keypad_parse_of_params(&pdev->dev, &rows, &cols); in pmic8xxx_kp_probe()
522 if (cols > PM8XXX_MAX_COLS || rows > PM8XXX_MAX_ROWS || in pmic8xxx_kp_probe()
544 kp->num_rows = rows; in pmic8xxx_kp_probe()
Dadp5588-keys.c166 for (i = 0; i < pdata->rows; i++) in adp5588_build_gpiomap()
337 ret = adp5588_write(client, KP_GPIO1, KP_SEL(pdata->rows)); in adp5588_setup()
453 if (!pdata->rows || !pdata->cols || !pdata->keymap) { in adp5588_probe()
482 if (pin - GPI_PIN_ROW_BASE + 1 <= pdata->rows) { in adp5588_probe()
Dpxa27x_keypad.c126 u32 rows, cols; in pxa27x_keypad_matrix_key_parse_dt() local
129 error = matrix_keypad_parse_of_params(dev, &rows, &cols); in pxa27x_keypad_matrix_key_parse_dt()
133 if (rows > MAX_MATRIX_KEY_ROWS || cols > MAX_MATRIX_KEY_COLS) { in pxa27x_keypad_matrix_key_parse_dt()
138 pdata->matrix_key_rows = rows; in pxa27x_keypad_matrix_key_parse_dt()
Dtwl4030_keypad.c363 if (!pdata->rows || !pdata->cols || !pdata->keymap_data) { in twl4030_kp_probe()
368 kp->n_rows = pdata->rows; in twl4030_kp_probe()
/linux-4.4.14/arch/mips/jz4740/
Dsetup.c39 u32 ctrl, bus, bank, rows, cols; in jz4740_detect_mem() local
47 rows = 11 + ((ctrl >> 20) & 3); in jz4740_detect_mem()
50 bus, bank, rows, cols); in jz4740_detect_mem()
53 size = 1 << (bus + bank + cols + rows); in jz4740_detect_mem()
/linux-4.4.14/tools/perf/ui/
Dbrowser.c168 if (++row == browser->rows) in ui_browser__rb_tree_refresh()
184 browser->height = browser->rows = SLtt_Screen_Rows - 2; in ui_browser__refresh_dimensions()
411 if (browser->index == browser->top_idx + browser->rows) { in ui_browser__run()
439 if (browser->top_idx + browser->rows > browser->nr_entries - 1) in ui_browser__run()
442 offset = browser->rows; in ui_browser__run()
453 if (browser->top_idx < browser->rows) in ui_browser__run()
456 offset = browser->rows; in ui_browser__run()
466 offset = browser->rows - 1; in ui_browser__run()
497 if (++row == browser->rows) in ui_browser__list_head_refresh()
622 if (++row == browser->rows) in ui_browser__argv_refresh()
[all …]
Dbrowser.h17 u16 y, x, width, height, rows, columns, horiz_scroll; member
/linux-4.4.14/include/linux/input/
Dmatrix_keypad.h80 unsigned int rows, unsigned int cols,
94 unsigned int *rows, unsigned int *cols);
97 unsigned int *rows, unsigned int *cols) in matrix_keypad_parse_of_params() argument
Dsamsung-keypad.h35 unsigned int rows; member
40 void (*cfg_gpio)(unsigned int rows, unsigned int cols);
Dtca8418_keypad.h38 unsigned rows; member
/linux-4.4.14/drivers/s390/char/
Dtty3270.c153 off = tp->view.cols * tp->view.rows - 9; in tty3270_update_prompt()
179 offset = tp->view.cols * (tp->view.rows - 2); in tty3270_create_prompt()
181 offset = tp->view.cols * tp->view.rows - 9; in tty3270_create_prompt()
218 offset = tp->view.cols * tp->view.rows - 9; in tty3270_create_status()
254 line = tp->view.rows - 3; in tty3270_rebuild_update()
282 BUG_ON(tp->nr_lines <= tp->view.rows - 2); in tty3270_alloc_string()
293 tp->nr_up + tp->view.rows - 2 >= tp->nr_lines) { in tty3270_alloc_string()
294 tp->nr_up = tp->nr_lines - tp->view.rows + 2; in tty3270_alloc_string()
494 nr_up = tp->nr_up - tp->view.rows + 2; in tty3270_scroll_forward()
516 nr_up = tp->nr_up + tp->view.rows - 2; in tty3270_scroll_backward()
[all …]
Dcon3270.c113 cp->view.cols * (cp->view.rows - 1)); in con3270_create_status()
115 cp->view.cols * cp->view.rows - 8); in con3270_create_status()
148 nr = cp->view.rows - 2 + cp->nr_up; in con3270_rebuild_update()
150 if (nr < cp->view.rows - 1) in con3270_rebuild_update()
180 if (cp->nr_up != 0 && cp->nr_up + cp->view.rows > cp->nr_lines) { in con3270_alloc_string()
181 cp->nr_up = cp->nr_lines - cp->view.rows + 1; in con3270_alloc_string()
311 nr_up += cp->view.rows - 2; in con3270_read_tasklet()
312 if (nr_up + cp->view.rows - 1 > cp->nr_lines) { in con3270_read_tasklet()
313 nr_up = cp->nr_lines - cp->view.rows + 1; in con3270_read_tasklet()
319 nr_up -= cp->view.rows - 2; in con3270_read_tasklet()
Draw3270.c39 short model, rows, cols; member
492 rp->rows = 24; in raw3270_size_device_vm()
497 rp->rows = 32; in raw3270_size_device_vm()
502 rp->rows = 43; in raw3270_size_device_vm()
507 rp->rows = 27; in raw3270_size_device_vm()
525 rp->rows = 24; in raw3270_size_device()
530 rp->rows = uap->uab.h; in raw3270_size_device()
538 rp->rows = uap->aua.hauai; in raw3270_size_device()
543 if (rp->rows == 24 && rp->cols == 80) in raw3270_size_device()
545 if (rp->rows == 32 && rp->cols == 80) in raw3270_size_device()
[all …]
Dfs3270.c357 iocb.line_cnt = fp->view.rows; in fs3270_ioctl()
473 ib = idal_buffer_alloc(2*fp->view.rows*fp->view.cols + 5, 0); in fs3270_open()
Draw3270.h162 unsigned int rows, cols; /* # of rows & colums of the view */ member
/linux-4.4.14/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-4.4.14/scripts/
Dbootgraph.pl183 my %rows;
194 if (!defined($rows{$pid})) {
195 $rows{$pid} = $rowscount;
204 $y = $rows{$pid} * 150;
Danalyze_suspend.py837 def setRows(self, rows): argument
838 self.maxrows = int(rows)
2256 rows = setTimelineRows(list, list)
2257 data.dmesg[phase]['row'] = rows
2258 if(rows > timelinerows):
2259 timelinerows = rows
/linux-4.4.14/arch/arm/mach-s3c64xx/
Dsetup-keypad.c18 void samsung_keypad_cfg_gpio(unsigned int rows, unsigned int cols) in samsung_keypad_cfg_gpio() argument
21 s3c_gpio_cfgrange_nopull(S3C64XX_GPK(8), rows, S3C_GPIO_SFN(3)); in samsung_keypad_cfg_gpio()
Dmach-smdk6410.c261 .rows = 2,
Dmach-crag6410.c210 .rows = 2,
/linux-4.4.14/lib/
Dbch.c432 static int solve_linear_system(struct bch_control *bch, unsigned int *rows, in solve_linear_system() argument
448 if (rows[r] & mask) { in solve_linear_system()
450 tmp = rows[r]; in solve_linear_system()
451 rows[r] = rows[p]; in solve_linear_system()
452 rows[p] = tmp; in solve_linear_system()
460 tmp = rows[p]; in solve_linear_system()
462 if (rows[r] & mask) in solve_linear_system()
463 rows[r] ^= tmp; in solve_linear_system()
475 if ((r > m-1-k) && rows[r]) in solve_linear_system()
479 rows[r] = (p && (r == param[p-1])) ? in solve_linear_system()
[all …]
Dgen_crc32table.c91 static void output_table(uint32_t (*table)[256], int rows, int len, char *trans) in output_table() argument
95 for (j = 0 ; j < rows; j++) { in output_table()
/linux-4.4.14/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>;
Dqcom,pm8xxx-keypad.txt42 - keypad,num-rows:
45 Definition: number of rows in the keymap. More information can be found
85 keypad,num-rows = <1>;
Dlpc32xx-key.txt17 Note: keypad,num-rows and keypad,num-columns are required, and must be equal
26 keypad,num-rows = <1>;
Domap-keypad.txt12 keypad,num-rows and keypad,num-columns are required.
25 keypad,num-rows = <2>;
Dtwl4030-keypad.txt12 * keypad,num-rows and keypad,num-columns are required.
25 keypad,num-rows = <8>;
Dbrcm,bcm-keypad.txt12 keypad,num-rows and keypad,num-columns are required.
23 - keypad,num-rows: Number of row lines connected to the keypad
73 keypad,num-rows = <5>;
Dst-keyscan.txt22 - keypad,num-rows: Number of row lines connected to the keypad controller.
40 keypad,num-rows = <4>;
Dnvidia,tegra20-kbc.txt11 array of pin numbers which is used as rows.
46 nvidia,kbc-row-pins = <0 1 2>; /* pin 0, 1, 2 as rows */
Dtca8418_keypad.txt4 keypad,num-rows and keypad,num-columns are required.
Dsamsung-keypad.txt22 - samsung,keypad-num-rows: Number of row lines connected to the keypad
52 samsung,keypad-num-rows = <2>;
Dstmpe-keypad.txt11 - keypad,num-rows : See ./matrix-keymap.txt
Dcros-ec-keyb.txt23 keypad,num-rows = <8>;
Dpxa27x-keypad.txt39 keypad,num-rows = <3>;
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_debugfs.h62 unsigned int rows; /* # of entries */ member
73 struct seq_tab *seq_open_tab(struct file *f, unsigned int rows,
Dcxgb4_debugfs.c53 return pos >= tb->rows ? NULL : &tb->data[pos * tb->width]; in seq_tab_get_idx()
92 struct seq_tab *seq_open_tab(struct file *f, unsigned int rows, in seq_open_tab() argument
98 p = __seq_open_private(f, &seq_tab_ops, sizeof(*p) + rows * width); in seq_open_tab()
101 p->rows = rows; in seq_open_tab()
113 if (new_rows > p->rows) in seq_tab_trim()
115 p->rows = new_rows; in seq_tab_trim()
/linux-4.4.14/drivers/uwb/
Dallocator.c56 int mas, col, rows; in uwb_rsv_fill_row_alloc() local
61 rows = 1; in uwb_rsv_fill_row_alloc()
66 if (rows > ri->used_rows) { in uwb_rsv_fill_row_alloc()
68 } else if (rows > 7) { in uwb_rsv_fill_row_alloc()
81 rows++; in uwb_rsv_fill_row_alloc()
/linux-4.4.14/tools/perf/util/
Dhelp.c76 int cols = 1, rows; in pretty_print_string_list() local
87 rows = (cmds->cnt + cols - 1) / cols; in pretty_print_string_list()
89 for (i = 0; i < rows; i++) { in pretty_print_string_list()
93 unsigned int n = j * rows + i; in pretty_print_string_list()
98 if (j == cols-1 || n + rows >= cmds->cnt) in pretty_print_string_list()
Dsvghelper.h6 extern void open_svg(const char *filename, int cpus, int rows, u64 start, u64 end);
Dsvghelper.c86 void open_svg(const char *filename, int cpus, int rows, u64 start, u64 end) in open_svg() argument
108 total_height = (1 + rows + cpu2slot(cpus)) * SLOT_MULT; in open_svg()
/linux-4.4.14/drivers/gpu/drm/gma500/
Dmmu.c514 uint32_t rows = 1; in psb_mmu_flush_ptes() local
528 rows = num_pages / desired_tile_stride; in psb_mmu_flush_ptes()
535 for (i = 0; i < rows; ++i) { in psb_mmu_flush_ptes()
609 uint32_t rows = 1; in psb_mmu_remove_pages() local
619 rows = num_pages / desired_tile_stride; in psb_mmu_remove_pages()
630 for (i = 0; i < rows; ++i) { in psb_mmu_remove_pages()
712 uint32_t rows = 1; in psb_mmu_insert_pages() local
726 rows = num_pages / desired_tile_stride; in psb_mmu_insert_pages()
736 for (i = 0; i < rows; ++i) { in psb_mmu_insert_pages()
/linux-4.4.14/drivers/video/console/
Dfbcon.h229 int rows = p->vrows; in real_y() local
232 return ypos < rows ? ypos : ypos - rows; in real_y()
Dfbcon.c557 int cols, int rows, int new_cols, int new_rows) in fbcon_prepare_logo() argument
563 int cols, int rows, int new_cols, int new_rows) in fbcon_prepare_logo() argument
585 vc->vc_size_row * rows); in fbcon_prepare_logo()
590 if (r != q && new_rows >= rows + logo_lines) { in fbcon_prepare_logo()
604 for (cnt = rows - logo_lines; cnt > 0; cnt--) { in fbcon_prepare_logo()
610 if (vc->vc_y + logo_lines >= rows) in fbcon_prepare_logo()
611 lines = rows - vc->vc_y - 1; in fbcon_prepare_logo()
630 rows); in fbcon_prepare_logo()
927 int rows, cols; in fbcon_startup() local
1006 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_startup()
[all …]
Dvgacon.c196 int rows = CONFIG_VGACON_SOFT_SCROLLBACK_SIZE * 1024/pitch; in vgacon_scrollback_init() local
202 vgacon_scrollback_rows = rows - 1; in vgacon_scrollback_init()
203 vgacon_scrollback_size = rows * pitch; in vgacon_scrollback_init()
821 int rows = screen_info.orig_video_lines * vga_default_font_height/ in vgacon_switch() local
842 vga_video_num_lines <= rows)) in vgacon_switch()
1217 int rows, maxscan, i; in vgacon_adjust_height() local
1219 rows = vc->vc_scan_lines / fontheight; /* Number of video rows we end up with */ in vgacon_adjust_height()
1220 maxscan = rows * fontheight - 1; /* Scan lines to actually display-1 */ in vgacon_adjust_height()
1265 vc_resize(c, 0, rows); /* Adjust console size */ in vgacon_adjust_height()
Dnewport_con.c330 int cols, rows; in newport_init() local
333 rows = newport_ysize / 16; in newport_init()
337 vc->vc_rows = rows; in newport_init()
339 vc_resize(vc, cols, rows); in newport_init()
DKconfig89 int "Initial number of console screen rows"
/linux-4.4.14/Documentation/devicetree/bindings/mfd/
Dtc3589x.txt51 - keypad,num-rows : number of rows in the matrix, see
86 keypad,num-rows = <8>;
/linux-4.4.14/arch/arm/plat-samsung/include/plat/
Dkeypad.h29 extern void samsung_keypad_cfg_gpio(unsigned int rows, unsigned int cols);
/linux-4.4.14/drivers/media/usb/pwc/
Dpwc-dec23.c532 unsigned int htable_idx, rows = 0; in decode_block() local
570 rows = ((mask << shift) + 0x80) & 0xFF; in decode_block()
572 block = pdec->table_subblock[rows]; in decode_block()
585 rows = ptable0004[offset1 + hash_table_ops [htable_idx * 4 + 3]]; in decode_block()
586 block = pdec->table_subblock[rows]; in decode_block()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dnic.c310 u32 step:6, rows:21; member
313 #define REGISTER_TABLE_DIMENSIONS(_, offset, arch, min_rev, max_rev, step, rows) { \ argument
317 step, rows \
389 len += table->rows * min_t(size_t, table->step, 16); in efx_nic_get_regs_len()
420 for (i = 0; i < table->rows; i++) { in efx_nic_get_regs()
/linux-4.4.14/arch/blackfin/mach-bf548/include/mach/
Dbf54x_keys.h11 int rows; member
/linux-4.4.14/include/uapi/linux/
Dvirtio_console.h50 __u16 rows; member
/linux-4.4.14/tools/thermal/tmon/
Dtui.c121 int rows = max(DIAG_DEV_ROWS, (entries + 1) / 2); in diag_dev_rows() local
122 return min(rows, entries); in diag_dev_rows()
288 int rows, cols; in show_dialogue() local
294 getmaxyx(w, rows, cols); in show_dialogue()
318 mvwprintw(w, rows - 2, 1, in show_dialogue()
/linux-4.4.14/drivers/usb/misc/sisusbvga/
Dsisusb_con.c210 int cols, rows; in sisusbcon_init() local
246 rows = c->vc_scan_lines / c->vc_font.height; in sisusbcon_init()
266 c->vc_rows = rows; in sisusbcon_init()
268 vc_resize(c, cols, rows); in sisusbcon_init()
1232 int rows = 0, maxscan = 0; in sisusbcon_do_font_op() local
1237 rows = c->vc_scan_lines / fh; in sisusbcon_do_font_op()
1239 maxscan = rows * fh - 1; in sisusbcon_do_font_op()
1268 int rows = c->vc_scan_lines / fh; in sisusbcon_do_font_op() local
1280 vc_resize(vc, 0, rows); in sisusbcon_do_font_op()
/linux-4.4.14/arch/arm/boot/dts/
Dexynos4412-smdk4412.dts49 samsung,keypad-num-rows = <3>;
125 keypad_rows: keypad-rows {
Dexynos4210-smdkv310.dts70 samsung,keypad-num-rows = <2>;
146 keypad_rows: keypad-rows {
Dqcom-msm8660-surf.dts63 keypad,num-rows = <6>;
Dstih41x-b2000.dtsi74 keypad,num-rows = <4>;
Dimx53-voipac-bsb.dts151 keypad,num-rows = <8>;
Dtwl4030.dtsi152 keypad,num-rows = <8>;
Dste-href-tvk1281618.dtsi67 keypad,num-rows = <8>;
Dste-nomadik-nhk15.dts115 keypad,num-rows = <8>;
Dphy3250.dts180 keypad,num-rows = <1>;
Dcros-ec-keyboard.dtsi16 keypad,num-rows = <8>;
Dexynos4412-origen.dts427 samsung,keypad-num-rows = <3>;
494 keypad_rows: keypad-rows {
Ds5pv210-smdkv210.dts63 samsung,keypad-num-rows = <8>;
Dqcom-msm8960-cdp.dts350 keypad,num-rows = <1>;
Ds5pv210-aquila.dts272 samsung,keypad-num-rows = <3>;
Ds5pv210-goni.dts254 samsung,keypad-num-rows = <3>;
Dste-href-family-pinctrl.dtsi695 * six rows of six keys.
Domap4-sdp.dts512 keypad,num-rows = <8>;
Domap3-pandora-common.dtsi378 keypad,num-rows = <8>;
/linux-4.4.14/include/linux/platform_data/
Dkeypad-omap.h19 int rows; member
/linux-4.4.14/drivers/media/usb/go7007/
Dgo7007-fw.c428 int rows = go->interlace_coding ? go->height / 32 : go->height / 16; in mpeg1_frame_header() local
487 for (i = 0; i < rows; ++i) { in mpeg1_frame_header()
1087 int rows = go->interlace_coding ? go->height / 32 : go->height / 16; in config_package() local
1141 0xc40a, (go->width << 4) | rows, in config_package()
1318 int rows = go->interlace_coding ? go->height / 32 : go->height / 16; in final_package() local
1335 (go->encoder_v_halve ? rows << 9 : rows << 8) | in final_package()
1348 (rows << 8) | (go->width >> 4), in final_package()
/linux-4.4.14/drivers/edac/
Dppc4xx_edac.c322 unsigned int row, rows; in ppc4xx_edac_generate_bank_message() local
333 for (rows = 0, row = 0; row < mci->nr_csrows; row++) { in ppc4xx_edac_generate_bank_message()
336 (rows++ ? ", " : ""), row); in ppc4xx_edac_generate_bank_message()
347 n = snprintf(buffer, size, "%s; ", rows ? "" : "None"); in ppc4xx_edac_generate_bank_message()
Dsb_edac.c615 int rows = (RANK_WIDTH_BITS(mtr) + 12); in numrow() local
617 if (rows < 13 || rows > 18) { in numrow()
619 rows, (unsigned int)RANK_WIDTH_BITS(mtr), mtr); in numrow()
623 return 1 << rows; in numrow()
932 unsigned i, j, banks, ranks, rows, cols, npages; in get_dimm_config() local
1006 rows = numrow(mtr); in get_dimm_config()
1009 size = ((u64)rows * cols * banks * ranks) >> (20 - 3); in get_dimm_config()
1015 banks, ranks, rows, cols); in get_dimm_config()
Di7core_edac.c437 static const int rows[] = { in numrow() local
442 return rows[row & 0x7]; in numrow()
594 u32 banks, ranks, rows, cols; in get_dimm_config() local
604 rows = numrow(MC_DOD_NUMROW(dimm_dod[j])); in get_dimm_config()
608 size = (rows * cols * banks * ranks) >> (20 - 3); in get_dimm_config()
613 banks, ranks, rows, cols); in get_dimm_config()
/linux-4.4.14/include/linux/i2c/
Dadp5588.h143 int rows; /* Number of rows */ member
Dtwl.h623 unsigned rows; member
/linux-4.4.14/drivers/pinctrl/
Dpinctrl-single.c1144 int size, rows, *pins, index = 0, found = 0, res = -ENOMEM; in pcs_parse_one_pinctrl_entry() local
1155 rows = size / 2; in pcs_parse_one_pinctrl_entry()
1157 vals = devm_kzalloc(pcs->dev, sizeof(*vals) * rows, GFP_KERNEL); in pcs_parse_one_pinctrl_entry()
1161 pins = devm_kzalloc(pcs->dev, sizeof(*pins) * rows, GFP_KERNEL); in pcs_parse_one_pinctrl_entry()
1232 int size, rows, *pins, index = 0, found = 0, res = -ENOMEM; in pcs_parse_bits_in_pinctrl_entry() local
1251 rows = size / PARAMS_FOR_BITS_PER_MUX; in pcs_parse_bits_in_pinctrl_entry()
1254 vals = devm_kzalloc(pcs->dev, sizeof(*vals) * rows * npins_in_row, in pcs_parse_bits_in_pinctrl_entry()
1259 pins = devm_kzalloc(pcs->dev, sizeof(*pins) * rows * npins_in_row, in pcs_parse_bits_in_pinctrl_entry()
/linux-4.4.14/arch/x86/xen/
Dvga.c30 screen_info->orig_video_lines = info->u.text_mode_3.rows; in xen_init_vga()
/linux-4.4.14/drivers/char/
Dvirtio_console.c1349 static void set_console_size(struct port *port, u16 rows, u16 cols) in set_console_size() argument
1354 port->cons.ws.ws_row = rows; in set_console_size()
1663 __u16 rows; in handle_control_message() member
1672 set_console_size(port, size.rows, size.cols); in handle_control_message()
1853 u16 rows, cols; in config_work_handler() local
1857 virtio_cread(vdev, struct virtio_console_config, rows, &rows); in config_work_handler()
1860 set_console_size(port, rows, cols); in config_work_handler()
/linux-4.4.14/Documentation/namespaces/
Dcompatibility-list.txt8 in different other namespaces (the rows):
/linux-4.4.14/arch/arm/mach-omap1/
Dboard-palmte.c82 .rows = 8,
Dboard-palmtt.c145 .rows = 6,
Dboard-palmz71.c80 .rows = 8,
Dboard-nokia770.c73 .rows = 8,
Dboard-perseus2.c204 .rows = 8,
Dboard-fsample.c246 .rows = 8,
Dboard-innovator.c136 .rows = 8,
Dboard-h2.c259 .rows = 8,
Dboard-sx1.c213 .rows = 6,
Dboard-h3.c296 .rows = 8,
Dboard-osk.c347 .rows = 8,
Dboard-htcherald.c238 .rows = 7,
Dboard-ams-delta.c340 .rows = 8,
/linux-4.4.14/drivers/input/touchscreen/
Delants_i2c.c412 u16 phy_x, phy_y, rows, cols, osr; in elants_i2c_query_ts_info() local
437 rows = resp[2] + resp[6] + resp[10]; in elants_i2c_query_ts_info()
478 if (rows == 0 || cols == 0 || osr == 0) { in elants_i2c_query_ts_info()
481 rows, cols, osr); in elants_i2c_query_ts_info()
484 ts->x_max = ELAN_TS_RESOLUTION(rows, osr); in elants_i2c_query_ts_info()
/linux-4.4.14/Documentation/s390/
D3270.ChangeLog7 screen height to omit the two rows used for input area, in
D3270.txt13 Linux/390. A 3270 device is a block-mode rows-and-columns terminal of
137 if you wanted a 3278 Model 4 with 43 rows of 80 columns, the
/linux-4.4.14/drivers/media/pci/saa7134/
Dsaa7134-video.c656 int cols = 0, rows = 0, i; in setup_clipping() local
668 row[rows].position = clip_range(clips[i].c.top / div); in setup_clipping()
669 row[rows].enable = (1 << i); in setup_clipping()
670 rows++; in setup_clipping()
671 row[rows].position = clip_range((clips[i].c.top + clips[i].c.height) in setup_clipping()
673 row[rows].disable = (1 << i); in setup_clipping()
674 rows++; in setup_clipping()
677 sort(row, rows, sizeof row[0], cliplist_cmp, NULL); in setup_clipping()
679 set_cliplist(dev,0x384,row,rows,"rows"); in setup_clipping()
/linux-4.4.14/include/xen/interface/
Dxen.h700 uint16_t rows, columns; member
/linux-4.4.14/tools/perf/ui/browsers/
Dhists.c89 browser->rows = browser->height - header_offset; in hist_browser__update_rows()
95 if (index_row >= browser->rows) in hist_browser__update_rows()
96 browser->index -= index_row - browser->rows + 1; in hist_browser__update_rows()
478 browser->b.rows, in hist_browser__run()
569 return browser->b.rows == row; in hist_browser__check_output_full()
836 if (folded_sign == '-' && row != browser->b.rows) { in hist_browser__show_entry()
949 if (row == browser->rows) in hist_browser__refresh()
/linux-4.4.14/arch/arm/mach-omap2/
Dboard-ldp.c84 .rows = 6,
Dboard-rx51-peripherals.c446 .rows = 8,
/linux-4.4.14/Documentation/cpu-freq/
Dcpufreq-stats.txt83 Freq_i to Freq_j. Freq_i is in descending order with increasing rows and
/linux-4.4.14/drivers/gpu/drm/omapdrm/
Domap_dmm_tiler.c213 int rows = (1 + area->y1 - area->y0); in dmm_txn_append() local
214 int i = columns*rows; in dmm_txn_append()
/linux-4.4.14/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c3025 u8 dw, rows, cols, banks, ranks; in netxen_sysfs_read_dimm() local
3043 rows = NETXEN_DIMM_NUMROWS(val); in netxen_sysfs_read_dimm()
3082 if (!rows) { in netxen_sysfs_read_dimm()
3083 netdev_err(netdev, "Invalid no of rows %x\n", rows); in netxen_sysfs_read_dimm()
3129 dimm.size = ((1 << rows) * (1 << cols) * dw * banks * ranks) / 8; in netxen_sysfs_read_dimm()
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_core.c105 void ip_vs_init_hash_table(struct list_head *table, int rows) in ip_vs_init_hash_table() argument
107 while (--rows >= 0) in ip_vs_init_hash_table()
108 INIT_LIST_HEAD(&table[rows]); in ip_vs_init_hash_table()
/linux-4.4.14/arch/um/drivers/
Dchan_kern.c57 static int not_configged_window_size(int fd, void *data, unsigned short *rows, in not_configged_window_size() argument
/linux-4.4.14/drivers/video/fbdev/sis/
Dsis_main.h161 u16 rows; member
/linux-4.4.14/drivers/tty/vt/
Dvt.c148 static void vc_init(struct vc_data *vc, unsigned int rows,
970 int vc_resize(struct vc_data *vc, unsigned int cols, unsigned int rows) in vc_resize() argument
972 return vc_do_resize(vc->port.tty, vc, cols, rows); in vc_resize()
2929 static void vc_init(struct vc_data *vc, unsigned int rows, in vc_init() argument
2935 vc->vc_rows = rows; in vc_init()
/linux-4.4.14/arch/blackfin/mach-bf548/boards/
Dcm_bf548.c93 .rows = 4,
Dezkit.c132 .rows = 4,
/linux-4.4.14/include/linux/mfd/
Dcros_ec_commands.h1645 uint32_t rows; member
/linux-4.4.14/Documentation/mtd/
Dnand_ecc.txt28 bytes. This is done by calculating several parity bits over the rows and
163 Similarly we can first xor the bytes for the various rows.
/linux-4.4.14/Documentation/
Dsvga.txt135 form where RR is a number of rows and CC is a number of columns.
/linux-4.4.14/include/net/
Dip_vs.h1149 void ip_vs_init_hash_table(struct list_head *table, int rows);
/linux-4.4.14/Documentation/m68k/
Dkernel-options.txt365 vertical size of the display is less than 400 pixel rows. Otherwise, the
747 rows.
/linux-4.4.14/arch/blackfin/mach-bf537/boards/
Dstamp.c1871 .rows = 8,