Lines Matching refs:io_node
2393 struct pci_resource *io_node; in configure_new_function() local
2455 io_node = get_max_resource(&(resources->io_head), 0x1000L); in configure_new_function()
2456 if (io_node) { in configure_new_function()
2457 dbg("io_node(base, len, next) (%x, %x, %p)\n", io_node->base, io_node->length, io_node->next); in configure_new_function()
2501 temp_resources.io_head = io_node; in configure_new_function()
2536 if (io_node) { in configure_new_function()
2537 memcpy(hold_IO_node, io_node, sizeof(struct pci_resource)); in configure_new_function()
2538 io_node->next = NULL; in configure_new_function()
2541 RES_CHECK(io_node->base, 8); in configure_new_function()
2542 temp_byte = (u8)(io_node->base >> 8); in configure_new_function()
2545 RES_CHECK(io_node->base + io_node->length - 1, 8); in configure_new_function()
2546 temp_byte = (u8)((io_node->base + io_node->length - 1) >> 8); in configure_new_function()
2706 io_node = do_pre_bridge_resource_split(&(temp_resources.io_head), in configure_new_function()
2710 if (io_node) { in configure_new_function()
2711 hold_IO_node->base = io_node->base + io_node->length; in configure_new_function()
2717 return_resource(&(resources->io_head), io_node); in configure_new_function()
2720 io_node = do_bridge_resource_split(&(temp_resources.io_head), 0x1000); in configure_new_function()
2723 if (io_node) { in configure_new_function()
2725 hold_IO_node->length = io_node->base - hold_IO_node->base; in configure_new_function()
2732 RES_CHECK(io_node->base - 1, 8); in configure_new_function()
2733 temp_byte = (u8)((io_node->base - 1) >> 8); in configure_new_function()
2736 return_resource(&(resources->io_head), io_node); in configure_new_function()
2742 return_resource(&(resources->io_head), io_node); in configure_new_function()
2902 io_node = get_io_resource(&(resources->io_head),(ulong)base); in configure_new_function()
2905 if (io_node) { in configure_new_function()
2906 dbg("Got IO base=0x%x(length=0x%x)\n", io_node->base, io_node->length); in configure_new_function()
2907 base = (u32)io_node->base; in configure_new_function()
2908 io_node->next = func->io_head; in configure_new_function()
2909 func->io_head = io_node; in configure_new_function()