Home
last modified time | relevance | path

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

12345

/linux-2.6.39/drivers/video/
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.c459 u_int rows, y; in hgafb_fillrect() local
464 for (rows = rect->height; rows--; y++) { in hgafb_fillrect()
479 u_int rows, y1, y2; in hgafb_copyarea() local
487 for (rows = area->height; rows--; ) { in hgafb_copyarea()
498 for (rows = area->height; rows--;) { in hgafb_copyarea()
512 u_int rows, y = image->dy; in hgafb_imageblit() local
516 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()
/linux-2.6.39/arch/arm/mach-exynos4/
Dsetup-keypad.c16 void samsung_keypad_cfg_gpio(unsigned int rows, unsigned int cols) in samsung_keypad_cfg_gpio() argument
20 if (rows > 8) { in samsung_keypad_cfg_gpio()
25 s3c_gpio_cfgrange_nopull(EXYNOS4_GPX3(0), (rows - 8), in samsung_keypad_cfg_gpio()
29 s3c_gpio_cfgrange_nopull(EXYNOS4_GPX2(0), rows, in samsung_keypad_cfg_gpio()
/linux-2.6.39/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-2.6.39/arch/arm/mach-sa1100/
Dcpu-sa1110.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-2.6.39/drivers/input/keyboard/
Domap-keypad.c60 unsigned int rows; member
85 for (row = 0; row < omap_kp->rows; row++) { in get_row_gpio_val()
104 for (i = 0; i < omap_kp->rows; i++) { in omap_kp_interrupt()
183 for (row = 0; row < omap_kp_data->rows; row++) { in omap_kp_tasklet()
225 for (i = 0; i < omap_kp_data->rows; i++) in omap_kp_tasklet()
293 if (!pdata->rows || !pdata->cols || !pdata->keymap_data) { in omap_kp_probe()
299 keycodemax = pdata->rows << row_shift; in omap_kp_probe()
333 omap_kp->rows = pdata->rows; in omap_kp_probe()
348 for (row_idx = 0; row_idx < omap_kp->rows; row_idx++) { in omap_kp_probe()
405 for (irq_idx = 0; irq_idx < omap_kp->rows; irq_idx++) { in omap_kp_probe()
[all …]
Dsamsung-keypad.c72 unsigned int rows; member
107 row_state[col] = ~val & ((1 << keypad->rows) - 1); in samsung_keypad_scan()
130 for (row = 0; row < keypad->rows; row++) { in samsung_keypad_report()
261 if (!pdata->rows || pdata->rows > SAMSUNG_MAX_ROWS) in samsung_keypad_probe()
269 pdata->cfg_gpio(pdata->rows, pdata->cols); in samsung_keypad_probe()
272 keymap_size = (pdata->rows << row_shift) * sizeof(keypad->keycodes[0]); in samsung_keypad_probe()
302 keypad->rows = pdata->rows; in samsung_keypad_probe()
322 input_dev->keycodemax = pdata->rows << row_shift; in samsung_keypad_probe()
Dbf54x-keys.c187 if (!pdata->rows || !pdata->cols || !pdata->keymap) { in bfin_kpad_probe()
193 pdata->keymapsize > (pdata->rows * pdata->cols)) { in bfin_kpad_probe()
232 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()
344 peripheral_free_list((u16 *)&per_rows[MAX_RC - pdata->rows]); in bfin_kpad_remove()
Domap4-keypad.c77 unsigned int rows; member
101 for (row = 0; row < keypad_data->rows; row++) { in omap4_keypad_interrupt()
213 max_keys = pdata->rows << row_shift; in omap4_keypad_probe()
241 keypad_data->rows = pdata->rows; in omap4_keypad_probe()
Dstmpe-keypad.c109 unsigned int rows; member
201 if (keypad->rows & (1 << i)) in stmpe_keypad_altfunc_init()
235 ret = stmpe_reg_write(stmpe, STMPE_KPC_ROW_LSB, keypad->rows); in stmpe_keypad_chip_init()
242 keypad->rows >> 8); in stmpe_keypad_chip_init()
309 keypad->rows |= 1 << KEY_ROW(key); in stmpe_keypad_probe()
/linux-2.6.39/arch/arm/plat-samsung/include/plat/
Dkeypad.h35 unsigned int rows; member
40 void (*cfg_gpio)(unsigned int rows, unsigned int cols);
54 extern void samsung_keypad_cfg_gpio(unsigned int rows, unsigned int cols);
/linux-2.6.39/scripts/
Dbootgraph.pl145 my %rows;
156 if (!defined($rows{$pid})) {
157 $rows{$pid} = $rowscount;
166 $y = $rows{$pid} * 150;
/linux-2.6.39/drivers/message/i2o/
Ddebug.c392 u32 *rows = (u32 *) c->hrt.virt; in i2o_dump_hrt() local
413 rows += 2; in i2o_dump_hrt()
416 printk(KERN_INFO "Adapter %08X: ", rows[0]); in i2o_dump_hrt()
417 p = (u8 *) (rows + 1); in i2o_dump_hrt()
418 d = (u8 *) (rows + 2); in i2o_dump_hrt()
468 rows += length; in i2o_dump_hrt()
/linux-2.6.39/arch/arm/mach-s3c64xx/
Dsetup-keypad.c17 void samsung_keypad_cfg_gpio(unsigned int rows, unsigned int cols) in samsung_keypad_cfg_gpio() argument
20 s3c_gpio_cfgrange_nopull(S3C64XX_GPK(8), rows, S3C_GPIO_SFN(3)); in samsung_keypad_cfg_gpio()
/linux-2.6.39/arch/arm/mach-s5pv210/
Dsetup-keypad.c17 void samsung_keypad_cfg_gpio(unsigned int rows, unsigned int cols) in samsung_keypad_cfg_gpio() argument
20 s3c_gpio_cfgrange_nopull(S5PV210_GPH3(0), rows, S3C_GPIO_SFN(3)); in samsung_keypad_cfg_gpio()
/linux-2.6.39/arch/arm/mach-s5pc100/
Dsetup-keypad.c16 void samsung_keypad_cfg_gpio(unsigned int rows, unsigned int cols) in samsung_keypad_cfg_gpio() argument
19 s3c_gpio_cfgrange_nopull(S5PC100_GPH3(0), rows, S3C_GPIO_SFN(3)); in samsung_keypad_cfg_gpio()
/linux-2.6.39/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 …]
/linux-2.6.39/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()
498 nr_up = tp->nr_up - tp->view.rows + 2; in tty3270_scroll_forward()
521 nr_up = tp->nr_up + tp->view.rows - 2; in tty3270_scroll_backward()
[all …]
Dcon3270.c110 cp->view.cols * (cp->view.rows - 1)); in con3270_create_status()
112 cp->view.cols * cp->view.rows - 8); in con3270_create_status()
145 nr = cp->view.rows - 2 + cp->nr_up; in con3270_rebuild_update()
147 if (nr < cp->view.rows - 1) in con3270_rebuild_update()
177 if (cp->nr_up != 0 && cp->nr_up + cp->view.rows > cp->nr_lines) { in con3270_alloc_string()
178 cp->nr_up = cp->nr_lines - cp->view.rows + 1; in con3270_alloc_string()
306 nr_up += cp->view.rows - 2; in con3270_read_tasklet()
307 if (nr_up + cp->view.rows - 1 > cp->nr_lines) { in con3270_read_tasklet()
308 nr_up = cp->nr_lines - cp->view.rows + 1; in con3270_read_tasklet()
314 nr_up -= cp->view.rows - 2; in con3270_read_tasklet()
Draw3270.c40 short model, rows, cols; member
570 rp->rows = 24; in __raw3270_size_device_vm()
575 rp->rows = 32; in __raw3270_size_device_vm()
580 rp->rows = 43; in __raw3270_size_device_vm()
585 rp->rows = 27; in __raw3270_size_device_vm()
662 rp->rows = uap->uab.h; in __raw3270_size_device()
670 rp->rows = uap->aua.hauai; in __raw3270_size_device()
694 if (rp->rows == 24 && rp->cols == 80) in raw3270_size_device()
696 if (rp->rows == 32 && rp->cols == 80) in raw3270_size_device()
698 if (rp->rows == 43 && rp->cols == 80) in raw3270_size_device()
[all …]
/linux-2.6.39/arch/mips/bcm63xx/
Dcpu.c260 unsigned int cols = 0, rows = 0, is_32bits = 0, banks = 0; in detect_memory_size() local
268 rows = (val & SDRAM_CFG_ROW_MASK) >> SDRAM_CFG_ROW_SHIFT; in detect_memory_size()
276 rows = (val & MEMC_CFG_ROW_MASK) >> MEMC_CFG_ROW_SHIFT; in detect_memory_size()
283 rows += 11; in detect_memory_size()
288 return 1 << (cols + rows + (is_32bits + 1) + banks); in detect_memory_size()
/linux-2.6.39/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()

12345