Lines Matching refs:info

11 	struct pci_root_info *info;  in x86_find_pci_root_info()  local
13 list_for_each_entry(info, &pci_root_infos, list) in x86_find_pci_root_info()
14 if (info->busn.start == bus) in x86_find_pci_root_info()
15 return info; in x86_find_pci_root_info()
22 struct pci_root_info *info = x86_find_pci_root_info(bus); in x86_pci_root_bus_node() local
24 if (!info) in x86_pci_root_bus_node()
27 return info->node; in x86_pci_root_bus_node()
32 struct pci_root_info *info = x86_find_pci_root_info(bus); in x86_pci_root_bus_resources() local
37 if (!info) in x86_pci_root_bus_resources()
51 pci_add_resource(resources, &info->busn); in x86_pci_root_bus_resources()
53 list_for_each_entry(root_res, &info->resources, list) in x86_pci_root_bus_resources()
72 struct pci_root_info *info; in alloc_pci_root_info() local
74 info = kzalloc(sizeof(*info), GFP_KERNEL); in alloc_pci_root_info()
76 if (!info) in alloc_pci_root_info()
77 return info; in alloc_pci_root_info()
79 sprintf(info->name, "PCI Bus #%02x", bus_min); in alloc_pci_root_info()
81 INIT_LIST_HEAD(&info->resources); in alloc_pci_root_info()
82 info->busn.name = info->name; in alloc_pci_root_info()
83 info->busn.start = bus_min; in alloc_pci_root_info()
84 info->busn.end = bus_max; in alloc_pci_root_info()
85 info->busn.flags = IORESOURCE_BUS; in alloc_pci_root_info()
86 info->node = node; in alloc_pci_root_info()
87 info->link = link; in alloc_pci_root_info()
89 list_add_tail(&info->list, &pci_root_infos); in alloc_pci_root_info()
91 return info; in alloc_pci_root_info()
94 void update_res(struct pci_root_info *info, resource_size_t start, in update_res() argument
110 list_for_each_entry(root_res, &info->resources, list) { in update_res()
139 res->name = info->name; in update_res()
144 list_add_tail(&root_res->list, &info->resources); in update_res()