Home
last modified time | relevance | path

Searched refs:io_node (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/pci/hotplug/
H A Dcpqphp_nvram.c429 struct pci_resource *io_node; in compaq_nvram_load() local
563 io_node = kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in compaq_nvram_load()
565 if (!io_node) in compaq_nvram_load()
568 io_node->base = *(u32 *)p_byte; in compaq_nvram_load()
569 dbg("io base = %8.8x\n", io_node->base); in compaq_nvram_load()
573 kfree(io_node); in compaq_nvram_load()
577 io_node->length = *(u32 *)p_byte; in compaq_nvram_load()
578 dbg("io length = %8.8x\n", io_node->length); in compaq_nvram_load()
582 kfree(io_node); in compaq_nvram_load()
586 io_node->next = ctrl->io_head; in compaq_nvram_load()
[all …]
H A Dcpqphp_ctrl.c2325 struct pci_resource *io_node; in configure_new_function() local
2390 io_node = get_max_resource(&(resources->io_head), 0x1000); in configure_new_function()
2391 if (!io_node) in configure_new_function()
2401 dbg("(base, len, next) (%x, %x, %p)\n", io_node->base, in configure_new_function()
2402 io_node->length, io_node->next); in configure_new_function()
2430 temp_resources.io_head = io_node; in configure_new_function()
2460 memcpy(hold_IO_node, io_node, sizeof(struct pci_resource)); in configure_new_function()
2461 io_node->next = NULL; in configure_new_function()
2464 temp_byte = io_node->base >> 8; in configure_new_function()
2467 temp_byte = (io_node->base + io_node->length - 1) >> 8; in configure_new_function()
[all …]