Lines Matching refs:mem_node
2323 struct pci_resource *mem_node; in configure_new_function() local
2393 mem_node = get_max_resource(&(resources->mem_head), 0x100000); in configure_new_function()
2394 if (!mem_node) in configure_new_function()
2404 dbg("(base, len, next) (%x, %x, %p)\n", mem_node->base, in configure_new_function()
2405 mem_node->length, mem_node->next); in configure_new_function()
2431 temp_resources.mem_head = mem_node; in configure_new_function()
2473 memcpy(hold_mem_node, mem_node, sizeof(struct pci_resource)); in configure_new_function()
2474 mem_node->next = NULL; in configure_new_function()
2477 temp_word = mem_node->base >> 16; in configure_new_function()
2480 temp_word = (mem_node->base + mem_node->length - 1) >> 16; in configure_new_function()
2624 mem_node = do_pre_bridge_resource_split(&(temp_resources. mem_head), in configure_new_function()
2628 if (mem_node) { in configure_new_function()
2629 hold_mem_node->base = mem_node->base + mem_node->length; in configure_new_function()
2634 return_resource(&(resources->mem_head), mem_node); in configure_new_function()
2637 mem_node = do_bridge_resource_split(&(temp_resources.mem_head), 0x100000); in configure_new_function()
2640 if (mem_node) { in configure_new_function()
2643 hold_mem_node->length = mem_node->base - hold_mem_node->base; in configure_new_function()
2650 temp_word = (mem_node->base - 1) >> 16; in configure_new_function()
2654 return_resource(&(resources->mem_head), mem_node); in configure_new_function()
2660 return_resource(&(resources->mem_head), mem_node); in configure_new_function()
2802 mem_node = get_resource(&(resources->mem_head), base); in configure_new_function()
2805 if (mem_node) { in configure_new_function()
2806 base = mem_node->base; in configure_new_function()
2808 mem_node->next = func->mem_head; in configure_new_function()
2809 func->mem_head = mem_node; in configure_new_function()