Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/pci/hotplug/
Dcpqphp_pci.c707 struct pci_resource *io_node; in cpqhp_save_used_resources() local
750 io_node = kmalloc(sizeof(*io_node), GFP_KERNEL); in cpqhp_save_used_resources()
751 if (!io_node) in cpqhp_save_used_resources()
754 io_node->base = (b_base & 0xF0) << 8; in cpqhp_save_used_resources()
755 io_node->length = (b_length - b_base + 0x10) << 8; in cpqhp_save_used_resources()
757 io_node->next = func->io_head; in cpqhp_save_used_resources()
758 func->io_head = io_node; in cpqhp_save_used_resources()
813 io_node = kmalloc(sizeof(*io_node), in cpqhp_save_used_resources()
815 if (!io_node) in cpqhp_save_used_resources()
818 io_node->base = in cpqhp_save_used_resources()
[all …]
Dcpqphp_nvram.c446 struct pci_resource *io_node; in compaq_nvram_load() local
580 io_node = kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in compaq_nvram_load()
582 if (!io_node) in compaq_nvram_load()
585 io_node->base = *(u32*)p_byte; in compaq_nvram_load()
586 dbg("io base = %8.8x\n",io_node->base); in compaq_nvram_load()
590 kfree(io_node); in compaq_nvram_load()
594 io_node->length = *(u32*)p_byte; in compaq_nvram_load()
595 dbg("io length = %8.8x\n",io_node->length); in compaq_nvram_load()
599 kfree(io_node); in compaq_nvram_load()
603 io_node->next = ctrl->io_head; in compaq_nvram_load()
[all …]
Dcpqphp_ctrl.c2383 struct pci_resource *io_node; in configure_new_function() local
2448 io_node = get_max_resource(&(resources->io_head), 0x1000); in configure_new_function()
2449 if (!io_node) in configure_new_function()
2459 dbg("(base, len, next) (%x, %x, %p)\n", io_node->base, in configure_new_function()
2460 io_node->length, io_node->next); in configure_new_function()
2488 temp_resources.io_head = io_node; in configure_new_function()
2518 memcpy(hold_IO_node, io_node, sizeof(struct pci_resource)); in configure_new_function()
2519 io_node->next = NULL; in configure_new_function()
2522 temp_byte = io_node->base >> 8; in configure_new_function()
2525 temp_byte = (io_node->base + io_node->length - 1) >> 8; in configure_new_function()
[all …]