/drivers/input/ |
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 …]
|
/drivers/video/fbdev/ |
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()
|
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()
|
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()
|
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()
|
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()
|
/drivers/cpufreq/ |
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()
|
/drivers/input/keyboard/ |
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()
|
D | tca8418_keypad.c | 235 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()
|
D | omap-keypad.c | 43 unsigned int rows; member 110 for (row = 0; row < omap_kp_data->rows; row++) { in omap_kp_tasklet() 186 if (!pdata->rows || !pdata->cols || !pdata->keymap_data) { in omap_kp_probe() 192 keycodemax = pdata->rows << row_shift; in omap_kp_probe() 217 omap_kp->rows = pdata->rows; in omap_kp_probe() 247 pdata->rows, pdata->cols, in omap_kp_probe()
|
D | samsung-keypad.c | 73 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()
|
D | omap4-keypad.c | 78 unsigned int rows; member 124 for_each_set_bit(bit, mask, keypad_data->rows * BITS_PER_BYTE) { in omap4_keypad_report_keys() 272 err = matrix_keypad_parse_properties(dev, &keypad_data->rows, in omap4_keypad_parse_dt() 422 max_keys = keypad_data->rows << keypad_data->row_shift; in omap4_keypad_probe() 433 keypad_data->rows, keypad_data->cols, in omap4_keypad_probe()
|
D | adp5588-keys.c | 187 u32 rows; member 345 for (i = 0; i < kpad->rows; i++) in adp5588_build_gpiomap() 604 ret = adp5588_write(client, KP_GPIO1, KP_SEL(kpad->rows)); in adp5588_setup() 650 ret = matrix_keypad_parse_properties(&client->dev, &kpad->rows, in adp5588_fw_parse() 655 if (kpad->rows > ADP5588_ROWS_MAX || kpad->cols > ADP5588_COLS_MAX) { in adp5588_fw_parse() 657 kpad->rows, kpad->cols); in adp5588_fw_parse() 661 ret = matrix_keypad_build_keymap(NULL, NULL, kpad->rows, kpad->cols, in adp5588_fw_parse() 700 if (kpad->unlock_keys[i] >= kpad->cols * kpad->rows) { in adp5588_fw_parse()
|
D | lpc32xx-keys.c | 135 u32 rows = 0, columns = 0; in lpc32xx_parse_dt() local 138 err = matrix_keypad_parse_properties(dev, &rows, &columns); in lpc32xx_parse_dt() 141 if (rows != columns) { in lpc32xx_parse_dt() 146 kscandat->matrix_sz = rows; in lpc32xx_parse_dt()
|
/drivers/s390/char/ |
D | raw3270.c | 41 int model, rows, cols; member 125 y = max_t(int, 0, rp->view->rows + y); in raw3270_buffer_address() 455 rp->rows = diag8c_data.height; in raw3270_size_device_vm() 472 rp->rows = 24; in raw3270_size_device_vm() 477 rp->rows = 32; in raw3270_size_device_vm() 482 rp->rows = 43; in raw3270_size_device_vm() 487 rp->rows = 27; in raw3270_size_device_vm() 503 rp->rows = 24; in raw3270_size_device() 508 rp->rows = uap->uab.h; in raw3270_size_device() 516 rp->rows = uap->aua.hauai; in raw3270_size_device() [all …]
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_debugfs.h | 49 unsigned int rows; /* # of entries */ member 60 struct seq_tab *seq_open_tab(struct file *f, unsigned int rows,
|
/drivers/gpu/drm/gma500/ |
D | mmu.c | 482 uint32_t rows = 1; in psb_mmu_flush_ptes() local 496 rows = num_pages / desired_tile_stride; in psb_mmu_flush_ptes() 503 for (i = 0; i < rows; ++i) { in psb_mmu_flush_ptes() 569 uint32_t rows = 1; in psb_mmu_remove_pages() local 579 rows = num_pages / desired_tile_stride; in psb_mmu_remove_pages() 590 for (i = 0; i < rows; ++i) { in psb_mmu_remove_pages() 672 uint32_t rows = 1; in psb_mmu_insert_pages() local 686 rows = num_pages / desired_tile_stride; in psb_mmu_insert_pages() 696 for (i = 0; i < rows; ++i) { in psb_mmu_insert_pages()
|
/drivers/net/ethernet/sfc/ |
D | nic.c | 200 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/staging/media/av7110/ |
D | video-fclose.rst | 26 :header-rows: 0 44 :header-rows: 0
|
D | audio-fclose.rst | 26 :header-rows: 0 44 :header-rows: 0
|
/drivers/auxdisplay/ |
D | ht16k33.c | 72 uint32_t rows; member 521 u32 rows = HT16K33_MATRIX_KEYPAD_MAX_ROWS; in ht16k33_keypad_probe() local 549 err = matrix_keypad_parse_properties(dev, &rows, &cols); in ht16k33_keypad_probe() 552 if (rows > HT16K33_MATRIX_KEYPAD_MAX_ROWS || in ht16k33_keypad_probe() 554 dev_err(dev, "%u rows or %u cols out of range in DT\n", rows, in ht16k33_keypad_probe() 559 keypad->rows = rows; in ht16k33_keypad_probe() 563 err = matrix_keypad_build_keymap(NULL, NULL, rows, cols, NULL, in ht16k33_keypad_probe()
|
/drivers/video/fbdev/core/ |
D | fbcon.h | 234 int rows = p->vrows; in real_y() local 237 return ypos < rows ? ypos : ypos - rows; in real_y()
|
D | fbcon.c | 546 int cols, int rows, int new_cols, int new_rows) in fbcon_prepare_logo() argument 552 int cols, int rows, int new_cols, int new_rows) in fbcon_prepare_logo() argument 574 vc->vc_size_row * rows); in fbcon_prepare_logo() 579 if (r != q && new_rows >= rows + logo_lines) { in fbcon_prepare_logo() 594 for (cnt = rows - logo_lines; cnt > 0; cnt--) { in fbcon_prepare_logo() 600 if (vc->state.y + logo_lines >= rows) in fbcon_prepare_logo() 601 lines = rows - vc->state.y - 1; in fbcon_prepare_logo() 620 rows); in fbcon_prepare_logo() 928 int rows, cols; in fbcon_startup() local 974 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_startup() [all …]
|
/drivers/pinctrl/ti/ |
D | pinctrl-ti-iodelay.c | 494 int rows, *pins, error = -EINVAL, i; in ti_iodelay_dt_node_to_map() local 500 rows = pinctrl_count_index_with_args(np, name); in ti_iodelay_dt_node_to_map() 501 if (rows < 0) in ti_iodelay_dt_node_to_map() 502 return rows; in ti_iodelay_dt_node_to_map() 515 pins = devm_kcalloc(iod->dev, rows, sizeof(*pins), GFP_KERNEL); in ti_iodelay_dt_node_to_map() 521 cfg = devm_kcalloc(iod->dev, rows, sizeof(*cfg), GFP_KERNEL); in ti_iodelay_dt_node_to_map() 527 for (i = 0; i < rows; i++) { in ti_iodelay_dt_node_to_map()
|
/drivers/comedi/drivers/ni_routing/tools/ |
D | convert_py_to_csv.py | 40 rows = [ 48 dR.writerows(rows)
|