Searched refs:pfmem (Results 1 – 3 of 3) sorted by relevance
313 } else if (cur_func->pfmem[i]) { in ibmphp_configure_card()314 ibmphp_remove_resource(cur_func->pfmem[i]); in ibmphp_configure_card()315 cur_func->pfmem[i] = NULL; in ibmphp_configure_card()347 struct resource_node *pfmem[6]; in configure_device() local424 pfmem[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in configure_device()425 if (!pfmem[count]) in configure_device()428 pfmem[count]->type = PFMEM; in configure_device()429 pfmem[count]->busno = func->busno; in configure_device()430 pfmem[count]->devfunc = PCI_DEVFN(func->device, in configure_device()432 pfmem[count]->len = len[count]; in configure_device()[all …]
1709 int ibmphp_add_pfmem_from_mem(struct resource_node *pfmem) in ibmphp_add_pfmem_from_mem() argument1711 struct bus_node *bus_cur = find_bus_wprev(pfmem->busno, NULL, 0); in ibmphp_add_pfmem_from_mem()1719 pfmem->next = bus_cur->firstPFMemFromMem; in ibmphp_add_pfmem_from_mem()1721 pfmem->next = NULL; in ibmphp_add_pfmem_from_mem()1723 bus_cur->firstPFMemFromMem = pfmem; in ibmphp_add_pfmem_from_mem()1915 struct resource_node *pfmem; in update_bridge_ranges() local2094 if (ibmphp_find_resource(bus_cur, start_address, &pfmem, PFMEM)) { in update_bridge_ranges()2095 pfmem = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in update_bridge_ranges()2096 if (!pfmem) { in update_bridge_ranges()2100 pfmem->type = PFMEM; in update_bridge_ranges()[all …]
360 u32 pfmem; member681 struct resource_node *pfmem[6]; member