Lines Matching +full:0 +full:xfffffe00

51 		info->var.red.offset    = 0;  in vt8500lcd_set_par()
53 info->var.red.msb_right = 0; in vt8500lcd_set_par()
55 info->var.green.offset = 0; in vt8500lcd_set_par()
57 info->var.green.msb_right = 0; in vt8500lcd_set_par()
59 info->var.blue.offset = 0; in vt8500lcd_set_par()
61 info->var.blue.msb_right = 0; in vt8500lcd_set_par()
63 info->var.transp.offset = 0; in vt8500lcd_set_par()
64 info->var.transp.length = 0; in vt8500lcd_set_par()
65 info->var.transp.msb_right = 0; in vt8500lcd_set_par()
72 info->var.transp.offset = 0; in vt8500lcd_set_par()
73 info->var.transp.length = 0; in vt8500lcd_set_par()
74 info->var.transp.msb_right = 0; in vt8500lcd_set_par()
80 info->var.red.msb_right = 0; in vt8500lcd_set_par()
83 info->var.green.msb_right = 0; in vt8500lcd_set_par()
84 info->var.blue.offset = 0; in vt8500lcd_set_par()
86 info->var.blue.msb_right = 0; in vt8500lcd_set_par()
92 info->var.red.msb_right = 0; in vt8500lcd_set_par()
95 info->var.green.msb_right = 0; in vt8500lcd_set_par()
96 info->var.blue.offset = 0; in vt8500lcd_set_par()
98 info->var.blue.msb_right = 0; in vt8500lcd_set_par()
107 for (i = 0; i < 8; i++) { in vt8500lcd_set_par()
112 control0 = readl(fbi->regbase) & ~0xf; in vt8500lcd_set_par()
113 writel(0, fbi->regbase); in vt8500lcd_set_par()
114 while (readl(fbi->regbase + 0x38) & 0x10) in vt8500lcd_set_par()
116 writel((((info->var.hsync_len - 1) & 0x3f) << 26) in vt8500lcd_set_par()
117 | ((info->var.left_margin & 0xff) << 18) in vt8500lcd_set_par()
118 | (((info->var.xres - 1) & 0x3ff) << 8) in vt8500lcd_set_par()
119 | (info->var.right_margin & 0xff), fbi->regbase + 0x4); in vt8500lcd_set_par()
120 writel((((info->var.vsync_len - 1) & 0x3f) << 26) in vt8500lcd_set_par()
121 | ((info->var.upper_margin & 0xff) << 18) in vt8500lcd_set_par()
122 | (((info->var.yres - 1) & 0x3ff) << 8) in vt8500lcd_set_par()
123 | (info->var.lower_margin & 0xff), fbi->regbase + 0x8); in vt8500lcd_set_par()
124 writel((((info->var.yres - 1) & 0x400) << 2) in vt8500lcd_set_par()
125 | ((info->var.xres - 1) & 0x400), fbi->regbase + 0x10); in vt8500lcd_set_par()
126 writel(0x80000000, fbi->regbase + 0x20); in vt8500lcd_set_par()
127 writel(control0 | (reg_bpp << 1) | 0x100, fbi->regbase); in vt8500lcd_set_par()
129 return 0; in vt8500lcd_set_par()
134 chan &= 0xffff; in chan_to_field()
162 ret = 0; in vt8500lcd_setcolreg()
168 writew((red & 0xf800) in vt8500lcd_setcolreg()
169 | ((green >> 5) & 0x7e0) in vt8500lcd_setcolreg()
170 | ((blue >> 11) & 0x1f), in vt8500lcd_setcolreg()
181 int ret = 0; in vt8500lcd_ioctl()
186 writel(0xffffffff ^ (1 << 3), fbi->regbase + 0x3c); in vt8500lcd_ioctl()
188 readl(fbi->regbase + 0x38) & (1 << 3), HZ / 10); in vt8500lcd_ioctl()
190 writel(0xffffffff, fbi->regbase + 0x3c); in vt8500lcd_ioctl()
191 if (ret < 0) in vt8500lcd_ioctl()
193 if (ret == 0) in vt8500lcd_ioctl()
210 | (off >> 2), fbi->regbase + 0x20); in vt8500lcd_pan_display()
211 return 0; in vt8500lcd_pan_display()
231 for (i = 0; i < 256; i++) in vt8500lcd_blank()
232 vt8500lcd_setcolreg(i, 0, 0, 0, 0, info); in vt8500lcd_blank()
239 return 0; in vt8500lcd_blank()
261 if (readl(fbi->regbase + 0x38) & (1 << 3)) in vt8500lcd_handle_irq()
264 writel(0xffffffff, fbi->regbase + 0x38); in vt8500lcd_handle_irq()
293 fbi->fb.fix.xpanstep = 0; in vt8500lcd_probe()
295 fbi->fb.fix.ywrapstep = 0; in vt8500lcd_probe()
298 fbi->fb.var.nonstd = 0; in vt8500lcd_probe()
316 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in vt8500lcd_probe()
375 irq = platform_get_irq(pdev, 0); in vt8500lcd_probe()
376 if (irq < 0) { in vt8500lcd_probe()
381 ret = request_irq(irq, vt8500lcd_handle_irq, 0, "LCD", fbi); in vt8500lcd_probe()
390 if (fb_alloc_cmap(&fbi->fb.cmap, 256, 0) < 0) { in vt8500lcd_probe()
408 writel(fbi->fb.fix.smem_start >> 22, fbi->regbase + 0x1c); in vt8500lcd_probe()
409 writel((fbi->palette_phys & 0xfffffe00) | 1, fbi->regbase + 0x18); in vt8500lcd_probe()
414 if (ret < 0) { in vt8500lcd_probe()
425 return 0; in vt8500lcd_probe()
450 writel(0, fbi->regbase); in vt8500lcd_remove()
455 irq = platform_get_irq(pdev, 0); in vt8500lcd_remove()
463 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in vt8500lcd_remove()