Lines Matching refs:io_node

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()
811 if (!io_node) in cpqhp_save_used_resources()
814 io_node->base = in cpqhp_save_used_resources()
816 io_node->length = temp_register; in cpqhp_save_used_resources()
818 io_node->next = func->io_head; in cpqhp_save_used_resources()
819 func->io_head = io_node; in cpqhp_save_used_resources()
881 io_node = kmalloc(sizeof(*io_node), in cpqhp_save_used_resources()
883 if (!io_node) in cpqhp_save_used_resources()
886 io_node->base = save_base & (~0x01L); in cpqhp_save_used_resources()
887 io_node->length = temp_register; in cpqhp_save_used_resources()
889 io_node->next = func->io_head; in cpqhp_save_used_resources()
890 func->io_head = io_node; in cpqhp_save_used_resources()
1180 struct pci_resource *io_node; in cpqhp_find_available_resources() local
1303 io_node = kmalloc(sizeof(*io_node), GFP_KERNEL); in cpqhp_find_available_resources()
1304 if (!io_node) in cpqhp_find_available_resources()
1307 io_node->base = io_base; in cpqhp_find_available_resources()
1308 io_node->length = io_length; in cpqhp_find_available_resources()
1311 io_node->base, io_node->length); in cpqhp_find_available_resources()
1314 io_node->next = ctrl->io_head; in cpqhp_find_available_resources()
1315 ctrl->io_head = io_node; in cpqhp_find_available_resources()
1317 io_node->next = func->io_head; in cpqhp_find_available_resources()
1318 func->io_head = io_node; in cpqhp_find_available_resources()