Home
last modified time | relevance | path

Searched refs:bus_mem (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/pci/hotplug/
H A Dibmphp_pci.c562 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()
[all …]