Lines Matching +full:0 +full:xf800
39 0x7fff, 0x7fe0, 0x03ff, 0x03e0, 0x7c1f, 0x7c00, 0x001f, 0x0000,
40 0xffff, 0xffe0, 0x83ff, 0x83e0, 0xfc1f, 0xfc00, 0x801f, 0x8000
44 0xffff, 0xffe0, 0x07ff, 0x07e0, 0xf81f, 0xf800, 0x001f, 0x0000,
45 0xffff, 0xffe0, 0x07ff, 0x07e0, 0xf81f, 0xf800, 0x001f, 0x0000
57 for (y = 0; y < dev->display_height; y++) { in vivid_clear_fb()
60 for (x = 0; x < dev->display_width; x++) in vivid_clear_fb()
76 memset(&vblank, 0, sizeof(vblank)); in vivid_fb_ioctl()
79 vblank.count = 0; in vivid_fb_ioctl()
80 vblank.vcount = 0; in vivid_fb_ioctl()
81 vblank.hcount = 0; in vivid_fb_ioctl()
84 return 0; in vivid_fb_ioctl()
91 return 0; in vivid_fb_ioctl()
106 return 0; in vivid_fb_set_var()
112 memset(fix, 0, sizeof(struct fb_fix_screeninfo)); in vivid_fb_get_fix()
120 fix->ywrapstep = 0; in vivid_fb_get_fix()
123 return 0; in vivid_fb_get_fix()
139 var->blue.offset = 0; in _vivid_fb_check_var()
148 var->blue.offset = 0; in _vivid_fb_check_var()
150 var->transp.offset = 0; in _vivid_fb_check_var()
151 var->transp.length = 0; in _vivid_fb_check_var()
153 var->xoffset = var->yoffset = 0; in _vivid_fb_check_var()
154 var->left_margin = var->upper_margin = 0; in _vivid_fb_check_var()
155 var->nonstd = 0; in _vivid_fb_check_var()
166 return 0; in _vivid_fb_check_var()
179 return 0; in vivid_fb_pan_display()
184 int rc = 0; in vivid_fb_set_par()
203 color = ((transp & 0xFF00) << 16) | ((red & 0xFF00) << 8) | in vivid_fb_setcolreg()
204 (green & 0xFF00) | ((blue & 0xFF00) >> 8); in vivid_fb_setcolreg()
212 color = (red & 0xf800) | in vivid_fb_setcolreg()
213 ((green & 0xfc00) >> 5) | in vivid_fb_setcolreg()
214 ((blue & 0xf800) >> 11); in vivid_fb_setcolreg()
217 color = ((red & 0xf800) >> 1) | in vivid_fb_setcolreg()
218 ((green & 0xf800) >> 6) | in vivid_fb_setcolreg()
219 ((blue & 0xf800) >> 11) | in vivid_fb_setcolreg()
220 (transp ? 0x8000 : 0); in vivid_fb_setcolreg()
225 return 0; in vivid_fb_setcolreg()
244 return 0; in vivid_fb_blank()
273 start_window.left = 0; in vivid_fb_init_vidmode()
280 start_window.top = 0; in vivid_fb_init_vidmode()
296 dev->fb_defined.nonstd = 0; in vivid_fb_init_vidmode()
332 return dev->fb_info.pseudo_palette ? 0 : -ENOMEM; in vivid_fb_init_vidmode()
362 pr_info("Framebuffer at 0x%lx, mapped to 0x%p, size %dk\n", in vivid_fb_init()
376 if (register_framebuffer(&dev->fb_info) < 0) { in vivid_fb_init()
383 return 0; in vivid_fb_init()