/linux-master/drivers/video/fbdev/ |
H A D | bw2.c | 162 info->fix.smem_start, info->fix.smem_len, 170 FBTYPE_SUN2BW, 1, info->fix.smem_len); 179 strscpy(info->fix.id, "bwtwo", sizeof(info->fix.id)); 181 info->fix.type = FB_TYPE_PACKED_PIXELS; 182 info->fix.visual = FB_VISUAL_MONO01; 184 info->fix.line_length = linebytes; 186 info->fix.accel = FB_ACCEL_SUN_BWTWO; 286 info->fix [all...] |
H A D | atmel_lcdfb.c | 297 struct fb_fix_screeninfo *fix = &info->fix; local 300 dma_addr = (fix->smem_start + var->yoffset * fix->line_length 313 dma_free_wc(info->device, info->fix.smem_len, info->screen_base, 314 info->fix.smem_start); 332 info->fix.smem_len = max(smem_len, sinfo->smem_len); 334 info->screen_base = dma_alloc_wc(info->device, info->fix.smem_len, 335 (dma_addr_t *)&info->fix.smem_start, 342 memset(info->screen_base, 0, info->fix [all...] |
H A D | valkyriefb.c | 108 static void valkyrie_par_to_fix(struct fb_par_valkyrie *par, struct fb_fix_screeninfo *fix); 109 static void valkyrie_init_fix(struct fb_fix_screeninfo *fix, struct fb_info_valkyrie *p); 133 valkyrie_par_to_fix(par, &info->fix); 372 valkyrie_init_fix(&p->info.fix, p); 442 * messages.) In addition, I think the new code *might* fix some vmode- 503 static void valkyrie_init_fix(struct fb_fix_screeninfo *fix, struct fb_info_valkyrie *p) argument 505 memset(fix, 0, sizeof(*fix)); 506 strcpy(fix->id, "valkyrie"); 507 fix 521 valkyrie_par_to_fix(struct fb_par_valkyrie *par, struct fb_fix_screeninfo *fix) argument [all...] |
H A D | vt8500lcdfb.c | 67 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; 68 info->fix.line_length = info->var.xres_virtual / 101 info->fix.visual = FB_VISUAL_TRUECOLOR; 102 info->fix.line_length = info->var.bits_per_pixel > 16 ? 152 switch (fbi->fb.fix.visual) { 203 unsigned pixlen = info->fix.line_length / info->var.xres_virtual; 205 + info->fix.line_length * var->yoffset; 229 if (info->fix.visual == FB_VISUAL_PSEUDOCOLOR || 230 info->fix.visual == FB_VISUAL_STATIC_PSEUDOCOLOR) 235 if (info->fix [all...] |
H A D | sa1100fb.c | 126 * - Fix LCCR1 HSW value, fix all machine type specifications to 318 switch (fbi->fb.fix.visual) { 445 fbi->fb.fix.visual = FB_VISUAL_TRUECOLOR; 447 fbi->fb.fix.visual = FB_VISUAL_PSEUDOCOLOR; 454 fbi->fb.fix.visual = FB_VISUAL_STATIC_PSEUDOCOLOR; 457 fbi->fb.fix.line_length = var->xres_virtual * 471 sa1100fb_set_visual(fbi, fbi->fb.fix.visual); 542 if (fbi->fb.fix.visual == FB_VISUAL_PSEUDOCOLOR || 543 fbi->fb.fix.visual == FB_VISUAL_STATIC_PSEUDOCOLOR) 550 if (fbi->fb.fix [all...] |
H A D | atafb.c | 162 .fix = { 308 * int (*encode_fix)(struct fb_fix_screeninfo *fix, 310 * This function should fill in the 'fix' structure based on the 349 int (*encode_fix)(struct fb_fix_screeninfo *fix, 554 static int tt_encode_fix(struct fb_fix_screeninfo *fix, struct atafb_par *par) argument 558 strcpy(fix->id, "Atari Builtin"); 559 fix->smem_start = phys_screen_base; 560 fix->smem_len = screen_len; 561 fix->type = FB_TYPE_INTERLEAVED_PLANES; 562 fix 851 falcon_encode_fix(struct fb_fix_screeninfo *fix, struct atafb_par *par) argument 1768 stste_encode_fix(struct fb_fix_screeninfo *fix, struct atafb_par *par) argument 2070 ext_encode_fix(struct fb_fix_screeninfo *fix, struct atafb_par *par) argument 2366 atafb_get_fix(struct fb_fix_screeninfo *fix, struct fb_info *info) argument [all...] |
H A D | sunxvr500.c | 130 if (info->fix.visual == FB_VISUAL_TRUECOLOR && regno < 16) 211 /* Fill fix common fields */ 212 strscpy(info->fix.id, "e3d", sizeof(info->fix.id)); 213 info->fix.smem_start = ep->fb_base_phys; 214 info->fix.smem_len = ep->fb_size; 215 info->fix.type = FB_TYPE_PACKED_PIXELS; 217 info->fix.visual = FB_VISUAL_TRUECOLOR; 219 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; 339 info->fix [all...] |
H A D | hpfb.c | 23 .fix = { 220 fb_info.fix.smem_start = (in_8(fb_regs + fboff) << 16); 223 fb_info.fix.smem_start += phys_base; 244 fb_info.fix.line_length = fb_width; 246 fb_info.fix.smem_len = fb_width * fb_height; 247 fb_start = (unsigned long)ioremap_wt(fb_info.fix.smem_start, 248 fb_info.fix.smem_len); 256 fb_info.fix.smem_start, fb_start, fb_info.fix.smem_len/1024); 258 hpfb_defined.xres, hpfb_defined.yres, hpfb_defined.bits_per_pixel, fb_info.fix [all...] |
H A D | clps711x-fb.c | 113 info->fix.visual = FB_VISUAL_MONO01; 117 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; 123 info->fix.line_length = info->var.xres * info->var.bits_per_pixel / 8; 124 info->fix.smem_len = size; 236 info->fix.mmio_start = res->start; 237 info->fix.mmio_len = resource_size(res); 252 info->fix.smem_start = res->start; 289 if (info->fix.smem_start != (readb(cfb->base + CLPS711X_FBADDR) << 28)) 299 writeb(info->fix.smem_start >> 28, cfb->base + CLPS711X_FBADDR); 315 info->fix [all...] |
H A D | acornfb.c | 203 if (current_par.using_vram && info->fix.smem_len == 2048*1024) 273 if (regno < 16 && info->fix.visual == FB_VISUAL_DIRECTCOLOR) { 348 if (min_size > info->fix.smem_len) 354 for (size = info->fix.smem_len; 367 size = info->fix.smem_len; 374 current_par.screen_end = info->fix.smem_start + size; 437 u_int off = var->yoffset * info->fix.line_length; 442 iomd_writel(info->fix.smem_start + off, IOMD_VIDINIT); 525 info->fix.visual = FB_VISUAL_MONO10; 529 info->fix [all...] |
H A D | vt8623fb.c | 153 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; 229 if (info->fix.type == FB_TYPE_INTERLEAVED_PLANES) 241 && (info->fix.type == FB_TYPE_INTERLEAVED_PLANES)) 386 info->fix.ypanstep = 1; 387 info->fix [all...] |
H A D | sstfb.c | 338 fb_memset_io(info->screen_base, 0, info->fix.smem_len); 439 if (real_length * yDim > info->fix.smem_len) { 776 u32 stride = info->fix.line_length; 802 u32 stride = info->fix.line_length; 1323 struct fb_fix_screeninfo *fix; local 1346 fix = &info->fix; 1355 fix->mmio_start = pci_resource_start(pdev,0); 1356 fix->mmio_len = 0x400000; 1357 fix [all...] |
H A D | ep93xx-fb.c | 177 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; 190 info->fix.visual = FB_VISUAL_TRUECOLOR; 203 info->fix.visual = FB_VISUAL_TRUECOLOR; 216 info->fix.visual = FB_VISUAL_TRUECOLOR; 278 info->fix.line_length = info->var.xres_virtual * 281 ep93xxfb_writel(fbi, info->fix.smem_start, EP93XXFB_SCREEN_PAGE); 285 ep93xxfb_writel(fbi, info->fix.line_length / 4, EP93XXFB_VLINE_STEP); 316 if (offset < info->fix.smem_len) { 318 info->fix.smem_start, info->fix [all...] |
H A D | ocfb.c | 214 struct fb_fix_screeninfo *fix = &fbdev->info.fix; local 216 strcpy(fix->id, OCFB_NAME); 218 fix->line_length = var->xres * var->bits_per_pixel/8; 219 fix->smem_len = fix->line_length * var->yres; 220 fix->type = FB_TYPE_PACKED_PIXELS; 223 fix->visual = FB_VISUAL_PSEUDOCOLOR; 225 fix->visual = FB_VISUAL_TRUECOLOR; 324 fbsize = fbdev->info.fix [all...] |
H A D | s1d13xxxfb.c | 161 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; 171 info->fix.visual = FB_VISUAL_TRUECOLOR; 242 info->fix.line_length = info->var.xres * info->var.bits_per_pixel; 243 info->fix.line_length /= 8; 245 dbg("setting line_length to %d\n", info->fix.line_length); 279 switch (info->fix.visual) { 380 start = (info->fix.line_length >> 1) * var->yoffset; 561 if (info->fix.visual == FB_VISUAL_TRUECOLOR || 562 info->fix.visual == FB_VISUAL_DIRECTCOLOR) { 644 struct fb_fix_screeninfo *fix local [all...] |
H A D | pxa168fb.c | 173 var->yres_virtual = info->fix.smem_len / 224 (var->bits_per_pixel >> 3) > info->fix.smem_len) 409 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; 411 info->fix.visual = FB_VISUAL_TRUECOLOR; 412 info->fix.line_length = var->xres_virtual * var->bits_per_pixel / 8; 413 info->fix.ypanstep = var->yres; 495 if (info->fix.visual == FB_VISUAL_TRUECOLOR && regno < 16) { 502 if (info->fix.visual == FB_VISUAL_PSEUDOCOLOR && regno < 256) { 575 var->yres_virtual = info->fix.smem_len / 641 strscpy(info->fix [all...] |
H A D | imxfb.c | 322 switch (info->fix.visual) { 491 info->fix.visual = FB_VISUAL_TRUECOLOR; 493 info->fix.visual = FB_VISUAL_PSEUDOCOLOR; 500 info->fix.visual = FB_VISUAL_STATIC_PSEUDOCOLOR; 503 info->fix.line_length = var->xres_virtual * var->bits_per_pixel / 8; 632 info->fix.id, var->xres); 635 info->fix.id, var->hsync_len); 638 info->fix.id, var->left_margin); 641 info->fix.id, var->right_margin); 644 info->fix [all...] |
H A D | goldfishfb.c | 121 info->fix.line_length = info->var.xres * 2; 138 writel(fb->fb.fix.smem_start + fb->fb.var.xres * 2 * var->yoffset, 214 fb->fb.fix.type = FB_TYPE_PACKED_PIXELS; 215 fb->fb.fix.visual = FB_VISUAL_TRUECOLOR; 216 fb->fb.fix.line_length = width * 2; 217 fb->fb.fix.accel = FB_ACCEL_NONE; 218 fb->fb.fix.ypanstep = 1; 247 fb->fb.fix.smem_start = fbpaddr; 248 fb->fb.fix.smem_len = framesize; 273 fb->fb.fix [all...] |
/linux-master/fs/ocfs2/ |
H A D | blockcheck.h | 78 * Fix a buffer with a bit error. The 'fix' is the original parity 88 unsigned int fix); 93 unsigned int fix);
|
H A D | blockcheck.c | 157 unsigned int fix) 164 * If the bit to fix has an hweight of 1, it's a parity bit. One 167 if (hweight32(fix) == 1) 172 * If fix after that, nothing to do 174 if (fix >= calc_code_bit(nr + d, NULL)) 183 /* If the fix is before this hunk, nothing to do */ 184 if (fix < b) 198 * Thus, when b == fix, bit i in the current hunk needs 201 if (b == fix) 213 unsigned int fix) 156 ocfs2_hamming_fix(void *data, unsigned int d, unsigned int nr, unsigned int fix) argument 212 ocfs2_hamming_fix_block(void *data, unsigned int blocksize, unsigned int fix) argument 492 u32 crc, ecc, fix; local [all...] |
/linux-master/drivers/video/fbdev/core/ |
H A D | sysimgblt.c | 77 if (p->fix.visual == FB_VISUAL_TRUECOLOR || 78 p->fix.visual == FB_VISUAL_DIRECTCOLOR ) 100 dst1 += p->fix.line_length; 102 dst2 += p->fix.line_length; 117 u32 val, pitch = p->fix.line_length; 183 * fix->line_legth is divisible by 4; 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; 314 if (p->fix [all...] |
H A D | fb_procfs.c | 34 seq_printf(m, "%d %s\n", fi->node, fi->fix.id);
|
/linux-master/arch/m68k/math-emu/ |
H A D | multi_arith.h | 188 unsigned long fix, rem, first, dummy; local 203 to fix the result, after that we have nearly the correct result 209 fix = 0x80000000; 211 dummy = (dummy >> 1) | fix; 212 fp_div64(fix, dummy, fix, 0, dummy); 213 fix--; 219 fp_mul64(*mantp, dummy, first, fix); 220 *mantp += fix; 224 fp_mul64(*mantp, dummy, first, fix); [all...] |
/linux-master/drivers/video/fbdev/i810/ |
H A D | i810_accel.c | 321 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 [all...] |
/linux-master/arch/mips/kernel/ |
H A D | r4k-bugs64.c | 122 int bug, fix, i; local 156 fix = 1; 159 fix = 0; 161 if (fix == 1) {
|