Lines Matching refs:io_node

897 	struct pci_resource *io_node;  in cpqhp_save_used_resources()  local
938 io_node = (struct pci_resource *) kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in cpqhp_save_used_resources()
939 if (!io_node) in cpqhp_save_used_resources()
942 io_node->base = (b_base & 0xF0) << 8; in cpqhp_save_used_resources()
943 io_node->length = (b_length - b_base + 0x10) << 8; in cpqhp_save_used_resources()
945 io_node->next = func->io_head; in cpqhp_save_used_resources()
946 func->io_head = io_node; in cpqhp_save_used_resources()
999 io_node = (struct pci_resource *) kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in cpqhp_save_used_resources()
1000 if (!io_node) in cpqhp_save_used_resources()
1003 io_node->base = in cpqhp_save_used_resources()
1005 io_node->length = temp_register; in cpqhp_save_used_resources()
1007 io_node->next = func->io_head; in cpqhp_save_used_resources()
1008 func->io_head = io_node; in cpqhp_save_used_resources()
1065 io_node = (struct pci_resource *) kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in cpqhp_save_used_resources()
1066 if (!io_node) in cpqhp_save_used_resources()
1069 io_node->base = save_base & (~0x01L); in cpqhp_save_used_resources()
1070 io_node->length = temp_register; in cpqhp_save_used_resources()
1072 io_node->next = func->io_head; in cpqhp_save_used_resources()
1073 func->io_head = io_node; in cpqhp_save_used_resources()
1348 struct pci_resource *io_node; in cpqhp_find_available_resources() local
1475 io_node = (struct pci_resource *) kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in cpqhp_find_available_resources()
1476 if (!io_node) in cpqhp_find_available_resources()
1479 io_node->base = io_base; in cpqhp_find_available_resources()
1480 io_node->length = io_length; in cpqhp_find_available_resources()
1482 dbg("found io_node(base, length) = %x, %x\n", io_node->base, io_node->length); in cpqhp_find_available_resources()
1485 io_node->next = ctrl->io_head; in cpqhp_find_available_resources()
1486 ctrl->io_head = io_node; in cpqhp_find_available_resources()
1488 io_node->next = func->io_head; in cpqhp_find_available_resources()
1489 func->io_head = io_node; in cpqhp_find_available_resources()