Lines Matching +full:0 +full:x05e00000

58 	ep->width = of_getintprop_default(ep->of_node, "width", 0);  in e3d_get_props()
59 ep->height = of_getintprop_default(ep->of_node, "height", 0); in e3d_get_props()
68 return 0; in e3d_get_props()
72 * 0x04000000, the following video layout register values:
74 * RAMDAC_VID_WH 0x03ff04ff
75 * RAMDAC_VID_CFG 0x1a0b0088
76 * RAMDAC_VID_32FB_0 0x04000000
77 * RAMDAC_VID_32FB_1 0x04800000
78 * RAMDAC_VID_8FB_0 0x05000000
79 * RAMDAC_VID_8FB_1 0x05200000
80 * RAMDAC_VID_XXXFB 0x05400000
81 * RAMDAC_VID_YYYFB 0x05c00000
82 * RAMDAC_VID_ZZZFB 0x05e00000
85 #define RAMDAC_VID_WH 0x00000070UL /* (height-1)<<16 | (width-1) */
86 #define RAMDAC_VID_CFG 0x00000074UL /* 0x1a000088|(linesz_log2<<16) */
87 #define RAMDAC_VID_32FB_0 0x00000078UL /* PCI base 32bpp FB buffer 0 */
88 #define RAMDAC_VID_32FB_1 0x0000007cUL /* PCI base 32bpp FB buffer 1 */
89 #define RAMDAC_VID_8FB_0 0x00000080UL /* PCI base 8bpp FB buffer 0 */
90 #define RAMDAC_VID_8FB_1 0x00000084UL /* PCI base 8bpp FB buffer 1 */
91 #define RAMDAC_VID_XXXFB 0x00000088UL /* PCI base of XXX FB */
92 #define RAMDAC_VID_YYYFB 0x0000008cUL /* PCI base of YYY FB */
93 #define RAMDAC_VID_ZZZFB 0x00000090UL /* PCI base of ZZZ FB */
96 #define RAMDAC_INDEX 0x000000bcUL
97 #define RAMDAC_DATA 0x000000c0UL
138 value = (blue_10 << 20) | (green_10 << 10) | (red_10 << 0); in e3d_setcolreg()
141 return 0; in e3d_setcolreg()
231 var->transp.offset = 0; in e3d_set_fbinfo()
232 var->transp.length = 0; in e3d_set_fbinfo()
234 if (fb_alloc_cmap(&info->cmap, 256, 0)) { in e3d_set_fbinfo()
239 return 0; in e3d_set_fbinfo()
271 if (err < 0) { in e3d_pci_register()
299 if (err < 0) { in e3d_pci_register()
304 ep->ramdac = ioremap(ep->regs_base_phys + 0x8000, 0x1000); in e3d_pci_register()
318 ep->fb_base_phys = pci_resource_start (pdev, 0); in e3d_pci_register()
321 err = pci_request_region(pdev, 0, "e3d framebuffer"); in e3d_pci_register()
322 if (err < 0) { in e3d_pci_register()
323 printk("e3d: Cannot request region 0 for %s\n", in e3d_pci_register()
332 line_length = (readl(ep->ramdac + RAMDAC_VID_CFG) >> 16) & 0xff; in e3d_pci_register()
366 if (err < 0) { in e3d_pci_register()
372 return 0; in e3d_pci_register()
381 pci_release_region(pdev, 0); in e3d_pci_register()
400 { PCI_DEVICE(PCI_VENDOR_ID_3DLABS, 0x7a0), },
401 { PCI_DEVICE(0x1091, 0x7a0), },
402 { PCI_DEVICE(PCI_VENDOR_ID_3DLABS, 0x7a2), },
406 .subdevice = 0x0108,
411 .subdevice = 0x0140,
416 .subdevice = 0x1024,
418 { 0, }