Home
last modified time | relevance | path

Searched refs:line_length (Results 1 – 25 of 164) sorted by relevance

1234567

/linux-6.1.9/drivers/staging/fbtft/
Dfb_uc1611.c224 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 …]
/linux-6.1.9/drivers/media/platform/ti/omap/
Domap_vout_vrfb.c326 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 …]
/linux-6.1.9/drivers/video/fbdev/
Dsunxvr500.c250 unsigned int line_length; in e3d_pci_register() local
333 line_length = (readl(ep->ramdac + RAMDAC_VID_CFG) >> 16) & 0xff; in e3d_pci_register()
334 line_length = 1 << line_length; in e3d_pci_register()
338 info->fix.line_length = line_length; in e3d_pci_register()
341 info->fix.line_length = line_length * 2; in e3d_pci_register()
344 info->fix.line_length = line_length * 3; in e3d_pci_register()
347 info->fix.line_length = line_length * 4; in e3d_pci_register()
350 ep->fb_size = info->fix.line_length * ep->height; in e3d_pci_register()
Dtgafb.c274 info->fix.line_length = par->xres * (par->bits_per_pixel >> 3);
631 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, i, j; local
[all …]
Dvga16fb.c94 .line_length = 640 / 8,
239 info->fix.line_length = info->var.xres_virtual / 2; in vga16fb_update_fix()
243 info->fix.line_length = info->var.xres_virtual / 8; in vga16fb_update_fix()
248 info->fix.line_length = info->var.xres_virtual / 4; in vga16fb_update_fix()
253 info->fix.line_length = info->var.xres_virtual / 4; in vga16fb_update_fix()
256 info->fix.line_length = info->var.xres_virtual; in vga16fb_update_fix()
854 where = info->screen_base + dx + rect->dy * info->fix.line_length; in vga_8planes_fillrect()
861 line_ofs = info->fix.line_length - width; in vga_8planes_fillrect()
886 where += info->fix.line_length; in vga_8planes_fillrect()
924 line_ofs = info->fix.line_length - width; in vga16fb_fillrect()
[all …]
Dsunxvr2500.c174 info->fix.line_length = sp->width; in s3d_pci_register()
177 info->fix.line_length = sp->width * 2; in s3d_pci_register()
180 info->fix.line_length = sp->width * 3; in s3d_pci_register()
183 info->fix.line_length = sp->width * 4; in s3d_pci_register()
186 sp->fb_size = info->fix.line_length * sp->height; in s3d_pci_register()
Ddnfb.c136 .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()
Dau1100fb.c168 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()
Dcirrusfb.c401 u_short line_length);
406 u_short line_length, u_char blitmode);
678 info->fix.line_length = var->xres_virtual / 8; in cirrusfb_set_par_foo()
683 info->fix.line_length = var->xres_virtual; in cirrusfb_set_par_foo()
689 info->fix.line_length = var->xres_virtual * in cirrusfb_set_par_foo()
1205 pitch = info->fix.line_length >> 3; in cirrusfb_set_par_foo()
1329 base = var->yoffset * info->fix.line_length + xoffset; in cirrusfb_pan_display()
1767 info->fix.line_length, 0x40); in cirrusfb_fillrect()
1807 info->fix.line_length); in cirrusfb_copyarea()
1845 info->fix.line_length, 0x40); in cirrusfb_imageblit()
[all …]
Dpvr2fb.c359 unsigned long line_length; in pvr2fb_set_par() local
426 line_length = get_line_length(var->xres_virtual, var->bits_per_pixel); in pvr2fb_set_par()
427 par->disp_start = info->fix.smem_start + (line_length * var->yoffset) * line_length; in pvr2fb_set_par()
428 info->fix.line_length = line_length; in pvr2fb_set_par()
436 unsigned long line_length; in pvr2fb_check_var() local
528 line_length = get_line_length(var->xres_virtual, var->bits_per_pixel); in pvr2fb_check_var()
529 if (line_length * var->yres_virtual > info->fix.smem_len) in pvr2fb_check_var()
567 diw_modulo += info->fix.line_length / 4; in pvr2_init_display()
D68328fb.c132 u_long line_length; in mc68x328fb_check_var() local
177 line_length = in mc68x328fb_check_var()
179 if (line_length * var->yres_virtual > videomemorysize) in mc68x328fb_check_var()
264 info->fix.line_length = get_line_length(info->var.xres_virtual, in mc68x328fb_set_par()
441 fb_info.fix.line_length = in mc68x328fb_init()
Dvt8623fb.c153 dst1 = info->screen_base + (image->dy * info->fix.line_length) in vt8623fb_iplan_imageblit()
165 dst1 += info->fix.line_length; in vt8623fb_iplan_imageblit()
177 dst1 = info->screen_base + (rect->dy * info->fix.line_length) in vt8623fb_iplan_fillrect()
185 dst1 += info->fix.line_length; in vt8623fb_iplan_fillrect()
209 dst1 = info->screen_base + (image->dy * info->fix.line_length) in vt8623fb_cfb4_imageblit()
221 dst1 += info->fix.line_length; in vt8623fb_cfb4_imageblit()
387 info->fix.line_length = (info->var.xres_virtual * bpp) / 8; in vt8623fb_set_par()
402 screen_size = info->var.yres_virtual * info->fix.line_length; in vt8623fb_set_par()
405 info->fix.line_length = 0; in vt8623fb_set_par()
626 offset = (var->yoffset * info->fix.line_length) + in vt8623fb_pan_display()
Dvesafb.c73 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()
Dhitfb.c165 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()
Dxen-fbfront.c196 y1 = beg / fb_info->fix.line_length; in xenfb_deferred_io()
197 y2 = end / fb_info->fix.line_length; in xenfb_deferred_io()
301 var->xres <= info->fix.line_length / (XENFB_DEPTH / 8) && in xenfb_check_var()
321 xenfb_info->resize.stride = info->fix.line_length; in xenfb_set_par()
449 fb_info->fix.line_length = fb_info->var.xres * XENFB_DEPTH / 8; in xenfb_probe()
569 info->page->line_length = fb_info->fix.line_length; in xenfb_init_shared_page()
Darkfb.c186 dst1 = info->screen_base + (image->dy * info->fix.line_length) in arkfb_iplan_imageblit()
198 dst1 += info->fix.line_length; in arkfb_iplan_imageblit()
211 dst1 = info->screen_base + (rect->dy * info->fix.line_length) in arkfb_iplan_fillrect()
219 dst1 += info->fix.line_length; in arkfb_iplan_fillrect()
244 dst1 = info->screen_base + (image->dy * info->fix.line_length) in arkfb_cfb4_imageblit()
256 dst1 += info->fix.line_length; in arkfb_cfb4_imageblit()
619 info->fix.line_length = (info->var.xres_virtual * bpp) / 8; in arkfb_set_par()
629 screen_size = info->var.yres_virtual * info->fix.line_length; in arkfb_set_par()
632 info->fix.line_length = 0; in arkfb_set_par()
906 offset = (var->yoffset * info->fix.line_length) + in arkfb_pan_display()
Dvfb.c119 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()
Dsunxvr1000.c139 info->fix.line_length = 16384; in gfb_probe()
140 gp->fb_size = info->fix.line_length * gp->height; in gfb_probe()
/linux-6.1.9/arch/microblaze/kernel/cpu/
Dcache.c104 #define CACHE_ALL_LOOP(cache_size, line_length, op) \ argument
106 unsigned int len = cache_size - line_length; \
107 int step = -line_length; \
125 #define CACHE_RANGE_LOOP_2(start, end, line_length, op) \ argument
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) \ argument
145 unsigned int align = ~(line_length - 1); \
146 end = ((end & align) == end) ? end - line_length : end & align; \
[all …]
/linux-6.1.9/drivers/video/fbdev/i810/
Di810_accel.c321 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()
/linux-6.1.9/drivers/video/fbdev/core/
Dsysimgblt.c100 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()
Dcfbimgblt.c126 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()
313 dst1 += p->fix.line_length; in fast_imageblit()
329 bitstart = (dy * p->fix.line_length * 8) + (dx * bpp); in cfb_imageblit()
331 pitch_index = (p->fix.line_length & (bpl - 1)) * 8; in cfb_imageblit()
Dsysfillrect.c255 dst_idx += rect->dy*p->fix.line_length*8+rect->dx*bpp; in sys_fillrect()
282 dst_idx += p->fix.line_length*8; in sys_fillrect()
316 dst_idx += p->fix.line_length*8; in sys_fillrect()
/linux-6.1.9/drivers/staging/sm750fb/
Dsm750.c180 pitch = info->fix.line_length; in lynxfb_ops_fillrect()
218 pitch = info->fix.line_length; in lynxfb_ops_copyarea()
252 pitch = info->fix.line_length; in lynxfb_ops_imageblit()
365 unsigned int line_length; in lynxfb_ops_set_par() local
378 line_length = var->xres_virtual * var->bits_per_pixel / 8; in lynxfb_ops_set_par()
379 line_length = ALIGN(line_length, crtc->line_pad); in lynxfb_ops_set_par()
380 fix->line_length = line_length; in lynxfb_ops_set_par()
381 pr_info("fix->line_length = %d\n", fix->line_length); in lynxfb_ops_set_par()
704 int ret, line_length; in lynxfb_set_fbinfo() local
804 line_length = ALIGN((var->xres_virtual * var->bits_per_pixel / 8), in lynxfb_set_fbinfo()
[all …]
/linux-6.1.9/drivers/media/platform/ti/davinci/
Dvpbe_osd.c147 (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 …]

1234567