Searched refs:pfmem (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/drivers/hotplug/ |
D | ibmphp_pci.c | 329 } else if (cur_func->pfmem[i]) { in ibmphp_configure_card() 330 ibmphp_remove_resource (cur_func->pfmem[i]); in ibmphp_configure_card() 331 cur_func->pfmem[i] = NULL; in ibmphp_configure_card() 363 struct resource_node *pfmem[6]; in configure_device() local 443 pfmem[count] = kmalloc (sizeof (struct resource_node), GFP_KERNEL); in configure_device() 444 if (!pfmem[count]) { in configure_device() 448 memset (pfmem[count], 0, sizeof (struct resource_node)); in configure_device() 449 pfmem[count]->type = PFMEM; in configure_device() 450 pfmem[count]->busno = func->busno; in configure_device() 451 pfmem[count]->devfunc = ((func->device << 3) | (func->function & 0x7)); in configure_device() [all …]
|
D | ibmphp_res.c | 1730 int ibmphp_add_pfmem_from_mem (struct resource_node *pfmem) in ibmphp_add_pfmem_from_mem() argument 1732 struct bus_node *bus_cur = find_bus_wprev (pfmem->busno, NULL, 0); in ibmphp_add_pfmem_from_mem() 1740 pfmem->next = bus_cur->firstPFMemFromMem; in ibmphp_add_pfmem_from_mem() 1742 pfmem->next = NULL; in ibmphp_add_pfmem_from_mem() 1744 bus_cur->firstPFMemFromMem = pfmem; in ibmphp_add_pfmem_from_mem() 1942 struct resource_node *pfmem; in update_bridge_ranges() local 2127 if (ibmphp_find_resource (bus_cur, start_address, &pfmem, PFMEM)) { in update_bridge_ranges() 2128 pfmem = kmalloc (sizeof (struct resource_node), GFP_KERNEL); in update_bridge_ranges() 2129 if (!pfmem) { in update_bridge_ranges() 2134 memset (pfmem, 0, sizeof (struct resource_node)); in update_bridge_ranges() [all …]
|
D | ibmphp.h | 377 u32 pfmem; member 707 struct resource_node *pfmem[6]; member
|