Home
last modified time | relevance | path

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

123

/linux/drivers/staging/fbtft/
H A Dfb_uc1611.c221 int line_length = par->info->fix.line_length; in write_vmem() local
222 int y_start = offset / line_length; in write_vmem()
223 int y_end = (offset + len - 1) / line_length; in write_vmem()
232 i = y_start * line_length; in write_vmem()
234 for (x = 0; x < line_length; x += 2) { in write_vmem()
245 i = y_start * line_length; in write_vmem()
247 for (x = 0; x < line_length; x++) { in write_vmem()
249 *buf8 |= vmem8[i + line_length] & 0xF0; in write_vmem()
253 i += line_length; in write_vmem()
266 i = y_start * line_length; in write_vmem()
[all …]
/linux/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 * ps * ctop) + in omap_vout_calculate_vrfb_offset()
385 (cleft / vr_ps) * ps + (line_length * in omap_vout_calculate_vrfb_offset()
[all …]
/linux/drivers/video/fbdev/
H A Dsunxvr500.c251 unsigned int line_length; in e3d_pci_register() local
334 line_length = (readl(ep->ramdac + RAMDAC_VID_CFG) >> 16) & 0xff; in e3d_pci_register()
335 line_length = 1 << line_length; in e3d_pci_register()
339 info->fix.line_length = line_length; in e3d_pci_register()
342 info->fix.line_length = line_length * 2; in e3d_pci_register()
345 info->fix.line_length = line_length * 3; in e3d_pci_register()
348 info->fix.line_length = line_length * 4; in e3d_pci_register()
351 ep->fb_size = info->fix.line_length * ep->height; in e3d_pci_register()
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
[all …]
H A Dvga16fb.c95 .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 …]
H A Ddnfb.c138 .line_length = 256,
161 src = (ushort *)(info->screen_base + area->sy * info->fix.line_length + in dnfb_copyarea()
163 dest = area->dy * (info->fix.line_length >> 1) + (area->dx >> 4); in dnfb_copyarea()
166 y_delta = (info->fix.line_length * 8) - area->sx - area->width; in dnfb_copyarea()
176 y_delta = -((info->fix.line_length * 8) - area->sx - area->width); in dnfb_copyarea()
H A 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()
H A 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()
266 var->xres <= info->fix.line_length / (XENFB_DEPTH / 8) && in xenfb_check_var()
286 xenfb_info->resize.stride = info->fix.line_length; in xenfb_set_par()
429 fb_info->fix.line_length = fb_info->var.xres * XENFB_DEPTH / 8; in xenfb_probe()
543 info->page->line_length = fb_info->fix.line_length; in xenfb_init_shared_page()
H A Dhitfb.c181 hitfb_writew((yoffset*info->fix.line_length)>>10, HD64461_LCDCBAR); in hitfb_pan_display()
310 info->fix.line_length = info->var.xres; in hitfb_set_par()
315 info->fix.line_length = info->var.xres*2; in hitfb_set_par()
321 hitfb_writew(info->fix.line_length, HD64461_LCDCLOR); in hitfb_set_par()
373 hitfb_fix.line_length = lcdclor; in hitfb_probe()
H A Dvfb.c117 u_long line_length; in vfb_check_var() local
162 line_length = in vfb_check_var()
164 if (line_length * var->yres_virtual > videomemorysize) in vfb_check_var()
254 info->fix.line_length = get_line_length(info->var.xres_virtual, in vfb_set_par()
H A Dsunxvr1000.c137 info->fix.line_length = 16384; in gfb_probe()
138 gp->fb_size = info->fix.line_length * gp->height; in gfb_probe()
H A Dcobalt_lcdfb.c121 .line_length = LCD_XRES_MAX,
260 LCD_TEXT_POS(info->fix.line_length * y + x)); in cobalt_lcdfb_cursor()
H A Ds1d13xxxfb.c242 info->fix.line_length = info->var.xres * info->var.bits_per_pixel; in s1d13xxxfb_set_par()
243 info->fix.line_length /= 8; in s1d13xxxfb_set_par()
245 dbg("setting line_length to %d\n", info->fix.line_length); in s1d13xxxfb_set_par()
380 start = (info->fix.line_length >> 1) * var->yoffset; in s1d13xxxfb_pan_display()
717 fix->line_length = offset * 2; in s1d13xxxfb_fetch_hw_state()
H A Dsm712fb.c86 .line_length = 800 * 3,
1277 sfb->fb->fix.line_length = sfb->fb->var.xres * 4; in smtcfb_setmode()
1287 sfb->fb->fix.line_length = sfb->fb->var.xres * 3; in smtcfb_setmode()
1297 sfb->fb->fix.line_length = sfb->fb->var.xres; in smtcfb_setmode()
1308 sfb->fb->fix.line_length = sfb->fb->var.xres * 2; in smtcfb_setmode()
H A Dq40fb.c34 .line_length = 1024*2,
H A Dstifb.c530 fb_memset_io(fb->info->screen_base + y * fb->info->fix.line_length, in rattlerSetupPlanes()
1322 fix->line_length = (fb->sti->glob_cfg->total_x * bpp) / 8; in stifb_init_fb()
1323 if (!fix->line_length) in stifb_init_fb()
1324 fix->line_length = 2048; /* default */ in stifb_init_fb()
1327 if (fix->smem_len > yres*fix->line_length) in stifb_init_fb()
1328 fix->smem_len = ALIGN(yres*fix->line_length, 4*1024*1024); in stifb_init_fb()
H A Dgbefb.c653 info->fix.line_length = info->var.xres_virtual * bytesPerPixel; in gbefb_set_par()
838 fix->line_length = var->xres_virtual * var->bits_per_pixel / 8; in gbefb_encode_fix()
902 unsigned int line_length; in gbefb_check_var() local
944 line_length = var->xres_virtual * var->bits_per_pixel / 8; in gbefb_check_var()
945 if (line_length * var->yres_virtual > gbe_mem_size) in gbefb_check_var()
/linux/arch/microblaze/kernel/cpu/
H A 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/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()
/linux/tools/testing/selftests/coredump/
H A Dstackdump_test.c109 size_t line_length; variable
158 for (i = 0; -1 != getline(&line, &line_length, file); ++i) {
/linux/include/xen/interface/io/
H A Dfbif.h97 uint32_t line_length; /* length of a row of pixels (in bytes) */ member
/linux/tools/verification/rvgen/rvgen/
H A Ddot2c.py28 self.line_length = 100
173 linetoolong = tab_braces + (maxlen + comma_space) * nr_events > self.line_length
/linux/drivers/auxdisplay/
H A Dcfag12864bfb.c30 .line_length = CFAG12864B_WIDTH / 8,
/linux/drivers/hid/
H A Dhid-picolcd_fb.c54 .line_length = PICOLCDFB_WIDTH / 8,
357 info->fix.line_length = PICOLCDFB_WIDTH / 8; in picolcd_set_par()
364 info->fix.line_length = PICOLCDFB_WIDTH; in picolcd_set_par()
/linux/drivers/media/platform/ti/vpe/
H A Dvpdma_priv.h265 static inline u32 dtd_xfer_length_height(int line_length, int xfer_height) in dtd_xfer_length_height() argument
267 return (line_length << DTD_LINE_LENGTH_SHFT) | xfer_height; in dtd_xfer_length_height()

123