Searched refs:pci_devices (Results 1 – 13 of 13) sorted by relevance
311 struct list_head *p = &pci_devices; in pci_seq_start()317 if (p == &pci_devices) in pci_seq_start()326 return p->next != &pci_devices ? p->next : NULL; in pci_seq_next()340 if (p == &pci_devices) in show_device()453 if (p == &pci_devices) { in show_dev_config()
16 return !list_empty(&pci_devices); in pcibios_present()
40 LIST_HEAD(pci_devices);85 struct list_head *n = from ? from->global_list.next : pci_devices.next; in pci_find_subsys()87 while (n != &pci_devices) { in pci_find_subsys()134 struct list_head *n = from ? from->global_list.next : pci_devices.next; in pci_find_class()136 while (n != &pci_devices) { in pci_find_class()780 list_add_tail(&dev->global_list, &pci_devices); in pci_insert_device()1511 list_add_tail(&dev->global_list, &pci_devices); in pci_scan_slot()2159 EXPORT_SYMBOL(pci_devices);
363 …for(dev = pci_dev_g(pci_devices.prev); dev != pci_dev_g(&pci_devices); dev = pci_dev_g(dev->global…475 extern struct list_head pci_devices; /* list of all devices */557 …for(dev = pci_dev_g(pci_devices.next); dev != pci_dev_g(&pci_devices); dev = pci_dev_g(dev->global…
156 #define pci_for_each_dev(dev) for((dev)=pci_devices; (dev)!=NULL; (dev)=(dev)->next)177 #define pci_peek_next_dev(dev) ((dev) != pci_dev_g(&pci_devices) ? pci_dev_g((dev)->global_list.ne…
949 while (!list_empty(&pci_devices)) { in pcibios_sort()950 ln = pci_devices.next; in pcibios_sort()955 for (ln=pci_devices.next; ln != &pci_devices; ln=ln->next) { in pcibios_sort()965 if (ln == &pci_devices) { in pcibios_sort()981 list_splice(&sorted_devices, &pci_devices); in pcibios_sort()
227 struct list_head pci_devices; variable
845 for (pd = pci_devices; pd != NULL; pd = pd->next)855 for (pd = pci_devices; pd != NULL && npci != 0; pd = pd->next) {872 for (pd = pci_devices; pd != NULL; pd = pd->next, ++ps) {
188 list_add_tail(&dev->global_list, &pci_devices); in hpzx1_fake_pci_dev()
307 for (dev = pci_devices; dev; dev = dev->next) in hades_fixup()
210 struct list_head *pci_onboard = &pci_devices; in pci_reorder_devs()
1165 list_for_each (tmp, &pci_devices) { in set_bus()
2993 struct pci_dev *pdev = pci_devices;