Lines Matching refs:walk
18 struct list_head *walk = &pbus->devices; in pci_fixup_host_bridge_self() local
20 walk = walk->next; in pci_fixup_host_bridge_self()
21 while (walk != &pbus->devices) { in pci_fixup_host_bridge_self()
22 struct pci_dev *pdev = pci_dev_b(walk); in pci_fixup_host_bridge_self()
29 walk = walk->next; in pci_fixup_host_bridge_self()
234 struct list_head *walk = &pbus->devices; in pci_fill_in_pbm_cookies() local
239 walk = walk->next; in pci_fill_in_pbm_cookies()
240 while (walk != &pbus->devices) { in pci_fill_in_pbm_cookies()
241 struct pci_dev *pdev = pci_dev_b(walk); in pci_fill_in_pbm_cookies()
242 struct list_head *walk_next = walk->next; in pci_fill_in_pbm_cookies()
246 walk = walk_next; in pci_fill_in_pbm_cookies()
249 walk = &pbus->children; in pci_fill_in_pbm_cookies()
250 walk = walk->next; in pci_fill_in_pbm_cookies()
251 while (walk != &pbus->children) { in pci_fill_in_pbm_cookies()
252 struct pci_bus *this_pbus = pci_bus_b(walk); in pci_fill_in_pbm_cookies()
254 struct list_head *walk_next = walk->next; in pci_fill_in_pbm_cookies()
258 walk = walk_next; in pci_fill_in_pbm_cookies()
448 struct list_head *walk = &pbus->devices; in pci_record_assignments() local
450 for (walk = walk->next; walk != &pbus->devices; walk = walk->next) in pci_record_assignments()
451 pdev_record_assignments(pbm, pci_dev_b(walk)); in pci_record_assignments()
453 walk = &pbus->children; in pci_record_assignments()
454 for (walk = walk->next; walk != &pbus->children; walk = walk->next) in pci_record_assignments()
455 pci_record_assignments(pbm, pci_bus_b(walk)); in pci_record_assignments()
566 struct list_head *walk = &pbus->devices; in pci_assign_unassigned() local
568 for (walk = walk->next; walk != &pbus->devices; walk = walk->next) in pci_assign_unassigned()
569 pdev_assign_unassigned(pbm, pci_dev_b(walk)); in pci_assign_unassigned()
571 walk = &pbus->children; in pci_assign_unassigned()
572 for (walk = walk->next; walk != &pbus->children; walk = walk->next) in pci_assign_unassigned()
573 pci_assign_unassigned(pbm, pci_bus_b(walk)); in pci_assign_unassigned()
814 struct list_head *walk = &pbus->devices; in pci_fixup_irq() local
816 for (walk = walk->next; walk != &pbus->devices; walk = walk->next) in pci_fixup_irq()
817 pdev_fixup_irq(pci_dev_b(walk)); in pci_fixup_irq()
819 walk = &pbus->children; in pci_fixup_irq()
820 for (walk = walk->next; walk != &pbus->children; walk = walk->next) in pci_fixup_irq()
821 pci_fixup_irq(pbm, pci_bus_b(walk)); in pci_fixup_irq()
914 struct list_head *walk; in pci_determine_66mhz_disposition() local
923 walk = &pbus->devices; in pci_determine_66mhz_disposition()
925 for (walk = walk->next; walk != &pbus->devices; walk = walk->next) { in pci_determine_66mhz_disposition()
926 struct pci_dev *pdev = pci_dev_b(walk); in pci_determine_66mhz_disposition()
946 struct list_head *walk = &pbus->devices; in pci_setup_busmastering() local
951 for (walk = walk->next; walk != &pbus->devices; walk = walk->next) in pci_setup_busmastering()
952 pdev_setup_busmastering(pci_dev_b(walk), is_66mhz); in pci_setup_busmastering()
954 walk = &pbus->children; in pci_setup_busmastering()
955 for (walk = walk->next; walk != &pbus->children; walk = walk->next) in pci_setup_busmastering()
956 pci_setup_busmastering(pbm, pci_bus_b(walk)); in pci_setup_busmastering()
1004 struct list_head *walk = &pbus->devices; in pci_scan_for_target_abort() local
1006 for (walk = walk->next; walk != &pbus->devices; walk = walk->next) { in pci_scan_for_target_abort()
1007 struct pci_dev *pdev = pci_dev_b(walk); in pci_scan_for_target_abort()
1022 walk = &pbus->children; in pci_scan_for_target_abort()
1023 for (walk = walk->next; walk != &pbus->children; walk = walk->next) in pci_scan_for_target_abort()
1024 pci_scan_for_target_abort(p, pbm, pci_bus_b(walk)); in pci_scan_for_target_abort()
1031 struct list_head *walk = &pbus->devices; in pci_scan_for_master_abort() local
1033 for (walk = walk->next; walk != &pbus->devices; walk = walk->next) { in pci_scan_for_master_abort()
1034 struct pci_dev *pdev = pci_dev_b(walk); in pci_scan_for_master_abort()
1048 walk = &pbus->children; in pci_scan_for_master_abort()
1049 for (walk = walk->next; walk != &pbus->children; walk = walk->next) in pci_scan_for_master_abort()
1050 pci_scan_for_master_abort(p, pbm, pci_bus_b(walk)); in pci_scan_for_master_abort()
1057 struct list_head *walk = &pbus->devices; in pci_scan_for_parity_error() local
1059 for (walk = walk->next; walk != &pbus->devices; walk = walk->next) { in pci_scan_for_parity_error()
1060 struct pci_dev *pdev = pci_dev_b(walk); in pci_scan_for_parity_error()
1075 walk = &pbus->children; in pci_scan_for_parity_error()
1076 for (walk = walk->next; walk != &pbus->children; walk = walk->next) in pci_scan_for_parity_error()
1077 pci_scan_for_parity_error(p, pbm, pci_bus_b(walk)); in pci_scan_for_parity_error()