/drivers/video/fbdev/ |
H A D | atafb_mfb.c | 29 u_int rows; local 38 for (rows = height; rows--;) { 46 for (rows = height; rows--;) { 58 u_int rows; local 68 for (rows = height; rows--; dest += next_line) { 82 u_int rows; local 86 for (rows [all...] |
H A D | atafb_iplan2p2.c | 197 int rows, i; local 215 rows = width >> 4; 216 if (rows) { 218 u32 off = next_line - rows * BPL * 2; 220 d = fill16_col(d, rows, cval); 223 dest += rows * BPL / 2; 245 int rows; local 259 for (rows = width / 16; rows; rows [all...] |
H A D | atafb_iplan2p4.c | 211 int rows, i; local 229 rows = width >> 4; 230 if (rows) { 232 u32 off = next_line - rows * BPL * 2; 234 d = fill16_col(d, rows, cval); 237 dest += rows * BPL / 2; 259 int rows; local 273 for (rows = width / 16; rows; rows [all...] |
H A D | hgafb.c | 459 u_int rows, y; local 464 for (rows = rect->height; rows--; y++) { 479 u_int rows, y1, y2; local 487 for (rows = area->height; rows--; ) { 498 for (rows = area->height; rows--;) { 512 u_int rows, y = image->dy; local 516 for (rows [all...] |
H A D | atafb_iplan2p8.c | 246 int rows, i; local 264 rows = width >> 4; 265 if (rows) { 267 u32 off = next_line - rows * BPL * 2; 269 d = fill16_col(d, rows, cval); 272 dest += rows * BPL / 2; 294 int rows; local 308 for (rows = width / 16; rows; rows [all...] |
H A D | atafb_utils.h | 358 static inline u32 *fill16_col(u32 *dst, int rows, u32 m[]) argument 360 while (rows) { 369 rows--;
|
/drivers/input/ |
H A D | matrix-keymap.c | 31 unsigned int rows, unsigned int cols, 39 if (row >= rows || col >= cols) { 41 "%s: invalid keymap entry 0x%x (row: %d, col: %d, rows: %d, cols: %d)\n", 42 __func__, key, row, col, rows, cols); 54 unsigned int *rows, unsigned int *cols) 62 of_property_read_u32(np, "keypad,num-rows", rows); 64 if (!*rows || !*cols) { 65 dev_err(dev, "number of keypad rows/columns not specified\n"); 74 unsigned int rows, unsigne 30 matrix_keypad_map_key(struct input_dev *input_dev, unsigned int rows, unsigned int cols, unsigned int row_shift, unsigned int key) argument 53 matrix_keypad_parse_of_params(struct device *dev, unsigned int *rows, unsigned int *cols) argument 73 matrix_keypad_parse_of_keymap(const char *propname, unsigned int rows, unsigned int cols, struct input_dev *input_dev) argument 120 matrix_keypad_parse_of_keymap(const char *propname, unsigned int rows, unsigned int cols, struct input_dev *input_dev) argument 155 matrix_keypad_build_keymap(const struct matrix_keymap_data *keymap_data, const char *keymap_name, unsigned int rows, unsigned int cols, unsigned short *keymap, struct input_dev *input_dev) argument [all...] |
/drivers/cpufreq/ |
H A D | sa1110-cpufreq.c | 37 u_char rows; /* bits */ member in struct:sdram_params 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;
|
/drivers/input/keyboard/ |
H A D | tca8418_keypad.c | 235 u32 rows, u32 cols) 247 reg = ~(~0 << rows); 272 u32 rows = 0, cols = 0; local 285 rows = pdata->rows; 293 err = matrix_keypad_parse_of_params(dev, &rows, &cols); 299 if (!rows || rows > TCA8418_MAX_ROWS) { 300 dev_err(dev, "invalid rows\n"); 317 max_keys = rows << row_shif 234 tca8418_configure(struct tca8418_keypad *keypad_data, u32 rows, u32 cols) argument [all...] |
H A D | omap-keypad.c | 55 unsigned int rows; member in struct:omap_kp 81 for (row = 0; row < omap_kp->rows; row++) { 148 for (row = 0; row < omap_kp_data->rows; row++) { 254 if (!pdata->rows || !pdata->cols || !pdata->keymap_data) { 255 printk(KERN_ERR "No rows, cols or keymap_data from pdata\n"); 260 keycodemax = pdata->rows << row_shift; 286 omap_kp->rows = pdata->rows; 316 pdata->rows, pdata->cols,
|
H A D | bf54x-keys.c | 186 if (!pdata->rows || !pdata->cols || !pdata->keymap) { 187 dev_err(&pdev->dev, "no rows, cols or keymap from pdata\n"); 192 pdata->keymapsize > (pdata->rows * pdata->cols)) { 231 if (peripheral_request_list((u16 *)&per_rows[MAX_RC - pdata->rows], 308 (((pdata->rows - 1) << 10) & KPAD_ROWEN) | 324 peripheral_free_list((u16 *)&per_rows[MAX_RC - pdata->rows]); 343 peripheral_free_list((u16 *)&per_rows[MAX_RC - pdata->rows]);
|
H A D | samsung-keypad.c | 77 unsigned int rows; member in struct:samsung_keypad 102 row_state[col] = ~val & ((1 << keypad->rows) - 1); 125 for (row = 0; row < keypad->rows; row++) { 266 of_property_read_u32(np, "samsung,keypad-num-rows", &num_rows); 269 dev_err(dev, "number of keypad rows/columns not specified\n"); 272 pdata->rows = num_rows; 341 if (!pdata->rows || pdata->rows > SAMSUNG_MAX_ROWS) 349 pdata->cfg_gpio(pdata->rows, pdata->cols); 352 keymap_size = (pdata->rows << row_shif [all...] |
H A D | cros_ec_keyb.c | 37 * @rows: Number of rows in the keypad 39 * @row_shift: log2 or number of rows, rounded up 49 unsigned int rows; member in struct:cros_ec_keyb 129 for (row = 0; row < ckdev->rows; row++) { 214 for (row = 0; row < ckdev->rows; row++) { 240 err = matrix_keypad_parse_of_params(&pdev->dev, &ckdev->rows, 280 err = matrix_keypad_build_keymap(NULL, NULL, ckdev->rows, ckdev->cols,
|
H A D | stmpe-keypad.c | 58 * @max_rows: maximum number of rows supported 60 * @row_gpios: bitmask of gpios which can be used for rows 108 unsigned int rows; member in struct:stmpe_keypad 181 * {cols,rows}_gpios are bitmasks of which pins on the chip can be used 184 * keypad->{cols,rows} are a bitmask of which pins (of the ones useable 200 if (keypad->rows & (1 << i)) 234 ret = stmpe_reg_write(stmpe, STMPE_KPC_ROW_LSB, keypad->rows); 241 keypad->rows >> 8); 268 keypad->rows |= 1 << row;
|
H A D | omap4-keypad.c | 78 unsigned int rows; member in struct:omap4_keypad 140 for (row = 0; row < keypad_data->rows; row++) { 226 err = matrix_keypad_parse_of_params(dev, &keypad_data->rows, 339 max_keys = keypad_data->rows << keypad_data->row_shift; 349 keypad_data->rows, keypad_data->cols,
|
H A D | lpc32xx-keys.c | 146 u32 rows = 0, columns = 0; local 149 err = matrix_keypad_parse_of_params(dev, &rows, &columns); 152 if (rows != columns) { 153 dev_err(dev, "rows and columns must be equal!\n"); 157 kscandat->matrix_sz = rows;
|
/drivers/message/i2o/ |
H A D | debug.c | 392 u32 *rows = (u32 *) c->hrt.virt; local 413 rows += 2; 416 printk(KERN_INFO "Adapter %08X: ", rows[0]); 417 p = (u8 *) (rows + 1); 418 d = (u8 *) (rows + 2); 468 rows += length;
|
/drivers/s390/char/ |
H A D | tty3270.c | 153 off = tp->view.cols * tp->view.rows - 9; 179 offset = tp->view.cols * (tp->view.rows - 2); 181 offset = tp->view.cols * tp->view.rows - 9; 218 offset = tp->view.cols * tp->view.rows - 9; 254 line = tp->view.rows - 3; 282 BUG_ON(tp->nr_lines <= tp->view.rows - 2); 293 tp->nr_up + tp->view.rows - 2 >= tp->nr_lines) { 294 tp->nr_up = tp->nr_lines - tp->view.rows + 2; 494 nr_up = tp->nr_up - tp->view.rows + 2; 516 nr_up = tp->nr_up + tp->view.rows 759 tty3270_alloc_screen(unsigned int rows, unsigned int cols) argument 788 tty3270_free_screen(struct tty3270_line *screen, unsigned int rows) argument 840 tty3270_resize(struct raw3270_view *view, int model, int rows, int cols) argument [all...] |
H A D | con3270.c | 113 cp->view.cols * (cp->view.rows - 1)); 115 cp->view.cols * cp->view.rows - 8); 148 nr = cp->view.rows - 2 + cp->nr_up; 150 if (nr < cp->view.rows - 1) 180 if (cp->nr_up != 0 && cp->nr_up + cp->view.rows > cp->nr_lines) { 181 cp->nr_up = cp->nr_lines - cp->view.rows + 1; 311 nr_up += cp->view.rows - 2; 312 if (nr_up + cp->view.rows - 1 > cp->nr_lines) { 313 nr_up = cp->nr_lines - cp->view.rows + 1; 319 nr_up -= cp->view.rows [all...] |
H A D | raw3270.c | 39 short model, rows, cols; member in struct:raw3270 492 rp->rows = 24; 497 rp->rows = 32; 502 rp->rows = 43; 507 rp->rows = 27; 525 rp->rows = 24; 529 /* Copy rows/columns of default Usable Area */ 530 rp->rows = uap->uab.h; 538 rp->rows = uap->aua.hauai; 543 if (rp->rows [all...] |
/drivers/uwb/ |
H A D | allocator.c | 56 int mas, col, rows; local 61 rows = 1; 66 if (rows > ri->used_rows) { 68 } else if (rows > 7) { 81 rows++;
|
/drivers/video/console/ |
H A D | fbcon.h | 35 int vrows; /* number of virtual rows */ 228 int rows = p->vrows; local 231 return ypos < rows ? ypos : ypos - rows;
|
/drivers/gpu/drm/gma500/ |
H A D | mmu.c | 514 uint32_t rows = 1; local 528 rows = num_pages / desired_tile_stride; 535 for (i = 0; i < rows; ++i) { 609 uint32_t rows = 1; local 619 rows = num_pages / desired_tile_stride; 630 for (i = 0; i < rows; ++i) { 712 uint32_t rows = 1; local 726 rows = num_pages / desired_tile_stride; 736 for (i = 0; i < rows; ++i) {
|
/drivers/media/usb/pwc/ |
H A D | pwc-dec23.c | 532 unsigned int htable_idx, rows = 0; local 570 rows = ((mask << shift) + 0x80) & 0xFF; 572 block = pdec->table_subblock[rows]; 585 rows = ptable0004[offset1 + hash_table_ops [htable_idx * 4 + 3]]; 586 block = pdec->table_subblock[rows];
|
/drivers/net/ethernet/sfc/ |
H A D | nic.c | 310 u32 step:6, rows:21; member in struct:efx_nic_reg_table 313 #define REGISTER_TABLE_DIMENSIONS(_, offset, arch, min_rev, max_rev, step, rows) { \ 317 step, rows \ 389 len += table->rows * min_t(size_t, table->step, 16); 420 for (i = 0; i < table->rows; i++) {
|