Searched refs:pfmem (Results 1 – 3 of 3) sorted by relevance
314 } else if (cur_func->pfmem[i]) { in ibmphp_configure_card()315 ibmphp_remove_resource(cur_func->pfmem[i]); in ibmphp_configure_card()316 cur_func->pfmem[i] = NULL; in ibmphp_configure_card()348 struct resource_node *pfmem[6]; in configure_device() local425 pfmem[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in configure_device()426 if (!pfmem[count]) in configure_device()429 pfmem[count]->type = PFMEM; in configure_device()430 pfmem[count]->busno = func->busno; in configure_device()431 pfmem[count]->devfunc = PCI_DEVFN(func->device, in configure_device()433 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() local2093 if (ibmphp_find_resource(bus_cur, start_address, &pfmem, PFMEM)) { in update_bridge_ranges()2094 pfmem = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in update_bridge_ranges()2095 if (!pfmem) { in update_bridge_ranges()2099 pfmem->type = PFMEM; in update_bridge_ranges()[all …]
362 u32 pfmem; member684 struct resource_node *pfmem[6]; member