Lines Matching +full:0 +full:x31c
50 for (i = 0; i < 0x200; i += 4) in wm8505fb_init_hw()
51 writel(0, fbi->regbase + i); in wm8505fb_init_hw()
59 * 0x31C sets the correct color mode (RGB565) for WM8650 in wm8505fb_init_hw()
60 * Bit 8+9 (0x300) are ignored on WM8505 as reserved in wm8505fb_init_hw()
62 writel(0x31c, fbi->regbase + WMT_GOVR_COLORSPACE); in wm8505fb_init_hw()
70 writel(0xf, fbi->regbase + WMT_GOVR_FHI); in wm8505fb_init_hw()
75 return 0; in wm8505fb_init_hw()
92 writel(0, fbi->regbase + WMT_GOVR_TG); in wm8505fb_set_timing()
106 return 0; in wm8505fb_set_timing()
120 info->var.red.msb_right = 0; in wm8505fb_set_par()
123 info->var.green.msb_right = 0; in wm8505fb_set_par()
124 info->var.blue.offset = 0; in wm8505fb_set_par()
126 info->var.blue.msb_right = 0; in wm8505fb_set_par()
132 info->var.red.msb_right = 0; in wm8505fb_set_par()
135 info->var.green.msb_right = 0; in wm8505fb_set_par()
136 info->var.blue.offset = 0; in wm8505fb_set_par()
138 info->var.blue.msb_right = 0; in wm8505fb_set_par()
148 return 0; in wm8505fb_set_par()
168 if (kstrtoul(buf, 10, &tmp) || (tmp > 0xff)) in contrast_store()
187 chan &= 0xffff; in chan_to_field()
215 ret = 0; in wm8505fb_setcolreg()
230 return 0; in wm8505fb_pan_display()
242 writel(0, fbi->regbase + WMT_GOVR_TIMING_V_SYNC); in wm8505fb_blank()
246 return 0; in wm8505fb_blank()
286 fbi->fb.fix.ywrapstep = 0; in wm8505fb_probe()
302 fbi->regbase = devm_platform_ioremap_resource(pdev, 0); in wm8505fb_probe()
320 fbi->fb.var.nonstd = 0; in wm8505fb_probe()
344 fbi->contrast = 0x10; in wm8505fb_probe()
351 if (fb_alloc_cmap(&fbi->fb.cmap, 256, 0) < 0) { in wm8505fb_probe()
361 if (ret < 0) { in wm8505fb_probe()
369 fb_info(&fbi->fb, "%s frame buffer at 0x%lx-0x%lx\n", in wm8505fb_probe()
373 return 0; in wm8505fb_probe()
382 writel(0, fbi->regbase); in wm8505fb_remove()