Home
last modified time | relevance | path

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

12345678910>>...13

/kernel/linux/linux-5.10/drivers/staging/fbtft/
H A 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()
[all...]
H A Dfb_watterott.c68 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()
/kernel/linux/linux-6.6/drivers/staging/fbtft/
H A 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()
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/omap/
H A 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 * p in omap_vout_calculate_vrfb_offset()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap/
H A 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 * p in omap_vout_calculate_vrfb_offset()
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A Dsunxvr500.c249 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 * in e3d_pci_register()
[all...]
H A Dtgafb.c270 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; global() local
928 unsigned long pos, align, line_length, i, j; global() local
1149 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) global() argument
1261 unsigned long line_length, bpp; global() local
[all...]
H A Dsunxvr2500.c169 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()
H A Dvga16fb.c97 .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 in vga16fb_fillrect()
[all...]
H A 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()
H A 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()
/kernel/linux/linux-6.6/drivers/video/fbdev/
H A Dsunxvr500.c249 unsigned int line_length; in e3d_pci_register() local
332 line_length = (readl(ep->ramdac + RAMDAC_VID_CFG) >> 16) & 0xff; in e3d_pci_register()
333 line_length = 1 << line_length; in e3d_pci_register()
337 info->fix.line_length = line_length; in e3d_pci_register()
340 info->fix.line_length = line_length * 2; in e3d_pci_register()
343 info->fix.line_length = line_length * in e3d_pci_register()
[all...]
H A Dtgafb.c277 info->fix.line_length = par->xres * (par->bits_per_pixel >> 3);
634 unsigned long rincr, line_length, shift, pos, is8bpp; local
648 line_length = info->fix.line_length;
686 pos = dy * line_length;
729 pos += line_length;
758 pos += line_length;
777 pos += line_length;
807 pos += line_length;
827 pos += line_length;
848 unsigned long pos, line_length, i, j; global() local
934 unsigned long pos, align, line_length, i, j; global() local
1155 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) global() argument
1267 unsigned long line_length, bpp; global() local
[all...]
H A Dsunxvr2500.c171 info->fix.line_length = sp->width; in s3d_pci_register()
174 info->fix.line_length = sp->width * 2; in s3d_pci_register()
177 info->fix.line_length = sp->width * 3; in s3d_pci_register()
180 info->fix.line_length = sp->width * 4; in s3d_pci_register()
183 sp->fb_size = info->fix.line_length * sp->height; in s3d_pci_register()
H A Dvga16fb.c95 .line_length = 640 / 8,
240 info->fix.line_length = info->var.xres_virtual / 2; in vga16fb_update_fix()
244 info->fix.line_length = info->var.xres_virtual / 8; in vga16fb_update_fix()
249 info->fix.line_length = info->var.xres_virtual / 4; in vga16fb_update_fix()
254 info->fix.line_length = info->var.xres_virtual / 4; in vga16fb_update_fix()
257 info->fix.line_length = info->var.xres_virtual; in vga16fb_update_fix()
855 where = info->screen_base + dx + rect->dy * info->fix.line_length; in vga_8planes_fillrect()
862 line_ofs = info->fix.line_length - width; in vga_8planes_fillrect()
887 where += info->fix.line_length; in vga_8planes_fillrect()
925 line_ofs = info->fix.line_length in vga16fb_fillrect()
[all...]
H A 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()
/kernel/linux/linux-5.10/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...]
/kernel/linux/linux-6.6/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...]
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
H A 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()
H A 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()
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()
/kernel/linux/linux-6.6/drivers/video/fbdev/core/
H A 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()
/kernel/linux/linux-5.10/drivers/video/fbdev/i810/
H A 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()
/kernel/linux/linux-6.6/drivers/video/fbdev/i810/
H A 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/via/
H A Dvia_dmablit.c122 line_len = xfer->line_length; in via_map_blit_for_device()
584 if (xfer->num_lines <= 0 || xfer->line_length <= 0) { in via_build_sg_info()
596 if ((xfer->mem_stride - xfer->line_length) > 2*PAGE_SIZE) { in via_build_sg_info()
598 "Length: %d\n", xfer->mem_stride, xfer->line_length); in via_build_sg_info()
602 if ((xfer->mem_stride == xfer->line_length) && in via_build_sg_info()
603 (xfer->fb_stride == xfer->line_length)) { in via_build_sg_info()
605 xfer->line_length = xfer->mem_stride; in via_build_sg_info()
625 if (xfer->mem_stride < xfer->line_length || in via_build_sg_info()
626 abs(xfer->fb_stride) < xfer->line_length) { in via_build_sg_info()
/kernel/linux/linux-5.10/drivers/media/platform/davinci/
H A 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()
881 /* round line_length up to a multiple of 32 */ 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, (unsigne in try_layer_config()
[all...]

Completed in 27 milliseconds

12345678910>>...13