Lines Matching +full:0 +full:x00800000
36 busdevfn = pci_find_device(PCI_VENDOR, PCI_DEVICE, 0); in universe_init()
43 pci_write_config_dword(busdevfn, 0x0c, 0); in universe_init()
52 memset(dev, 0, sizeof(*dev)); in universe_init()
59 val &= ~0xf; in universe_init()
78 for (j=0; j <4; j ++) { in universe_init()
79 writel(0x00800000, &dev->uregs->lsi[j].ctl); in universe_init()
80 writel(0x00800000, &dev->uregs->vsi[j].ctl); in universe_init()
89 writel(0x15040000 | (readl(&dev->uregs->misc_ctl) & 0x00020000), &dev->uregs->misc_ctl); in universe_init()
91 if (readl(&dev->uregs->misc_ctl) & 0x00020000) { in universe_init()
100 writel(0x00000000,&dev->uregs->lint_en); /* Disable interrupts in the Universe first */ in universe_init()
101 writel(0x0000FFFF,&dev->uregs->lint_stat); /* Clear Any Pending Interrupts */ in universe_init()
103 writel(0x0000, &dev->uregs->lint_map0); /* Map all ints to 0 */ in universe_init()
104 writel(0x0000, &dev->uregs->lint_map1); /* Map all ints to 0 */ in universe_init()
107 return 0; in universe_init()
122 unsigned int ctl = 0; in universe_pci_slave_window()
129 for (i = 0; i < 4; i++) { in universe_pci_slave_window()
130 if (0x00800000 == readl(&dev->uregs->lsi[i].ctl)) in universe_pci_slave_window()
148 ctl = 0x00000000; in universe_pci_slave_window()
151 ctl = 0x00010000; in universe_pci_slave_window()
154 ctl = 0x00020000; in universe_pci_slave_window()
160 ctl |= 0x00000000; in universe_pci_slave_window()
163 ctl |= 0x00008000; in universe_pci_slave_window()
168 ctl |= 0x00001000; in universe_pci_slave_window()
174 ctl |= 0x00000000; in universe_pci_slave_window()
177 ctl |= 0x00400000; in universe_pci_slave_window()
180 ctl |= 0x00800000; in universe_pci_slave_window()
186 ctl |= 0x00000000; in universe_pci_slave_window()
189 ctl |= 0x00000001; in universe_pci_slave_window()
192 ctl |= 0x00000002; in universe_pci_slave_window()
196 ctl |= 0x80000000; /* enable */ in universe_pci_slave_window()
206 return 0; in universe_pci_slave_window()
219 unsigned int ctl = 0; in universe_vme_slave_window()
226 for (i = 0; i < 4; i++) { in universe_vme_slave_window()
227 if (0x00800000 == readl(&dev->uregs->vsi[i].ctl)) in universe_vme_slave_window()
245 ctl = 0x00000000; in universe_vme_slave_window()
248 ctl = 0x00010000; in universe_vme_slave_window()
251 ctl = 0x00020000; in universe_vme_slave_window()
257 ctl |= 0x00000000; in universe_vme_slave_window()
260 ctl |= 0x00800000; in universe_vme_slave_window()
265 ctl |= 0x00100000; in universe_vme_slave_window()
271 ctl |= 0x00000000; in universe_vme_slave_window()
274 ctl |= 0x00000001; in universe_vme_slave_window()
277 ctl |= 0x00000002; in universe_vme_slave_window()
281 ctl |= 0x80f00000; /* enable */ in universe_vme_slave_window()
291 return 0; in universe_vme_slave_window()
303 ulong addr1 = 0, addr2 = 0, size = 0, vam = 0, pms = 0, vdw = 0; in do_universe()
308 cmd = argv[1][0]; in do_universe()
342 return 0; in do_universe()