Searched refs:line_length (Results 1 - 25 of 148) sorted by relevance

123456

/linux-master/drivers/staging/fbtft/
H A Dfb_uc1611.c224 int line_length = par->info->fix.line_length; local
225 int y_start = offset / line_length;
226 int y_end = (offset + len - 1) / line_length;
235 i = y_start * line_length;
237 for (x = 0; x < line_length; x += 2) {
248 i = y_start * line_length;
250 for (x = 0; x < line_length; x++) {
252 *buf8 |= vmem8[i + line_length] & 0xF0;
256 i += line_length;
[all...]
/linux-master/drivers/media/platform/ti/omap/
H A Domap_vout_vrfb.c326 int offset = 0, ctop = 0, cleft = 0, line_length = 0; local
353 line_length = MAX_PIXELS_PER_LINE;
357 line_length = pix->width;
359 vout->line_length = line_length;
366 *cropped_offset = offset + line_length *
369 *cropped_offset = offset + line_length * temp_ps *
370 cleft + crop->top * temp_ps + (line_length *
380 *cropped_offset = offset + (line_length * ps * ctop) +
384 *cropped_offset = offset + (line_length * p
[all...]
H A Domap_voutdef.h169 int ps, vr_ps, line_length, first_int, field_id; member in struct:omap_vout_device
/linux-master/drivers/video/fbdev/
H A Dsunxvr500.c251 unsigned int line_length; local
334 line_length = (readl(ep->ramdac + RAMDAC_VID_CFG) >> 16) & 0xff;
335 line_length = 1 << line_length;
339 info->fix.line_length = line_length;
342 info->fix.line_length = line_length * 2;
345 info->fix.line_length = line_length *
[all...]
H A Dvga16fb.c95 .line_length = 640 / 8,
238 info->fix.line_length = info->var.xres_virtual / 2;
242 info->fix.line_length = info->var.xres_virtual / 8;
247 info->fix.line_length = info->var.xres_virtual / 4;
252 info->fix.line_length = info->var.xres_virtual / 4;
255 info->fix.line_length = info->var.xres_virtual;
853 where = info->screen_base + dx + rect->dy * info->fix.line_length;
860 line_ofs = info->fix.line_length - width;
885 where += info->fix.line_length;
923 line_ofs = info->fix.line_length
[all...]
H A Dsunxvr2500.c171 info->fix.line_length = sp->width;
174 info->fix.line_length = sp->width * 2;
177 info->fix.line_length = sp->width * 3;
180 info->fix.line_length = sp->width * 4;
183 sp->fb_size = info->fix.line_length * sp->height;
H A Dtgafb.c279 info->fix.line_length = par->xres * (par->bits_per_pixel >> 3);
636 unsigned long rincr, line_length, shift, pos, is8bpp; local
650 line_length = info->fix.line_length;
688 pos = dy * line_length;
731 pos += line_length;
760 pos += line_length;
779 pos += line_length;
809 pos += line_length;
829 pos += line_length;
850 unsigned long pos, line_length, i, j; local
936 unsigned long pos, align, line_length, i, j; local
1157 copyarea_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
1269 unsigned long line_length, bpp; local
[all...]
H A Ddnfb.c138 .line_length = 256,
161 src = (ushort *)(info->screen_base + area->sy * info->fix.line_length +
163 dest = area->dy * (info->fix.line_length >> 1) + (area->dx >> 4);
166 y_delta = (info->fix.line_length * 8) - area->sx - area->width;
176 y_delta = -((info->fix.line_length * 8) - area->sx - area->width);
H A Dsunxvr1000.c137 info->fix.line_length = 16384;
138 gp->fb_size = info->fix.line_length * gp->height;
H A Dau1100fb.c168 info->fix.line_length = info->var.xres_virtual /
179 info->fix.line_length = info->var.xres_virtual << 1; /* depth=16 */
184 info->fix.line_length = info->var.xres_virtual / 8;
187 info->screen_size = info->fix.line_length * info->var.yres_virtual;
205 (info->fix.line_length *
212 words = info->fix.line_length / sizeof(u32);
321 dmaaddr += (fbi->fix.line_length * dy);
328 dmaaddr += (fbi->fix.line_length * dy);
H A D68328fb.c132 u_long line_length; local
177 line_length =
179 if (line_length * var->yres_virtual > videomemorysize)
264 info->fix.line_length = get_line_length(info->var.xres_virtual,
441 fb_info.fix.line_length =
H A Dhitfb.c181 hitfb_writew((yoffset*info->fix.line_length)>>10, HD64461_LCDCBAR);
310 info->fix.line_length = info->var.xres;
315 info->fix.line_length = info->var.xres*2;
321 hitfb_writew(info->fix.line_length, HD64461_LCDCLOR);
373 hitfb_fix.line_length = lcdclor;
H A Dvesafb.c76 offset = (var->yoffset * info->fix.line_length + var->xoffset) / 4;
281 vesafb_fix.line_length = si->lfb_linelength;
288 size_vmode = vesafb_defined.yres * vesafb_fix.line_length;
338 vesafb_fix.line_length, si->pages);
381 vesafb_defined.yres_virtual = vesafb_fix.smem_len / vesafb_fix.line_length;
H A Dxen-fbfront.c196 y1 = beg / fb_info->fix.line_length;
197 y2 = end / fb_info->fix.line_length;
266 var->xres <= info->fix.line_length / (XENFB_DEPTH / 8) &&
286 xenfb_info->resize.stride = info->fix.line_length;
428 fb_info->fix.line_length = fb_info->var.xres * XENFB_DEPTH / 8;
542 info->page->line_length = fb_info->fix.line_length;
H A Dpvr2fb.c359 unsigned long line_length; local
426 line_length = get_line_length(var->xres_virtual, var->bits_per_pixel);
427 par->disp_start = info->fix.smem_start + (line_length * var->yoffset) * line_length;
428 info->fix.line_length = line_length;
436 unsigned long line_length; local
528 line_length = get_line_length(var->xres_virtual, var->bits_per_pixel);
529 if (line_length * var->yres_virtual > info->fix.smem_len)
567 diw_modulo += info->fix.line_length /
[all...]
H A Dvt8623fb.c153 dst1 = info->screen_base + (image->dy * info->fix.line_length)
165 dst1 += info->fix.line_length;
177 dst1 = info->screen_base + (rect->dy * info->fix.line_length)
185 dst1 += info->fix.line_length;
209 dst1 = info->screen_base + (image->dy * info->fix.line_length)
221 dst1 += info->fix.line_length;
387 info->fix.line_length = (info->var.xres_virtual * bpp) / 8;
407 screen_size = info->var.yres_virtual * info->fix.line_length;
410 info->fix.line_length = 0;
633 offset = (var->yoffset * info->fix.line_length)
[all...]
H A Dcirrusfb.c401 u_short line_length);
406 u_short line_length, u_char blitmode);
678 info->fix.line_length = var->xres_virtual / 8;
683 info->fix.line_length = var->xres_virtual;
689 info->fix.line_length = var->xres_virtual *
1205 pitch = info->fix.line_length >> 3;
1329 base = var->yoffset * info->fix.line_length + xoffset;
1767 info->fix.line_length, 0x40);
1807 info->fix.line_length);
1845 info->fix.line_length,
2598 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
2658 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
2702 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 Dgrvga.c33 u32 line_length; /* 0x10 */ member in struct:grvga_regs
160 &par->regs->line_length);
183 info->fix.line_length = (info->var.xres_virtual*info->var.bits_per_pixel)/8;
243 base_addr = fix->smem_start + (var->yoffset * fix->line_length);
/linux-master/arch/microblaze/kernel/cpu/
H A Dcache.c101 * Helper macro to loop over the specified cache_size/line_length and
104 #define CACHE_ALL_LOOP(cache_size, line_length, op) \
106 unsigned int len = cache_size - line_length; \
107 int step = -line_length; \
125 #define CACHE_RANGE_LOOP_2(start, end, line_length, op) \
127 int step = -line_length; \
128 int align = ~(line_length - 1); \
130 end = ((end & align) == end) ? end - line_length : end & align; \
142 #define CACHE_RANGE_LOOP_1(start, end, line_length, op) \
145 unsigned int align = ~(line_length
[all...]
/linux-master/drivers/video/fbdev/core/
H A Dsysimgblt.c100 dst1 += p->fix.line_length;
102 dst2 += p->fix.line_length;
117 u32 val, pitch = p->fix.line_length;
283 dst1 += p->fix.line_length;
302 bitstart = (dy * p->fix.line_length * 8) + (dx * bpp);
304 pitch_index = (p->fix.line_length & (bpl - 1)) * 8;
H A Dcfbimgblt.c126 dst1 += p->fix.line_length;
128 dst2 += p->fix.line_length;
145 u32 val, pitch = p->fix.line_length;
313 dst1 += p->fix.line_length;
332 bitstart = (dy * p->fix.line_length * 8) + (dx * bpp);
334 pitch_index = (p->fix.line_length & (bpl - 1)) * 8;
H A Dsysfillrect.c258 dst_idx += rect->dy*p->fix.line_length*8+rect->dx*bpp;
285 dst_idx += p->fix.line_length*8;
319 dst_idx += p->fix.line_length*8;
/linux-master/drivers/video/fbdev/i810/
H A Di810_accel.c321 dest = info->fix.smem_start + (dy * info->fix.line_length) + dx;
322 color_blit(width, height, info->fix.line_length, dest, rop, color,
353 pitch = info->fix.line_length;
356 pitch = (-(info->fix.line_length)) & 0xFFFF;
360 src = info->fix.smem_start + (sy * info->fix.line_length) + sx;
361 dest = info->fix.smem_start + (dy * info->fix.line_length) + dx;
390 dst = info->fix.smem_start + (image->dy * info->fix.line_length) +
399 image->height, info->fix.line_length,
/linux-master/include/xen/interface/io/
H A Dfbif.h97 uint32_t line_length; /* length of a row of pixels (in bytes) */ member in struct:xenfb_page
/linux-master/drivers/staging/sm750fb/
H A Dsm750.c179 pitch = info->fix.line_length;
217 pitch = info->fix.line_length;
251 pitch = info->fix.line_length;
364 unsigned int line_length; local
377 line_length = var->xres_virtual * var->bits_per_pixel / 8;
378 line_length = ALIGN(line_length, crtc->line_pad);
379 fix->line_length = line_length;
380 pr_info("fix->line_length
740 int ret, line_length; local
[all...]

Completed in 327 milliseconds

123456