Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/pci/hotplug/
Dcpqphp_pci.c703 struct pci_resource *io_node; in cpqhp_save_used_resources() local
746 io_node = kmalloc(sizeof(*io_node), GFP_KERNEL); in cpqhp_save_used_resources()
747 if (!io_node) in cpqhp_save_used_resources()
750 io_node->base = (b_base & 0xF0) << 8; in cpqhp_save_used_resources()
751 io_node->length = (b_length - b_base + 0x10) << 8; in cpqhp_save_used_resources()
753 io_node->next = func->io_head; in cpqhp_save_used_resources()
754 func->io_head = io_node; in cpqhp_save_used_resources()
809 io_node = kmalloc(sizeof(*io_node), in cpqhp_save_used_resources()
811 if (!io_node) in cpqhp_save_used_resources()
814 io_node->base = in cpqhp_save_used_resources()
[all …]
Dcpqphp_nvram.c432 struct pci_resource *io_node; in compaq_nvram_load() local
566 io_node = kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in compaq_nvram_load()
568 if (!io_node) in compaq_nvram_load()
571 io_node->base = *(u32 *)p_byte; in compaq_nvram_load()
572 dbg("io base = %8.8x\n", io_node->base); in compaq_nvram_load()
576 kfree(io_node); in compaq_nvram_load()
580 io_node->length = *(u32 *)p_byte; in compaq_nvram_load()
581 dbg("io length = %8.8x\n", io_node->length); in compaq_nvram_load()
585 kfree(io_node); in compaq_nvram_load()
589 io_node->next = ctrl->io_head; in compaq_nvram_load()
[all …]
Dcpqphp_ctrl.c2370 struct pci_resource *io_node; in configure_new_function() local
2435 io_node = get_max_resource(&(resources->io_head), 0x1000); in configure_new_function()
2436 if (!io_node) in configure_new_function()
2446 dbg("(base, len, next) (%x, %x, %p)\n", io_node->base, in configure_new_function()
2447 io_node->length, io_node->next); in configure_new_function()
2475 temp_resources.io_head = io_node; in configure_new_function()
2505 memcpy(hold_IO_node, io_node, sizeof(struct pci_resource)); in configure_new_function()
2506 io_node->next = NULL; in configure_new_function()
2509 temp_byte = io_node->base >> 8; in configure_new_function()
2512 temp_byte = (io_node->base + io_node->length - 1) >> 8; in configure_new_function()
[all …]