Searched refs:rows (Results 51 - 75 of 99) sorted by relevance

1234

/linux-master/drivers/video/fbdev/core/
H A Dfbcon.c547 int cols, int rows, int new_cols, int new_rows)
553 int cols, int rows, int new_cols, int new_rows)
575 vc->vc_size_row * rows);
580 if (r != q && new_rows >= rows + logo_lines) {
595 for (cnt = rows - logo_lines; cnt > 0; cnt--) {
601 if (vc->state.y + logo_lines >= rows)
602 lines = rows - vc->state.y - 1;
621 rows);
928 int rows, cols; local
974 rows
546 fbcon_prepare_logo(struct vc_data *vc, struct fb_info *info, int cols, int rows, int new_cols, int new_rows) argument
552 fbcon_prepare_logo(struct vc_data *vc, struct fb_info *info, int cols, int rows, int new_cols, int new_rows) argument
996 int logo = 1, new_rows, new_cols, rows, cols; local
1338 int rows, cols; local
2419 int cols, rows; local
2641 int rows, cols; local
2679 int i, rows, cols, fg = -1; local
[all...]
/linux-master/drivers/pinctrl/ti/
H A Dpinctrl-ti-iodelay.c495 int rows, *pins, error = -EINVAL, i; local
501 rows = pinctrl_count_index_with_args(np, name);
502 if (rows < 0)
503 return rows;
516 pins = devm_kcalloc(iod->dev, rows, sizeof(*pins), GFP_KERNEL);
522 cfg = devm_kcalloc(iod->dev, rows, sizeof(*cfg), GFP_KERNEL);
528 for (i = 0; i < rows; i++) {
/linux-master/drivers/input/keyboard/
H A Dtc3589x-keypad.c75 * @krow: mask for available rows, value is 0xFF
99 * @krow: number of rows
124 /* configure KBDSIZE 4 LSbits for cols and 4 MSbits for rows */
326 u32 cols, rows; local
338 of_property_read_u32(np, "keypad,num-rows", &rows);
340 plat->krow = (u8) rows;
344 "keypad columns/rows not properly specified (%ux%u)\n",
H A Dpmic8xxx-keypad.c123 * 3. Read rows in old array first if events are more than one
124 * 4. Read rows in recent array
494 * - Initialize keypad control parameters, like no. of rows, columns,
496 * - configure rows and column gpios pull up/down.
503 unsigned int rows, cols; local
510 rc = matrix_keypad_parse_properties(&pdev->dev, &rows, &cols);
514 if (cols > PM8XXX_MAX_COLS || rows > PM8XXX_MAX_ROWS ||
536 kp->num_rows = rows;
H A Dtwl4030_keypad.c220 /* Extra column handles "all gnd" rows */
354 if (!pdata->rows || !pdata->cols || !pdata->keymap_data) {
359 kp->n_rows = pdata->rows;
374 "Invalid rows/cols amount specified in platform/devicetree data\n");
H A Dpxa27x_keypad.c123 u32 rows, cols; local
126 error = matrix_keypad_parse_properties(dev, &rows, &cols);
130 if (rows > MAX_MATRIX_KEY_ROWS || cols > MAX_MATRIX_KEY_COLS) {
131 dev_err(dev, "rows or cols exceeds maximum value\n");
135 pdata->matrix_key_rows = rows;
/linux-master/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api.h90 u16 rows; /* number of row in instance */ member in struct:vcap_info
/linux-master/arch/arm/mach-omap1/
H A Dboard-palmte.c74 .rows = 8,
H A Dboard-nokia770.c88 .rows = 8,
H A Dboard-sx1.c209 .rows = 6,
/linux-master/drivers/edac/
H A Dppc4xx_edac.c304 unsigned int row, rows; local
315 for (rows = 0, row = 0; row < mci->nr_csrows; row++) {
318 (rows++ ? ", " : ""), row);
329 n = snprintf(buffer, size, "%s; ", rows ? "" : "None");
861 * ppc4xx_edac_init_csrows - initialize driver instance rows
869 * This routine initializes the virtual "chip select rows" associated
1056 /* Initialize chip select rows */
1062 "Failed to initialize rows!\n");
H A Di7core_edac.c425 static const int rows[] = { local
430 return rows[row & 0x7];
582 u32 banks, ranks, rows, cols; local
591 rows = numrow(MC_DOD_NUMROW(dimm_dod[j]));
595 size = (rows * cols * banks * ranks) >> (20 - 3);
600 banks, ranks, rows, cols);
/linux-master/drivers/video/console/
H A Dvgacon.c621 int rows = vga_si->orig_video_lines * vga_default_font_height/ local
642 vga_video_num_lines <= rows))
988 int rows, maxscan, i; local
990 rows = vc->vc_scan_lines / fontheight; /* Number of video rows we end up with */
991 maxscan = rows * fontheight - 1; /* Scan lines to actually display-1 */
1036 vc_resize(c, 0, rows); /* Adjust console size */
H A Dnewport_con.c329 int cols, rows; local
332 rows = newport_ysize / 16;
336 vc->vc_rows = rows;
338 vc_resize(vc, cols, rows);
/linux-master/drivers/media/usb/go7007/
H A Dgo7007-fw.c420 int rows = go->interlace_coding ? go->height / 32 : go->height / 16; local
479 for (i = 0; i < rows; ++i) {
1079 int rows = go->interlace_coding ? go->height / 32 : go->height / 16; local
1133 0xc40a, (go->width << 4) | rows,
1310 int rows = go->interlace_coding ? go->height / 32 : go->height / 16; local
1327 (go->encoder_v_halve ? rows << 9 : rows << 8) |
1340 (rows << 8) | (go->width >> 4),
/linux-master/drivers/char/
H A Dvirtio_console.c1282 static void set_console_size(struct port *port, u16 rows, u16 cols) argument
1287 port->cons.ws.ws_row = rows;
1583 __u16 rows; member in struct:__anon203
1592 set_console_size(port, size.rows, size.cols);
1785 u16 rows, cols; local
1789 virtio_cread(vdev, struct virtio_console_config, rows, &rows);
1792 set_console_size(port, rows, cols);
/linux-master/include/xen/interface/
H A Dxen.h701 /* Number of rows and columns (dimensions in characters). */
702 uint16_t rows, columns; member in struct:dom0_vga_console_info::__anon467::__anon468
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_vp9_req_lat_if.c883 unsigned int rows; local
895 rows = 1 << rows_log2;
900 if (rows > 4 || cols > 64)
903 /* setup mi rows/cols information */
907 for (i = 0; i < rows; i++) {
1072 unsigned int rows; local
1090 rows = 1 << rows_log2;
1093 if (rows > 4 || cols > 64) {
1094 mtk_vdec_err(instance->ctx, "tile_rows %u tile_cols %u\n", rows, cols);
1114 for (i = 0; i < rows;
[all...]
/linux-master/drivers/input/touchscreen/
H A Delants_i2c.c48 /* Convert from rows or columns into resolution */
511 u16 phy_x, phy_y, rows, cols, osr; local
534 rows = resp[2] + resp[6] + resp[10];
571 if (rows == 0 || cols == 0 || osr == 0) {
574 rows, cols, osr);
577 ts->x_max = ELAN_TS_RESOLUTION(rows, osr);
/linux-master/drivers/media/platform/verisilicon/
H A Dhantro_g2_vp9_dec.c315 unsigned int rows, cols; local
334 rows = tile_r;
341 rows = 1;
347 hantro_reg_write(ctx->dev, &g2_num_tile_rows_old, rows);
350 hantro_reg_write(ctx->dev, &g2_num_tile_rows, rows);
/linux-master/drivers/s390/char/
H A Dcon3270.c147 return tp->view.rows - TTY3270_INPUT_AREA_ROWS;
890 static struct tty3270_line *tty3270_alloc_screen(struct tty3270 *tp, unsigned int rows, argument
896 allocated = __roundup_pow_of_two(rows) * TTY3270_SCREEN_PAGES;
1003 tp->view.rows = new_rows;
1114 tp->screen = tty3270_alloc_screen(tp, tp->view.rows, tp->view.cols,
1167 tty3270_free_screen(tp->screen, tp->view.rows);
H A Dfs3270.c354 iocb.line_cnt = fp->view.rows;
468 ib = idal_buffer_alloc(2 * fp->view.rows * fp->view.cols + 5, 0);
/linux-master/drivers/gpu/drm/solomon/
H A Dssd130x.c845 unsigned int rows = height; local
855 * COM0 to COM[N - 1] are the rows and SEG0 to SEG[M - 1] are
873 ret = ssd130x_write_cmd(ssd130x, 3, SSD132X_SET_ROW_RANGE, y, rows - 1);
888 ret = ssd130x_write_data(ssd130x, data_array, columns * rows);
900 unsigned int rows = drm_rect_height(rect); local
905 * COM0 to COM[N - 1] are the rows and SEG0 to SEG[M - 1] are
924 ret = ssd130x_write_cmd(ssd130x, 3, SSD133X_SET_ROW_RANGE, y, rows - 1);
929 ret = ssd130x_write_data(ssd130x, data_array, pitch * rows);
/linux-master/tools/perf/util/
H A Dsvghelper.c85 void open_svg(const char *filename, int cpus, int rows, u64 start, u64 end) argument
107 total_height = (1 + rows + cpu2slot(cpus)) * SLOT_MULT;
/linux-master/drivers/leds/
H A Dleds-aw200xx.c99 #define AW200XX_DUTY_RATIO(rows) \
100 (((592UL * USEC_PER_SEC) / 600500UL) * (MILLI / (rows)) / MILLI)

Completed in 245 milliseconds

1234