Searched refs:io_node (Results 1 – 3 of 3) sorted by relevance
/drivers/pci/hotplug/ |
D | cpqphp_pci.c | 705 struct pci_resource *io_node; in cpqhp_save_used_resources() local 748 io_node = kmalloc(sizeof(*io_node), GFP_KERNEL); in cpqhp_save_used_resources() 749 if (!io_node) in cpqhp_save_used_resources() 752 io_node->base = (b_base & 0xF0) << 8; in cpqhp_save_used_resources() 753 io_node->length = (b_length - b_base + 0x10) << 8; in cpqhp_save_used_resources() 755 io_node->next = func->io_head; in cpqhp_save_used_resources() 756 func->io_head = io_node; in cpqhp_save_used_resources() 811 io_node = kmalloc(sizeof(*io_node), in cpqhp_save_used_resources() 813 if (!io_node) in cpqhp_save_used_resources() 816 io_node->base = in cpqhp_save_used_resources() [all …]
|
D | cpqphp_nvram.c | 429 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 …]
|
D | cpqphp_ctrl.c | 2325 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 …]
|