Lines Matching refs:hw
413 static void __init pcibios_init_hw(struct hw_pci *hw) in pcibios_init_hw() argument
419 for (nr = busnr = 0; nr < hw->nr_controllers; nr++) { in pcibios_init_hw()
425 sys->domain = hw->domain; in pcibios_init_hw()
427 sys->hw = hw; in pcibios_init_hw()
429 sys->swizzle = hw->swizzle; in pcibios_init_hw()
430 sys->map_irq = hw->map_irq; in pcibios_init_hw()
433 ret = hw->setup(nr, sys); in pcibios_init_hw()
443 sys->bus = hw->scan(nr, sys); in pcibios_init_hw()
450 list_add(&sys->node, &hw->buses); in pcibios_init_hw()
459 void __init pci_common_init(struct hw_pci *hw) in pci_common_init() argument
463 INIT_LIST_HEAD(&hw->buses); in pci_common_init()
466 if (hw->preinit) in pci_common_init()
467 hw->preinit(); in pci_common_init()
468 pcibios_init_hw(hw); in pci_common_init()
469 if (hw->postinit) in pci_common_init()
470 hw->postinit(); in pci_common_init()
474 list_for_each_entry(sys, &hw->buses, node) { in pci_common_init()