• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/video/

Lines Matching refs:fix

64 		       struct fb_fix_screeninfo *fix)
68 if (fix->visual == FB_VISUAL_MONO01 ||
69 fix->visual == FB_VISUAL_MONO10)
253 u8 xor = (info->fix.visual == FB_VISUAL_MONO01) ? 0xff : 0;
256 switch (fb_get_color_depth(&info->var, &info->fix)) {
268 if (info->fix.visual == FB_VISUAL_MONO01 ||
269 info->fix.visual == FB_VISUAL_MONO10)
518 if (info->fix.visual != FB_VISUAL_TRUECOLOR)
566 int depth = fb_get_color_depth(&info->var, &info->fix);
575 if (info->fix.visual == FB_VISUAL_DIRECTCOLOR) {
583 if (info->fix.visual == FB_VISUAL_STATIC_PSEUDOCOLOR && depth > 4) {
615 switch (info->fix.visual) {
668 seq_printf(m, "%d %s\n", fi->node, fi->fix.id);
716 total_size = info->fix.smem_len;
791 total_size = info->fix.smem_len;
854 struct fb_fix_screeninfo *fix = &info->fix;
860 if (!fix->ywrapstep || (var->yoffset % fix->ywrapstep))
864 } else if (!fix->ypanstep || (var->yoffset % fix->ypanstep))
868 if (var->xoffset > 0 && (!fix->xpanstep ||
869 (var->xoffset % fix->xpanstep)))
1034 struct fb_fix_screeninfo fix;
1068 fix = info->fix;
1071 ret = copy_to_user(argp, &fix, sizeof(fix)) ? -EFAULT : 0;
1230 static int do_fscreeninfo_to_user(struct fb_fix_screeninfo *fix,
1236 err = copy_to_user(&fix32->id, &fix->id, sizeof(fix32->id));
1238 data = (__u32) (unsigned long) fix->smem_start;
1241 err |= put_user(fix->smem_len, &fix32->smem_len);
1242 err |= put_user(fix->type, &fix32->type);
1243 err |= put_user(fix->type_aux, &fix32->type_aux);
1244 err |= put_user(fix->visual, &fix32->visual);
1245 err |= put_user(fix->xpanstep, &fix32->xpanstep);
1246 err |= put_user(fix->ypanstep, &fix32->ypanstep);
1247 err |= put_user(fix->ywrapstep, &fix32->ywrapstep);
1248 err |= put_user(fix->line_length, &fix32->line_length);
1250 data = (__u32) (unsigned long) fix->mmio_start;
1253 err |= put_user(fix->mmio_len, &fix32->mmio_len);
1254 err |= put_user(fix->accel, &fix32->accel);
1255 err |= copy_to_user(fix32->reserved, fix->reserved,
1256 sizeof(fix->reserved));
1265 struct fb_fix_screeninfo fix;
1273 err = do_fb_ioctl(info, cmd, (unsigned long) &fix);
1277 err = do_fscreeninfo_to_user(&fix, fix32);
1344 start = info->fix.smem_start;
1345 len = PAGE_ALIGN((start & ~PAGE_MASK) + info->fix.smem_len);
1353 start = info->fix.mmio_start;
1354 len = PAGE_ALIGN((start & ~PAGE_MASK) + info->fix.mmio_len);
1460 "support this framebuffer\n", fi->fix.id);
1464 "support this framebuffer\n", fi->fix.id);
1528 name, registered_fb[i]->fix.id);
1558 remove_conflicting_framebuffers(fb_info->apertures, fb_info->fix.id,