/drivers/staging/fbtft/ |
D | fb_uc1611.c | 224 int line_length = par->info->fix.line_length; in write_vmem() local 225 int y_start = offset / line_length; in write_vmem() 226 int y_end = (offset + len - 1) / line_length; in write_vmem() 235 i = y_start * line_length; in write_vmem() 237 for (x = 0; x < line_length; x += 2) { in write_vmem() 248 i = y_start * line_length; in write_vmem() 250 for (x = 0; x < line_length; x++) { in write_vmem() 252 *buf8 |= vmem8[i + line_length] & 0xF0; in write_vmem() 256 i += line_length; in write_vmem() 269 i = y_start * line_length; in write_vmem() [all …]
|
D | fb_watterott.c | 68 start_line = offset / par->info->fix.line_length; in write_vmem() 69 end_line = start_line + (len / par->info->fix.line_length) - 1; in write_vmem() 83 par->txbuf.buf, 10 + par->info->fix.line_length); in write_vmem() 106 start_line = offset / par->info->fix.line_length; in write_vmem_8bit() 107 end_line = start_line + (len / par->info->fix.line_length) - 1; in write_vmem_8bit()
|
/drivers/media/platform/omap/ |
D | omap_vout_vrfb.c | 326 int offset = 0, ctop = 0, cleft = 0, line_length = 0; in omap_vout_calculate_vrfb_offset() local 353 line_length = MAX_PIXELS_PER_LINE; in omap_vout_calculate_vrfb_offset() 357 line_length = pix->width; in omap_vout_calculate_vrfb_offset() 359 vout->line_length = line_length; in omap_vout_calculate_vrfb_offset() 366 *cropped_offset = offset + line_length * in omap_vout_calculate_vrfb_offset() 369 *cropped_offset = offset + line_length * temp_ps * in omap_vout_calculate_vrfb_offset() 370 cleft + crop->top * temp_ps + (line_length * in omap_vout_calculate_vrfb_offset() 380 *cropped_offset = offset + (line_length * ps * ctop) + in omap_vout_calculate_vrfb_offset() 384 *cropped_offset = offset + (line_length * ps * ctop) + in omap_vout_calculate_vrfb_offset() 385 (cleft / vr_ps) * ps + (line_length * in omap_vout_calculate_vrfb_offset() [all …]
|
/drivers/video/fbdev/ |
D | sunxvr500.c | 249 unsigned int line_length; in e3d_pci_register() local 328 line_length = (readl(ep->ramdac + RAMDAC_VID_CFG) >> 16) & 0xff; in e3d_pci_register() 329 line_length = 1 << line_length; in e3d_pci_register() 333 info->fix.line_length = line_length; in e3d_pci_register() 336 info->fix.line_length = line_length * 2; in e3d_pci_register() 339 info->fix.line_length = line_length * 3; in e3d_pci_register() 342 info->fix.line_length = line_length * 4; in e3d_pci_register() 345 ep->fb_size = info->fix.line_length * ep->height; in e3d_pci_register()
|
D | tgafb.c | 270 info->fix.line_length = par->xres * (par->bits_per_pixel >> 3); 627 unsigned long rincr, line_length, shift, pos, is8bpp; local 641 line_length = info->fix.line_length; 679 pos = dy * line_length; 722 pos += line_length; 751 pos += line_length; 770 pos += line_length; 800 pos += line_length; 820 pos += line_length; 841 unsigned long pos, line_length, i, j; local [all …]
|
D | vga16fb.c | 97 .line_length = 640 / 8, 242 info->fix.line_length = info->var.xres_virtual / 2; in vga16fb_update_fix() 246 info->fix.line_length = info->var.xres_virtual / 8; in vga16fb_update_fix() 251 info->fix.line_length = info->var.xres_virtual / 4; in vga16fb_update_fix() 256 info->fix.line_length = info->var.xres_virtual / 4; in vga16fb_update_fix() 259 info->fix.line_length = info->var.xres_virtual; in vga16fb_update_fix() 857 where = info->screen_base + dx + rect->dy * info->fix.line_length; in vga_8planes_fillrect() 864 line_ofs = info->fix.line_length - width; in vga_8planes_fillrect() 889 where += info->fix.line_length; in vga_8planes_fillrect() 927 line_ofs = info->fix.line_length - width; in vga16fb_fillrect() [all …]
|
D | sunxvr2500.c | 169 info->fix.line_length = sp->width; in s3d_pci_register() 172 info->fix.line_length = sp->width * 2; in s3d_pci_register() 175 info->fix.line_length = sp->width * 3; in s3d_pci_register() 178 info->fix.line_length = sp->width * 4; in s3d_pci_register() 181 sp->fb_size = info->fix.line_length * sp->height; in s3d_pci_register()
|
D | dnfb.c | 136 .line_length = 256, 159 src = (ushort *)(info->screen_base + area->sy * info->fix.line_length + in dnfb_copyarea() 161 dest = area->dy * (info->fix.line_length >> 1) + (area->dx >> 4); in dnfb_copyarea() 164 y_delta = (info->fix.line_length * 8) - area->sx - area->width; in dnfb_copyarea() 174 y_delta = -((info->fix.line_length * 8) - area->sx - area->width); in dnfb_copyarea()
|
D | au1100fb.c | 168 info->fix.line_length = info->var.xres_virtual / in au1100fb_setmode() 179 info->fix.line_length = info->var.xres_virtual << 1; /* depth=16 */ in au1100fb_setmode() 184 info->fix.line_length = info->var.xres_virtual / 8; in au1100fb_setmode() 187 info->screen_size = info->fix.line_length * info->var.yres_virtual; in au1100fb_setmode() 205 (info->fix.line_length * in au1100fb_setmode() 212 words = info->fix.line_length / sizeof(u32); in au1100fb_setmode() 321 dmaaddr += (fbi->fix.line_length * dy); in au1100fb_fb_pan_display() 328 dmaaddr += (fbi->fix.line_length * dy); in au1100fb_fb_pan_display()
|
D | cirrusfb.c | 400 u_short line_length); 405 u_short line_length, u_char blitmode); 677 info->fix.line_length = var->xres_virtual / 8; in cirrusfb_set_par_foo() 682 info->fix.line_length = var->xres_virtual; in cirrusfb_set_par_foo() 688 info->fix.line_length = var->xres_virtual * in cirrusfb_set_par_foo() 1204 pitch = info->fix.line_length >> 3; in cirrusfb_set_par_foo() 1328 base = var->yoffset * info->fix.line_length + xoffset; in cirrusfb_pan_display() 1766 info->fix.line_length, 0x40); in cirrusfb_fillrect() 1806 info->fix.line_length); in cirrusfb_copyarea() 1844 info->fix.line_length, 0x40); in cirrusfb_imageblit() [all …]
|
D | pvr2fb.c | 358 unsigned long line_length; in pvr2fb_set_par() local 425 line_length = get_line_length(var->xres_virtual, var->bits_per_pixel); in pvr2fb_set_par() 426 par->disp_start = info->fix.smem_start + (line_length * var->yoffset) * line_length; in pvr2fb_set_par() 427 info->fix.line_length = line_length; in pvr2fb_set_par() 435 unsigned long line_length; in pvr2fb_check_var() local 527 line_length = get_line_length(var->xres_virtual, var->bits_per_pixel); in pvr2fb_check_var() 528 if (line_length * var->yres_virtual > info->fix.smem_len) in pvr2fb_check_var() 566 diw_modulo += info->fix.line_length / 4; in pvr2_init_display()
|
D | vt8623fb.c | 152 dst1 = info->screen_base + (image->dy * info->fix.line_length) in vt8623fb_iplan_imageblit() 164 dst1 += info->fix.line_length; in vt8623fb_iplan_imageblit() 176 dst1 = info->screen_base + (rect->dy * info->fix.line_length) in vt8623fb_iplan_fillrect() 184 dst1 += info->fix.line_length; in vt8623fb_iplan_fillrect() 208 dst1 = info->screen_base + (image->dy * info->fix.line_length) in vt8623fb_cfb4_imageblit() 220 dst1 += info->fix.line_length; in vt8623fb_cfb4_imageblit() 383 info->fix.line_length = (info->var.xres_virtual * bpp) / 8; in vt8623fb_set_par() 398 screen_size = info->var.yres_virtual * info->fix.line_length; in vt8623fb_set_par() 401 info->fix.line_length = 0; in vt8623fb_set_par() 622 offset = (var->yoffset * info->fix.line_length) + in vt8623fb_pan_display()
|
D | 68328fb.c | 135 u_long line_length; in mc68x328fb_check_var() local 180 line_length = in mc68x328fb_check_var() 182 if (line_length * var->yres_virtual > videomemorysize) in mc68x328fb_check_var() 267 info->fix.line_length = get_line_length(info->var.xres_virtual, in mc68x328fb_set_par() 444 fb_info.fix.line_length = in mc68x328fb_init()
|
D | vesafb.c | 73 offset = (var->yoffset * info->fix.line_length + var->xoffset) / 4; in vesafb_pan_display() 267 vesafb_fix.line_length = screen_info.lfb_linelength; in vesafb_probe() 274 size_vmode = vesafb_defined.yres * vesafb_fix.line_length; in vesafb_probe() 329 …d.xres, vesafb_defined.yres, vesafb_defined.bits_per_pixel, vesafb_fix.line_length, screen_info.pa… in vesafb_probe() 370 vesafb_defined.yres_virtual = vesafb_fix.smem_len / vesafb_fix.line_length; in vesafb_probe()
|
D | hitfb.c | 165 fb_writew((yoffset*info->fix.line_length)>>10, HD64461_LCDCBAR); in hitfb_pan_display() 294 info->fix.line_length = info->var.xres; in hitfb_set_par() 299 info->fix.line_length = info->var.xres*2; in hitfb_set_par() 305 fb_writew(info->fix.line_length, HD64461_LCDCLOR); in hitfb_set_par() 355 hitfb_fix.line_length = lcdclor; in hitfb_probe()
|
D | arkfb.c | 185 dst1 = info->screen_base + (image->dy * info->fix.line_length) in arkfb_iplan_imageblit() 197 dst1 += info->fix.line_length; in arkfb_iplan_imageblit() 210 dst1 = info->screen_base + (rect->dy * info->fix.line_length) in arkfb_iplan_fillrect() 218 dst1 += info->fix.line_length; in arkfb_iplan_fillrect() 243 dst1 = info->screen_base + (image->dy * info->fix.line_length) in arkfb_cfb4_imageblit() 255 dst1 += info->fix.line_length; in arkfb_cfb4_imageblit() 623 info->fix.line_length = (info->var.xres_virtual * bpp) / 8; in arkfb_set_par() 633 screen_size = info->var.yres_virtual * info->fix.line_length; in arkfb_set_par() 636 info->fix.line_length = 0; in arkfb_set_par() 910 offset = (var->yoffset * info->fix.line_length) + in arkfb_pan_display()
|
D | xen-fbfront.c | 197 y1 = beg / fb_info->fix.line_length; in xenfb_deferred_io() 198 y2 = end / fb_info->fix.line_length; in xenfb_deferred_io() 303 var->xres <= info->fix.line_length / (XENFB_DEPTH / 8) && in xenfb_check_var() 323 xenfb_info->resize.stride = info->fix.line_length; in xenfb_set_par() 450 fb_info->fix.line_length = fb_info->var.xres * XENFB_DEPTH / 8; in xenfb_probe() 570 info->page->line_length = fb_info->fix.line_length; in xenfb_init_shared_page()
|
D | vfb.c | 119 u_long line_length; in vfb_check_var() local 164 line_length = in vfb_check_var() 166 if (line_length * var->yres_virtual > videomemorysize) in vfb_check_var() 256 info->fix.line_length = get_line_length(info->var.xres_virtual, in vfb_set_par()
|
/drivers/video/fbdev/i810/ |
D | i810_accel.c | 321 dest = info->fix.smem_start + (dy * info->fix.line_length) + dx; in i810fb_fillrect() 322 color_blit(width, height, info->fix.line_length, dest, rop, color, in i810fb_fillrect() 353 pitch = info->fix.line_length; in i810fb_copyarea() 356 pitch = (-(info->fix.line_length)) & 0xFFFF; in i810fb_copyarea() 360 src = info->fix.smem_start + (sy * info->fix.line_length) + sx; in i810fb_copyarea() 361 dest = info->fix.smem_start + (dy * info->fix.line_length) + dx; in i810fb_copyarea() 390 dst = info->fix.smem_start + (image->dy * info->fix.line_length) + in i810fb_imageblit() 399 image->height, info->fix.line_length, in i810fb_imageblit()
|
/drivers/video/fbdev/core/ |
D | cfbimgblt.c | 126 dst1 += p->fix.line_length; in color_imageblit() 128 dst2 += p->fix.line_length; in color_imageblit() 145 u32 val, pitch = p->fix.line_length; in slow_imageblit() 260 dst1 += p->fix.line_length; in fast_imageblit() 276 bitstart = (dy * p->fix.line_length * 8) + (dx * bpp); in cfb_imageblit() 278 pitch_index = (p->fix.line_length & (bpl - 1)) * 8; in cfb_imageblit()
|
D | sysimgblt.c | 100 dst1 += p->fix.line_length; in color_imageblit() 102 dst2 += p->fix.line_length; in color_imageblit() 117 u32 val, pitch = p->fix.line_length; in slow_imageblit() 283 dst1 += p->fix.line_length; in fast_imageblit() 299 bitstart = (dy * p->fix.line_length * 8) + (dx * bpp); in sys_imageblit() 301 pitch_index = (p->fix.line_length & (bpl - 1)) * 8; in sys_imageblit()
|
/drivers/staging/sm750fb/ |
D | sm750.c | 179 pitch = info->fix.line_length; in lynxfb_ops_fillrect() 217 pitch = info->fix.line_length; in lynxfb_ops_copyarea() 251 pitch = info->fix.line_length; in lynxfb_ops_imageblit() 364 unsigned int line_length; in lynxfb_ops_set_par() local 377 line_length = var->xres_virtual * var->bits_per_pixel / 8; in lynxfb_ops_set_par() 378 line_length = ALIGN(line_length, crtc->line_pad); in lynxfb_ops_set_par() 379 fix->line_length = line_length; in lynxfb_ops_set_par() 380 pr_info("fix->line_length = %d\n", fix->line_length); in lynxfb_ops_set_par() 701 int ret, line_length; in lynxfb_set_fbinfo() local 800 line_length = ALIGN((var->xres_virtual * var->bits_per_pixel / 8), in lynxfb_set_fbinfo() [all …]
|
/drivers/gpu/drm/via/ |
D | via_dmablit.c | 122 line_len = xfer->line_length; in via_map_blit_for_device() 587 if (xfer->num_lines <= 0 || xfer->line_length <= 0) { in via_build_sg_info() 599 if ((xfer->mem_stride - xfer->line_length) > 2*PAGE_SIZE) { in via_build_sg_info() 601 "Length: %d\n", xfer->mem_stride, xfer->line_length); in via_build_sg_info() 605 if ((xfer->mem_stride == xfer->line_length) && in via_build_sg_info() 606 (xfer->fb_stride == xfer->line_length)) { in via_build_sg_info() 608 xfer->line_length = xfer->mem_stride; in via_build_sg_info() 628 if (xfer->mem_stride < xfer->line_length || in via_build_sg_info() 629 abs(xfer->fb_stride) < xfer->line_length) { in via_build_sg_info()
|
/drivers/media/platform/davinci/ |
D | vpbe_osd.c | 147 (fb_base_phys & ~0x1F) - lconfig->line_length, in _osd_dm6446_vid0_pingpong() 150 (fb_base_phys & ~0x1F) + lconfig->line_length, in _osd_dm6446_vid0_pingpong() 524 !cfg->line_length || in osd_enable_layer() 623 cbcr_offset_32 = win->lconfig.line_length * in _osd_start_layer() 876 if (!lconfig->line_length || !lconfig->xsize || !lconfig->ysize) { in try_layer_config() 882 lconfig->line_length = ((lconfig->line_length + 31) / 32) * 32; in try_layer_config() 883 lconfig->line_length = in try_layer_config() 884 min(lconfig->line_length, (unsigned)MAX_LINE_LENGTH); in try_layer_config() 1003 osd_write(sd, lconfig->line_length >> 5, OSD_OSDWIN0OFST); in _osd_set_layer_config() 1020 osd_write(sd, lconfig->line_length >> 5, OSD_VIDWIN0OFST); in _osd_set_layer_config() [all …]
|
/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb-main.c | 60 const unsigned line_len = fix->line_length / bytespp; in draw_pixel() 100 DBG("fill_fb %dx%d, line_len %d bytes\n", w, h, fbi->fix.line_length); in fill_fb() 561 fix->line_length = in setup_vrfb_rotation() 565 fix->line_length = in setup_vrfb_rotation() 570 fix->smem_len = var->yres_virtual * fix->line_length; in setup_vrfb_rotation() 607 fix->line_length = in set_fb_fix() 611 fix->line_length = in set_fb_fix() 616 fix->smem_len = var->yres_virtual * fix->line_length; in set_fb_fix() 618 fix->line_length = in set_fb_fix() 765 offset = var->yoffset * fix->line_length + in calc_rotation_offset_dma() [all …]
|