Lines Matching refs:pfmem
1709 int ibmphp_add_pfmem_from_mem(struct resource_node *pfmem) in ibmphp_add_pfmem_from_mem() argument
1711 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() local
2093 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()
2100 pfmem->busno = bus_cur->busno; in update_bridge_ranges()
2101 pfmem->devfunc = ((device << 3) | (function & 0x7)); in update_bridge_ranges()
2102 pfmem->start = start_address; in update_bridge_ranges()
2103 pfmem->end = end_address + 0xfffff; in update_bridge_ranges()
2104 pfmem->len = pfmem->end - pfmem->start + 1; in update_bridge_ranges()
2105 pfmem->fromMem = 0; in update_bridge_ranges()
2107 ibmphp_add_resource(pfmem); in update_bridge_ranges()