Lines Matching refs:p_mem_node
2369 struct pci_resource *p_mem_node; in configure_new_function() local
2441 p_mem_node = get_max_resource(&(resources->p_mem_head), 0x100000); in configure_new_function()
2442 if (!p_mem_node) in configure_new_function()
2452 dbg("(base, len, next) (%x, %x, %p)\n", p_mem_node->base, in configure_new_function()
2453 p_mem_node->length, p_mem_node->next); in configure_new_function()
2477 temp_resources.p_mem_head = p_mem_node; in configure_new_function()
2528 memcpy(hold_p_mem_node, p_mem_node, sizeof(struct pci_resource)); in configure_new_function()
2529 p_mem_node->next = NULL; in configure_new_function()
2532 temp_word = p_mem_node->base >> 16; in configure_new_function()
2535 temp_word = (p_mem_node->base + p_mem_node->length - 1) >> 16; in configure_new_function()
2721 p_mem_node = do_pre_bridge_resource_split(&(temp_resources.p_mem_head), in configure_new_function()
2725 if (p_mem_node) { in configure_new_function()
2726 hold_p_mem_node->base = p_mem_node->base + p_mem_node->length; in configure_new_function()
2731 return_resource(&(resources->p_mem_head), p_mem_node); in configure_new_function()
2734 p_mem_node = do_bridge_resource_split(&(temp_resources.p_mem_head), 0x100000); in configure_new_function()
2737 if (p_mem_node) { in configure_new_function()
2740 hold_p_mem_node->length = p_mem_node->base - hold_p_mem_node->base; in configure_new_function()
2747 temp_word = (p_mem_node->base - 1) >> 16; in configure_new_function()
2750 return_resource(&(resources->p_mem_head), p_mem_node); in configure_new_function()
2756 return_resource(&(resources->p_mem_head), p_mem_node); in configure_new_function()
2831 p_mem_node = get_resource(&(resources->p_mem_head), base); in configure_new_function()
2834 if (p_mem_node) { in configure_new_function()
2835 base = p_mem_node->base; in configure_new_function()
2837 p_mem_node->next = func->p_mem_head; in configure_new_function()
2838 func->p_mem_head = p_mem_node; in configure_new_function()