/linux-master/drivers/video/fbdev/core/ |
H A D | fbcon.c | 547 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 D | pinctrl-ti-iodelay.c | 495 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 D | tc3589x-keypad.c | 75 * @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 D | pmic8xxx-keypad.c | 123 * 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 D | twl4030_keypad.c | 220 /* 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 D | pxa27x_keypad.c | 123 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 D | vcap_api.h | 90 u16 rows; /* number of row in instance */ member in struct:vcap_info
|
/linux-master/arch/arm/mach-omap1/ |
H A D | board-palmte.c | 74 .rows = 8,
|
H A D | board-nokia770.c | 88 .rows = 8,
|
H A D | board-sx1.c | 209 .rows = 6,
|
/linux-master/drivers/edac/ |
H A D | ppc4xx_edac.c | 304 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 D | i7core_edac.c | 425 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 D | vgacon.c | 621 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 D | newport_con.c | 329 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 D | go7007-fw.c | 420 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 D | virtio_console.c | 1282 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 D | xen.h | 701 /* 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 D | vdec_vp9_req_lat_if.c | 883 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 D | elants_i2c.c | 48 /* 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 D | hantro_g2_vp9_dec.c | 315 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 D | con3270.c | 147 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 D | fs3270.c | 354 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 D | ssd130x.c | 845 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 D | svghelper.c | 85 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 D | leds-aw200xx.c | 99 #define AW200XX_DUTY_RATIO(rows) \ 100 (((592UL * USEC_PER_SEC) / 600500UL) * (MILLI / (rows)) / MILLI)
|