Lines Matching +full:0 +full:x03000000

28 		ret = 0;  in of_ioremap()
53 return 0; in of_bus_pci_match()
62 return 0; in of_bus_pci_match()
67 return 0; in of_bus_pci_match()
85 return 0; in of_bus_simba_match()
91 return 0; in of_bus_simba_map()
110 if (!((addr[0] ^ range[0]) & 0x03000000)) in of_bus_pci_map()
116 if ((addr[0] & 0x03000000) == 0x03000000 && in of_bus_pci_map()
117 (range[0] & 0x03000000) == 0x02000000) in of_bus_pci_map()
131 for (i = 0; i < na - 1; i++) in of_bus_pci_map()
138 return 0; in of_bus_pci_map()
143 u32 w = addr[0]; in of_bus_pci_get_flags()
146 flags = 0; in of_bus_pci_get_flags()
147 switch((w >> 24) & 0x03) { in of_bus_pci_get_flags()
148 case 0x01: in of_bus_pci_get_flags()
152 case 0x02: /* 32 bits */ in of_bus_pci_get_flags()
153 case 0x03: /* 64 bits */ in of_bus_pci_get_flags()
157 if (w & 0x40000000) in of_bus_pci_get_flags()
235 for (i = 0; i < ARRAY_SIZE(of_busses); i ++) in of_match_bus()
252 if (ranges == NULL || rlen == 0) { in build_one_resource()
256 memset(result, 0, pna * 4); in build_one_resource()
257 for (i = 0; i < na; i++) in build_one_resource()
262 return 0; in build_one_resource()
270 return 0; in build_one_resource()
277 (addr[0] & 0x03000000) == 0x01000000) in build_one_resource()
278 return 0; in build_one_resource()
287 return 0; in use_1to1_mapping()
302 return 0; in use_1to1_mapping()
309 return 0; in use_1to1_mapping()
333 if (!preg || num_reg == 0) in build_device_resources()
352 for (index = 0; index < num_reg; index++) { in build_device_resources()
367 flags = bus->get_flags(addr, 0); in build_device_resources()
401 memset(r, 0, sizeof(*r)); in build_device_resources()
410 result &= 0x0fffffffffffffffUL; in build_device_resources()
440 handle = 0; in apply_interrupt_map()
441 for (i = 0; i < imlen; i++) { in apply_interrupt_map()
444 for (j = 0; j < na; j++) { in apply_interrupt_map()
494 bus = (regs->phys_hi >> 16) & 0xff; in pci_irq_swizzle()
495 devfn = (regs->phys_hi >> 8) & 0xff; in pci_irq_swizzle()
496 slot = (devfn >> 3) & 0x1f; in pci_irq_swizzle()
505 * B: 0 on bus A, 1 on bus B in pci_irq_swizzle()
510 if (bus & 0x80) { in pci_irq_swizzle()
512 bus = 0x00; in pci_irq_swizzle()
516 bus = 0x10; in pci_irq_swizzle()
543 if (irq == 0xffffffff) in build_one_device_irq()
662 op->archdata.num_irqs = 0; in scan_one_device()
666 for (i = 0; i < op->archdata.num_irqs; i++) in scan_one_device()
706 return 0; in scan_of_devices()
709 return 0; in scan_of_devices()
715 int val = 0; in of_debug()