Lines Matching refs:pci_resource

65 static int sort_by_size(struct pci_resource **head)  in sort_by_size()
67 struct pci_resource *current_res; in sort_by_size()
68 struct pci_resource *next_res; in sort_by_size()
112 static int sort_by_max_size(struct pci_resource **head) in sort_by_max_size()
114 struct pci_resource *current_res; in sort_by_max_size()
115 struct pci_resource *next_res; in sort_by_max_size()
168 struct pci_resource *acpiphp_get_io_resource (struct pci_resource **head, u32 size) in acpiphp_get_io_resource()
170 struct pci_resource *prevnode; in acpiphp_get_io_resource()
171 struct pci_resource *node; in acpiphp_get_io_resource()
172 struct pci_resource *split_node; in acpiphp_get_io_resource()
257 struct pci_resource *acpiphp_get_max_resource (struct pci_resource **head, u32 size) in acpiphp_get_max_resource()
259 struct pci_resource *max; in acpiphp_get_max_resource()
260 struct pci_resource *temp; in acpiphp_get_max_resource()
261 struct pci_resource *split_node; in acpiphp_get_max_resource()
325 temp = (struct pci_resource*) *head; in acpiphp_get_max_resource()
355 struct pci_resource *acpiphp_get_resource (struct pci_resource **head, u32 size) in acpiphp_get_resource()
357 struct pci_resource *prevnode; in acpiphp_get_resource()
358 struct pci_resource *node; in acpiphp_get_resource()
359 struct pci_resource *split_node; in acpiphp_get_resource()
446 struct pci_resource *acpiphp_get_resource_with_base (struct pci_resource **head, u64 base, u32 size) in acpiphp_get_resource_with_base()
448 struct pci_resource *prevnode; in acpiphp_get_resource_with_base()
449 struct pci_resource *node; in acpiphp_get_resource_with_base()
450 struct pci_resource *split_node; in acpiphp_get_resource_with_base()
540 int acpiphp_resource_sort_and_combine (struct pci_resource **head) in acpiphp_resource_sort_and_combine()
542 struct pci_resource *node1; in acpiphp_resource_sort_and_combine()
543 struct pci_resource *node2; in acpiphp_resource_sort_and_combine()
607 struct pci_resource *acpiphp_make_resource (u64 base, u32 length) in acpiphp_make_resource()
609 struct pci_resource *res; in acpiphp_make_resource()
611 res = kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in acpiphp_make_resource()
613 memset(res, 0, sizeof(struct pci_resource)); in acpiphp_make_resource()
627 void acpiphp_move_resource (struct pci_resource **from, struct pci_resource **to) in acpiphp_move_resource()
629 struct pci_resource *tmp; in acpiphp_move_resource()
646 void acpiphp_free_resource (struct pci_resource **res) in acpiphp_free_resource()
648 struct pci_resource *tmp; in acpiphp_free_resource()
661 static void dump_resource(struct pci_resource *head) in dump_resource()
663 struct pci_resource *p; in dump_resource()