Lines Matching +full:0 +full:x256

64 		.hfmin	= 0,
66 .vfmin = 0,
120 memset(&vidc, 0, sizeof(vidc)); in acornfb_set_timing()
162 vidc_writel(0xd0000000 | vidc.pll_ctl); in acornfb_set_timing()
163 vidc_writel(0x80000000 | vidc.h_cycle); in acornfb_set_timing()
164 vidc_writel(0x81000000 | vidc.h_sync_width); in acornfb_set_timing()
165 vidc_writel(0x82000000 | vidc.h_border_start); in acornfb_set_timing()
166 vidc_writel(0x83000000 | vidc.h_display_start); in acornfb_set_timing()
167 vidc_writel(0x84000000 | vidc.h_display_end); in acornfb_set_timing()
168 vidc_writel(0x85000000 | vidc.h_border_end); in acornfb_set_timing()
169 vidc_writel(0x86000000); in acornfb_set_timing()
170 vidc_writel(0x87000000 | vidc.h_interlace); in acornfb_set_timing()
171 vidc_writel(0x90000000 | vidc.v_cycle); in acornfb_set_timing()
172 vidc_writel(0x91000000 | vidc.v_sync_width); in acornfb_set_timing()
173 vidc_writel(0x92000000 | vidc.v_border_start); in acornfb_set_timing()
174 vidc_writel(0x93000000 | vidc.v_display_start); in acornfb_set_timing()
175 vidc_writel(0x94000000 | vidc.v_display_end); in acornfb_set_timing()
176 vidc_writel(0x95000000 | vidc.v_border_end); in acornfb_set_timing()
177 vidc_writel(0x96000000); in acornfb_set_timing()
178 vidc_writel(0x97000000); in acornfb_set_timing()
238 printk(KERN_DEBUG " Ext Ctrl (C) : 0x%08X\n", ext_ctl); in acornfb_set_timing()
239 printk(KERN_DEBUG " PLL Ctrl (D) : 0x%08X\n", vidc.pll_ctl); in acornfb_set_timing()
240 printk(KERN_DEBUG " Ctrl (E) : 0x%08X\n", vidc.control); in acornfb_set_timing()
241 printk(KERN_DEBUG " Data Ctrl (F) : 0x%08X\n", dat_ctl); in acornfb_set_timing()
242 printk(KERN_DEBUG " Fsize : 0x%08X\n", fsize); in acornfb_set_timing()
252 * red ++++++++ (8 bits, 7 to 0)
260 * red +++++ (5 bits, 4 to 0)
283 pal.p = 0; in acornfb_setcolreg()
293 pal.p = 0; in acornfb_setcolreg()
294 vidc_writel(0x10000000); in acornfb_setcolreg()
295 for (i = 0; i < 256; i += 1) { in acornfb_setcolreg()
303 vidc_writel(0x10000000 | regno); in acornfb_setcolreg()
307 return 0; in acornfb_setcolreg()
327 var->xoffset = 0; in acornfb_adjust_timing()
408 return 0; in acornfb_adjust_timing()
431 hs >= monspecs->hfmin && hs <= monspecs->hfmax) ? 0 : -EINVAL; in acornfb_validate_timing()
457 var->red.msb_right = 0; in acornfb_check_var()
458 var->green.msb_right = 0; in acornfb_check_var()
459 var->blue.msb_right = 0; in acornfb_check_var()
460 var->transp.msb_right = 0; in acornfb_check_var()
464 var->red.offset = 0; in acornfb_check_var()
468 var->transp.offset = 0; in acornfb_check_var()
469 var->transp.length = 0; in acornfb_check_var()
474 var->red.offset = 0; in acornfb_check_var()
485 var->red.offset = 0; in acornfb_check_var()
559 memc_write(VDMA_START, 0); in acornfb_set_par()
587 return 0; in acornfb_set_par()
603 return 0; in acornfb_pan_display()
619 { /* 320x256 @ 50Hz */
625 0,
627 }, { /* 640x256 @ 50Hz, 15.6 kHz hsync */
629 0,
633 0,
637 0,
639 }, { /* 640x256 @ 70Hz, 31.5 kHz hsync */
641 0,
645 0,
649 0,
653 0,
656 NULL, 60, 896, 352, 41667, 59, 27, 9, 0, 118, 3,
657 0,
661 0,
665 0,
682 .sync = 0,
692 first = 0; in acornfb_init_fbinfo()
700 fb_info.fix.type_aux = 0; in acornfb_init_fbinfo()
701 fb_info.fix.xpanstep = 0; in acornfb_init_fbinfo()
704 fb_info.fix.line_length = 0; in acornfb_init_fbinfo()
710 memset(&fb_info.var, 0, sizeof(fb_info.var)); in acornfb_init_fbinfo()
718 fb_info.var.nonstd = 0; in acornfb_init_fbinfo()
725 current_par.dram_size = 0; in acornfb_init_fbinfo()
727 current_par.dpms = 0; in acornfb_init_fbinfo()
745 * 0 (or tv) - TV frequency
765 fb_info.monspecs.hfmin = simple_strtoul(p, &p, 0); in acornfb_parse_mon()
767 fb_info.monspecs.hfmax = simple_strtoul(p + 1, &p, 0); in acornfb_parse_mon()
774 fb_info.monspecs.vfmin = simple_strtoul(p + 1, &p, 0); in acornfb_parse_mon()
776 fb_info.monspecs.vfmax = simple_strtoul(p + 1, &p, 0); in acornfb_parse_mon()
783 fb_info.monspecs.dpms = simple_strtoul(p + 1, &p, 0); in acornfb_parse_mon()
788 fb_info.var.width = simple_strtoul(p + 1, &p, 0); in acornfb_parse_mon()
793 fb_info.var.height = simple_strtoul(p + 1, NULL, 0); in acornfb_parse_mon()
810 if (strncmp(opt, "tv", 2) == 0) { in acornfb_parse_montype()
812 current_par.montype = 0; in acornfb_parse_montype()
813 } else if (strncmp(opt, "multi", 5) == 0) { in acornfb_parse_montype()
816 } else if (strncmp(opt, "hires", 5) == 0) { in acornfb_parse_montype()
819 } else if (strncmp(opt, "vga", 3) == 0) { in acornfb_parse_montype()
822 } else if (strncmp(opt, "svga", 4) == 0) { in acornfb_parse_montype()
825 } else if (strncmp(opt, "auto", 4) == 0) { in acornfb_parse_montype()
829 current_par.montype = simple_strtoul(opt, &opt, 0); in acornfb_parse_montype()
838 if (strcmp(opt, ",dpms") == 0) in acornfb_parse_montype()
851 size = simple_strtoul(opt, &opt, 0); in acornfb_parse_dram()
886 return 0; in acornfb_setup()
899 if (strncmp(opt, optp->name, optlen) == 0 && in acornfb_setup()
910 return 0; in acornfb_setup()
943 if (current_par.montype >= 0) { in acornfb_probe()
951 for (i = 0; i < ARRAY_SIZE(modedb); i++) { in acornfb_probe()
970 current_par.using_vram = 0; in acornfb_probe()
1033 rc = fb_find_mode(&fb_info.var, &fb_info, NULL, NULL, 0, in acornfb_probe()
1047 rc = fb_find_mode(&fb_info.var, &fb_info, NULL, NULL, 0, in acornfb_probe()
1049 } while (0); in acornfb_probe()
1055 if (rc == 0) { in acornfb_probe()
1081 if (register_framebuffer(&fb_info) < 0) in acornfb_probe()
1083 return 0; in acornfb_probe()