Lines Matching refs:start_address
1184 u32 start_address; in unconfigure_boot_device() local
1216 pci_bus_read_config_dword(ibmphp_pci_bus, devfn, address[count], &start_address); in unconfigure_boot_device()
1222 pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], start_address); in unconfigure_boot_device()
1224 debug("start_address is %x\n", start_address); in unconfigure_boot_device()
1231 tmp_address = start_address; in unconfigure_boot_device()
1232 if (start_address & PCI_BASE_ADDRESS_SPACE_IO) { in unconfigure_boot_device()
1234 start_address &= PCI_BASE_ADDRESS_IO_MASK; in unconfigure_boot_device()
1237 end_address = start_address + size - 1; in unconfigure_boot_device()
1238 if (ibmphp_find_resource(bus, start_address, &io, IO)) in unconfigure_boot_device()
1243 start_address = io->end + 1; in unconfigure_boot_device()
1247 if (ibmphp_find_resource(bus, start_address, in unconfigure_boot_device()
1253 start_address = io->end + 1; in unconfigure_boot_device()
1260 if (start_address & PCI_BASE_ADDRESS_MEM_PREFETCH) { in unconfigure_boot_device()
1262 debug("start address of pfmem is %x\n", start_address); in unconfigure_boot_device()
1263 start_address &= PCI_BASE_ADDRESS_MEM_MASK; in unconfigure_boot_device()
1265 if (ibmphp_find_resource(bus, start_address, &pfmem, PFMEM) < 0) { in unconfigure_boot_device()
1276 debug("start address of mem is %x\n", start_address); in unconfigure_boot_device()
1277 start_address &= PCI_BASE_ADDRESS_MEM_MASK; in unconfigure_boot_device()
1279 if (ibmphp_find_resource(bus, start_address, &mem, MEM) < 0) { in unconfigure_boot_device()
1307 u32 start_address, tmp_address; in unconfigure_boot_bridge() local
1356 pci_bus_read_config_dword(ibmphp_pci_bus, devfn, address[count], &start_address); in unconfigure_boot_bridge()
1358 if (!start_address) { in unconfigure_boot_bridge()
1363 tmp_address = start_address; in unconfigure_boot_bridge()
1365 if (start_address & PCI_BASE_ADDRESS_SPACE_IO) { in unconfigure_boot_bridge()
1367 start_address &= PCI_BASE_ADDRESS_IO_MASK; in unconfigure_boot_bridge()
1368 if (ibmphp_find_resource(bus, start_address, &io, IO) < 0) { in unconfigure_boot_bridge()
1380 if (start_address & PCI_BASE_ADDRESS_MEM_PREFETCH) { in unconfigure_boot_bridge()
1382 start_address &= PCI_BASE_ADDRESS_MEM_MASK; in unconfigure_boot_bridge()
1383 if (ibmphp_find_resource(bus, start_address, &pfmem, PFMEM) < 0) { in unconfigure_boot_bridge()
1394 start_address &= PCI_BASE_ADDRESS_MEM_MASK; in unconfigure_boot_bridge()
1395 if (ibmphp_find_resource(bus, start_address, &mem, MEM) < 0) { in unconfigure_boot_bridge()