Home
last modified time | relevance | path

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

123

/drivers/input/
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()
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()
108 if (!matrix_keypad_map_key(input_dev, rows, cols, in matrix_keypad_parse_keymap()
145 unsigned int rows, unsigned int cols, in matrix_keypad_build_keymap() argument
[all …]
/drivers/video/fbdev/
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()
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()
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()
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()
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()
/drivers/cpufreq/
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()
/drivers/input/keyboard/
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()
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()
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()
A Dsamsung-keypad.c72 unsigned int rows; member
92 row_state[col] = ~val & GENMASK(keypad->rows - 1, 0); in samsung_keypad_scan()
115 for (row = 0; row < keypad->rows; row++) { in samsung_keypad_report()
261 pdata->rows = num_rows; in samsung_keypad_parse_dt()
331 if (!pdata->rows || pdata->rows > SAMSUNG_MAX_ROWS) in samsung_keypad_probe()
339 pdata->cfg_gpio(pdata->rows, pdata->cols); in samsung_keypad_probe()
345 pdata->rows << row_shift), in samsung_keypad_probe()
371 keypad->rows = pdata->rows; in samsung_keypad_probe()
395 pdata->rows, pdata->cols, in samsung_keypad_probe()
A Domap4-keypad.c79 unsigned int rows; member
126 for_each_set_bit(bit, mask, keypad_data->rows * BITS_PER_BYTE) { in omap4_keypad_report_keys()
278 err = matrix_keypad_parse_properties(dev, &keypad_data->rows, in omap4_keypad_parse_dt()
433 max_keys = keypad_data->rows << keypad_data->row_shift; in omap4_keypad_probe()
444 keypad_data->rows, keypad_data->cols, in omap4_keypad_probe()
A Dlpc32xx-keys.c134 u32 rows = 0, columns = 0; in lpc32xx_parse_dt() local
137 err = matrix_keypad_parse_properties(dev, &rows, &columns); in lpc32xx_parse_dt()
140 if (rows != columns) { in lpc32xx_parse_dt()
145 kscandat->matrix_sz = rows; in lpc32xx_parse_dt()
A Dadp5588-keys.c187 u32 rows; member
332 for (i = 0; i < kpad->rows; i++) in adp5588_build_gpiomap()
598 ret = adp5588_write(client, KP_GPIO1, KP_SEL(kpad->rows)); in adp5588_setup()
656 ret = matrix_keypad_parse_properties(&client->dev, &kpad->rows, in adp5588_fw_parse()
661 if (kpad->rows > ADP5588_ROWS_MAX || kpad->cols > ADP5588_COLS_MAX) { in adp5588_fw_parse()
663 kpad->rows, kpad->cols); in adp5588_fw_parse()
667 ret = matrix_keypad_build_keymap(NULL, NULL, kpad->rows, kpad->cols, in adp5588_fw_parse()
706 if (kpad->unlock_keys[i] >= kpad->cols * kpad->rows) { in adp5588_fw_parse()
A Dadp5585-keys.c106 u32 cols = 0, rows = 0, pin; in adp5585_keys_parse_fw() local
160 rows = find_last_bit(&kpad->keypad, kpad->info->max_rows) + 1; in adp5585_keys_parse_fw()
161 if (rows == kpad->info->max_rows + 1) in adp5585_keys_parse_fw()
172 error = matrix_keypad_build_keymap(NULL, NULL, rows, cols, in adp5585_keys_parse_fw()
/drivers/s390/char/
A Draw3270.c45 int model, rows, cols; member
478 rp->rows = 24; in raw3270_size_device_vm()
483 rp->rows = 32; in raw3270_size_device_vm()
488 rp->rows = 43; in raw3270_size_device_vm()
493 rp->rows = 27; in raw3270_size_device_vm()
509 rp->rows = 24; in raw3270_size_device()
514 rp->rows = uap->uab.h; in raw3270_size_device()
549 rp->old_rows = rp->rows; in raw3270_resize_work()
746 rp->rows = 24; in raw3270_setup_device()
748 rp->old_rows = rp->rows; in raw3270_setup_device()
[all …]
/drivers/gpu/drm/gma500/
A Dmmu.c483 uint32_t rows = 1; in psb_mmu_flush_ptes() local
497 rows = num_pages / desired_tile_stride; in psb_mmu_flush_ptes()
504 for (i = 0; i < rows; ++i) { in psb_mmu_flush_ptes()
570 uint32_t rows = 1; in psb_mmu_remove_pages() local
580 rows = num_pages / desired_tile_stride; in psb_mmu_remove_pages()
591 for (i = 0; i < rows; ++i) { in psb_mmu_remove_pages()
673 uint32_t rows = 1; in psb_mmu_insert_pages() local
687 rows = num_pages / desired_tile_stride; in psb_mmu_insert_pages()
697 for (i = 0; i < rows; ++i) { in psb_mmu_insert_pages()
/drivers/edac/
A Dversal_edac.c939 union edac_info rows; in process_bit() local
941 rows.i = regval; in process_bit()
942 priv->row_bit[start] = rows.row0; in process_bit()
943 priv->row_bit[start + 1] = rows.row1; in process_bit()
944 priv->row_bit[start + 2] = rows.row2; in process_bit()
945 priv->row_bit[start + 3] = rows.row3; in process_bit()
952 union edac_info rows; in setup_row_address_map() local
964 rows.i = regval; in setup_row_address_map()
966 priv->row_bit[15] = rows.row0; in setup_row_address_map()
967 priv->row_bit[16] = rows.row1; in setup_row_address_map()
[all …]
/drivers/net/ethernet/sfc/
A Dnic.c200 u32 step:6, rows:21; member
203 #define REGISTER_TABLE_DIMENSIONS(_, offset, arch, min_rev, max_rev, step, rows) { \ argument
207 step, rows \
239 len += table->rows * min_t(size_t, table->step, 16); in efx_nic_get_regs_len()
270 for (i = 0; i < table->rows; i++) { in efx_nic_get_regs()
/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_debugfs.h49 unsigned int rows; /* # of entries */ member
60 struct seq_tab *seq_open_tab(struct file *f, unsigned int rows,
/drivers/auxdisplay/
A Dht16k33.c73 uint32_t rows; member
497 u32 rows = HT16K33_MATRIX_KEYPAD_MAX_ROWS; in ht16k33_keypad_probe() local
525 err = matrix_keypad_parse_properties(dev, &rows, &cols); in ht16k33_keypad_probe()
528 if (rows > HT16K33_MATRIX_KEYPAD_MAX_ROWS || in ht16k33_keypad_probe()
530 dev_err(dev, "%u rows or %u cols out of range in DT\n", rows, in ht16k33_keypad_probe()
535 keypad->rows = rows; in ht16k33_keypad_probe()
539 err = matrix_keypad_build_keymap(NULL, NULL, rows, cols, NULL, in ht16k33_keypad_probe()
/drivers/video/fbdev/core/
A Dfbcon.h198 int rows = p->vrows; in real_y() local
201 return ypos < rows ? ypos : ypos - rows; in real_y()
A Dfbcon.c609 vc->vc_size_row * rows); in fbcon_prepare_logo()
655 rows); in fbcon_prepare_logo()
965 int rows, cols; in fbcon_startup() local
1013 rows /= vc->vc_font.height; in fbcon_startup()
1014 vc_resize(vc, cols, rows); in fbcon_startup()
1115 rows = vc->vc_rows; in fbcon_init()
1378 int rows, cols; in fbcon_set_disp() local
1429 rows /= vc->vc_font.height; in fbcon_set_disp()
2459 int cols, rows; in fbcon_do_set_font() local
2464 rows /= h; in fbcon_do_set_font()
[all …]
/drivers/pinctrl/ti/
A Dpinctrl-ti-iodelay.c501 int rows, *pins, error = -EINVAL, i; in ti_iodelay_dt_node_to_map() local
507 rows = pinctrl_count_index_with_args(np, name); in ti_iodelay_dt_node_to_map()
508 if (rows < 0) in ti_iodelay_dt_node_to_map()
509 return rows; in ti_iodelay_dt_node_to_map()
522 pins = devm_kcalloc(iod->dev, rows, sizeof(*pins), GFP_KERNEL); in ti_iodelay_dt_node_to_map()
528 cfg = devm_kcalloc(iod->dev, rows, sizeof(*cfg), GFP_KERNEL); in ti_iodelay_dt_node_to_map()
534 for (i = 0; i < rows; i++) { in ti_iodelay_dt_node_to_map()
/drivers/comedi/drivers/ni_routing/tools/
A Dconvert_py_to_csv.py40 rows = [
48 dR.writerows(rows)

Completed in 54 milliseconds

123