Searched refs:io_node (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
H A D | cpqphp_pci.c | 703 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() 1180 struct pci_resource *io_node; cpqhp_find_available_resources() local [all...] |
H A D | cpqphp_nvram.c | 432 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 in compaq_nvram_load() [all...] |
H A D | cpqphp_ctrl.c | 2337 struct pci_resource *io_node; in configure_new_function() local 2402 io_node = get_max_resource(&(resources->io_head), 0x1000); in configure_new_function() 2403 if (!io_node) in configure_new_function() 2412 dbg("io_node\n"); in configure_new_function() 2413 dbg("(base, len, next) (%x, %x, %p)\n", io_node->base, in configure_new_function() 2414 io_node->length, io_node->next); in configure_new_function() 2442 temp_resources.io_head = io_node; in configure_new_function() 2472 memcpy(hold_IO_node, io_node, sizeof(struct pci_resource)); in configure_new_function() 2473 io_node in configure_new_function() [all...] |
/kernel/linux/linux-6.6/drivers/pci/hotplug/ |
H A 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() 1182 struct pci_resource *io_node; cpqhp_find_available_resources() local [all...] |
H A 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 in compaq_nvram_load() [all...] |
H A 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() 2400 dbg("io_node\n"); 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 in configure_new_function() [all...] |
Completed in 9 milliseconds