Lines Matching refs:pfmem
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()
2135 pfmem->type = PFMEM; in update_bridge_ranges()
2136 pfmem->busno = bus_cur->busno; in update_bridge_ranges()
2137 pfmem->devfunc = ((device << 3) | (function & 0x7)); in update_bridge_ranges()
2138 pfmem->start = start_address; in update_bridge_ranges()
2139 pfmem->end = end_address + 0xfffff; in update_bridge_ranges()
2140 pfmem->len = pfmem->end - pfmem->start + 1; in update_bridge_ranges()
2141 pfmem->fromMem = FALSE; in update_bridge_ranges()
2143 ibmphp_add_resource (pfmem); in update_bridge_ranges()