Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/pci/hotplug/
Dibmphp_pci.c332 } else if (cur_func->pfmem[i]) { in ibmphp_configure_card()
333 ibmphp_remove_resource (cur_func->pfmem[i]); in ibmphp_configure_card()
334 cur_func->pfmem[i] = NULL; in ibmphp_configure_card()
366 struct resource_node *pfmem[6]; in configure_device() local
444 pfmem[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in configure_device()
445 if (!pfmem[count]) { in configure_device()
449 pfmem[count]->type = PFMEM; in configure_device()
450 pfmem[count]->busno = func->busno; in configure_device()
451 pfmem[count]->devfunc = PCI_DEVFN(func->device, in configure_device()
453 pfmem[count]->len = len[count]; in configure_device()
[all …]
Dibmphp_res.c1737 int ibmphp_add_pfmem_from_mem (struct resource_node *pfmem) in ibmphp_add_pfmem_from_mem() argument
1739 struct bus_node *bus_cur = find_bus_wprev (pfmem->busno, NULL, 0); in ibmphp_add_pfmem_from_mem()
1747 pfmem->next = bus_cur->firstPFMemFromMem; in ibmphp_add_pfmem_from_mem()
1749 pfmem->next = NULL; in ibmphp_add_pfmem_from_mem()
1751 bus_cur->firstPFMemFromMem = pfmem; in ibmphp_add_pfmem_from_mem()
1949 struct resource_node *pfmem; in update_bridge_ranges() local
2132 if (ibmphp_find_resource (bus_cur, start_address, &pfmem, PFMEM)) { in update_bridge_ranges()
2133 pfmem = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in update_bridge_ranges()
2134 if (!pfmem) { in update_bridge_ranges()
2139 pfmem->type = PFMEM; in update_bridge_ranges()
[all …]
Dibmphp.h376 u32 pfmem; member
698 struct resource_node *pfmem[6]; member