Lines Matching refs:io_node
683 struct pci_resource *io_node; in pciehp_save_used_resources() local
737 io_node = (struct pci_resource *) kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in pciehp_save_used_resources()
738 if (!io_node) in pciehp_save_used_resources()
741 io_node->base = (ulong)(base & PCI_IO_RANGE_MASK) << 8; in pciehp_save_used_resources()
742 io_node->length = (ulong)(length - base + 0x10) << 8; in pciehp_save_used_resources()
744 io_node->next = func->io_head; in pciehp_save_used_resources()
745 func->io_head = io_node; in pciehp_save_used_resources()
804 io_node = (struct pci_resource *) kmalloc(sizeof (struct pci_resource), GFP_KERNEL); in pciehp_save_used_resources()
805 if (!io_node) in pciehp_save_used_resources()
808 io_node->base = (ulong)save_base & PCI_BASE_ADDRESS_IO_MASK; in pciehp_save_used_resources()
809 io_node->length = (ulong)base; in pciehp_save_used_resources()
810 dbg("sur adapter: IO bar=0x%x(length=0x%x)\n", io_node->base, io_node->length); in pciehp_save_used_resources()
812 io_node->next = func->io_head; in pciehp_save_used_resources()
813 func->io_head = io_node; in pciehp_save_used_resources()