Searched defs:line_length (Results 1 - 19 of 19) sorted by relevance

/drivers/video/
H A D68328fb.c141 u_long line_length; local
186 line_length =
188 if (line_length * var->yres_virtual > videomemorysize)
273 info->fix.line_length = get_line_length(info->var.xres_virtual,
462 fb_info.fix.line_length =
H A Dgrvga.c39 u32 line_length; /* 0x10 */ member in struct:grvga_regs
166 &par->regs->line_length);
189 info->fix.line_length = (info->var.xres_virtual*info->var.bits_per_pixel)/8;
249 base_addr = fix->smem_start + (var->yoffset * fix->line_length);
H A Dvfb.c164 u_long line_length; local
209 line_length =
211 if (line_length * var->yres_virtual > videomemorysize)
287 info->fix.line_length = get_line_length(info->var.xres_virtual,
H A Dsgivwfb.c57 .line_length = 640,
230 u_long line_length; local
298 line_length = get_line_length(var->xres_virtual, var->bits_per_pixel);
299 if (line_length * var->yres_virtual > sgivwfb_mem_size)
302 info->fix.line_length = line_length;
H A Dsunxvr500.c248 unsigned int line_length; local
326 line_length = (readl(ep->ramdac + RAMDAC_VID_CFG) >> 16) & 0xff;
327 line_length = 1 << line_length;
331 info->fix.line_length = line_length;
334 info->fix.line_length = line_length * 2;
337 info->fix.line_length = line_length *
[all...]
H A Dfb-puv3.c344 u_long line_length; local
389 line_length =
391 if (line_length * var->yres_virtual > UNIFB_MEMSIZE)
505 info->fix.line_length = get_line_length(info->var.xres_virtual,
H A Dgbefb.c665 info->fix.line_length = info->var.xres_virtual * bytesPerPixel;
850 fix->line_length = var->xres_virtual * var->bits_per_pixel / 8;
914 unsigned int line_length; local
956 line_length = var->xres_virtual * var->bits_per_pixel / 8;
957 if (line_length * var->yres_virtual > gbe_mem_size)
H A Dpvr2fb.c360 unsigned long line_length; local
427 line_length = get_line_length(var->xres_virtual, var->bits_per_pixel);
428 par->disp_start = info->fix.smem_start + (line_length * var->yoffset) * line_length;
429 info->fix.line_length = line_length;
437 unsigned long line_length; local
531 line_length = get_line_length(var->xres_virtual, var->bits_per_pixel);
532 if (line_length * var->yres_virtual > info->fix.smem_len)
570 diw_modulo += info->fix.line_length /
[all...]
H A Dtgafb.c631 unsigned long rincr, line_length, shift, pos, is8bpp; local
645 line_length = info->fix.line_length;
683 pos = dy * line_length;
726 pos += line_length;
755 pos += line_length;
774 pos += line_length;
804 pos += line_length;
824 pos += line_length;
845 unsigned long pos, line_length, local
932 unsigned long pos, align, line_length, i, j; local
1151 copyarea_foreward_8bpp(struct fb_info *info, u32 dx, u32 dy, u32 sx, u32 sy, u32 height, u32 width, u32 line_length) argument
1312 copyarea_backward_8bpp(struct fb_info *info, u32 dx, u32 dy, u32 sx, u32 sy, u32 height, u32 width, u32 line_length, const struct fb_copyarea *area) argument
1418 unsigned long line_length, bpp; local
[all...]
H A Dcirrusfb.c407 u_short line_length);
412 u_short line_length, u_char blitmode);
700 info->fix.line_length = var->xres_virtual / 8;
705 info->fix.line_length = var->xres_virtual;
711 info->fix.line_length = var->xres_virtual *
1227 pitch = info->fix.line_length >> 3;
1351 base = var->yoffset * info->fix.line_length + xoffset;
1787 info->fix.line_length, 0x40);
1827 info->fix.line_length);
1865 info->fix.line_length,
2640 cirrusfb_set_blitter(u8 __iomem *regbase, u_short nwidth, u_short nheight, u_long nsrc, u_long ndest, u_short bltmode, u_short line_length) argument
2700 cirrusfb_BitBLT(u8 __iomem *regbase, int bits_per_pixel, u_short curx, u_short cury, u_short destx, u_short desty, u_short width, u_short height, u_short line_length) argument
2744 cirrusfb_RectFill(u8 __iomem *regbase, int bits_per_pixel, u_short x, u_short y, u_short width, u_short height, u32 fg_color, u32 bg_color, u_short line_length, u_char blitmode) argument
[all...]
H A Dfbmem.c1218 u32 line_length; member in struct:fb_fix_screeninfo32
1287 err |= put_user(fix->line_length, &fix32->line_length);
H A Dps3fb.c447 u64 line_length; local
449 line_length = dst_line_length;
451 line_length |= (u64)src_line_length << 32;
460 line_length);
499 info->fix.line_length);
619 info->fix.line_length = xdr_line_length;
698 par->pan_offset = var->yoffset * info->fix.line_length +
857 res.xres = info->fix.line_length / BPP;
H A Dpxafb.c411 int line_length; local
426 line_length = var->xres * var->bits_per_pixel / 8;
427 line_length = ALIGN(line_length, 4);
428 var->xres = line_length * 8 / var->bits_per_pixel;
434 var->yres_virtual = fbi->fb.fix.smem_len / line_length;
513 fbi->fb.fix.line_length = var->xres_virtual *
611 int size = ofb->fb.fix.line_length * ofb->fb.var.yres_virtual;
656 size = ofb->fb.fix.line_length * ofb->fb.var.yres_virtual;
826 ofb->fb.fix.line_length
[all...]
H A Dtridentfb.c870 int line_length; local
895 line_length = var->xres_virtual * bpp / 8;
900 if (line_length <= 512)
902 else if (line_length <= 1024)
904 else if (line_length <= 2048)
906 else if (line_length <= 4096)
908 else if (line_length <= 8192)
913 line_length = var->xres_virtual * bpp / 8;
917 if (line_length * (var->yres_virtual - var->yres) > (4 << 20))
918 var->yres_virtual = ((4 << 20) / line_length)
[all...]
/drivers/media/video/omap/
H A Domap_vout_vrfb.c297 int offset = 0, ctop = 0, cleft = 0, line_length = 0; local
324 line_length = MAX_PIXELS_PER_LINE;
328 line_length = pix->width;
330 vout->line_length = line_length;
337 *cropped_offset = offset + line_length *
340 *cropped_offset = offset + line_length * temp_ps *
341 cleft + crop->top * temp_ps + (line_length *
351 *cropped_offset = offset + (line_length * ps * ctop) +
355 *cropped_offset = offset + (line_length * p
[all...]
H A Domap_voutdef.h170 int ps, vr_ps, line_length, first_int, field_id; member in struct:omap_vout_device
H A Domap_vout.c294 int ps = 2, line_length = 0; local
301 vout->line_length = line_length = pix->width;
313 *cropped_offset = (line_length * ps) *
/drivers/video/i810/
H A Di810_main.c994 int line_length, vidmem, mode_valid = 0, retval = 0; local
1000 line_length = get_line_length(par, vxres, var->bits_per_pixel);
1001 vidmem = line_length*vyres;
1004 vyres = par->fb.size/line_length;
1009 line_length = get_line_length(par, vxres,
1011 vidmem = line_length * info->var.yres;
1118 fix->line_length = par->pitch;
1382 var->yoffset * info->fix.line_length;
/drivers/video/aty/
H A Datyfb_base.c780 u32 line_length = vxres * bpp / 8; local
784 line_length = (line_length + 63) & ~63;
786 return line_length;
799 u32 line_length; local
856 line_length = calc_line_length(par, vxres, bpp);
858 if (vyres * line_length > info->fix.smem_len)
1005 ((yoffset * line_length + xoffset * bpp / 8) / 8) |
1006 ((line_length / bpp) << 22);
1448 info->fix.line_length
1569 u32 line_length = info->fix.line_length; local
[all...]

Completed in 439 milliseconds