Lines Matching refs:bus_mem
562 struct resource_node *bus_mem[2] = {NULL, NULL}; in configure_bridge() local
738 bus_mem[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in configure_bridge()
739 if (!bus_mem[count]) { in configure_bridge()
743 bus_mem[count]->type = MEM; in configure_bridge()
744 bus_mem[count]->busno = func->busno; in configure_bridge()
745 bus_mem[count]->devfunc = PCI_DEVFN(func->device, in configure_bridge()
747 bus_mem[count]->len = len[count]; in configure_bridge()
748 if (ibmphp_check_resource(bus_mem[count], 0) == 0) { in configure_bridge()
749 ibmphp_add_resource(bus_mem[count]); in configure_bridge()
750 func->mem[count] = bus_mem[count]; in configure_bridge()
754 kfree(bus_mem[count]); in configure_bridge()
793 } else if (bus_mem[count]) { in configure_bridge()
794 ibmphp_remove_resource(bus_mem[count]); in configure_bridge()
1032 } else if (bus_mem[i]) { in configure_bridge()
1033 ibmphp_remove_resource(bus_mem[i]); in configure_bridge()