Lines Matching refs:hw
428 static void pcibios_init_hw(struct device *parent, struct hw_pci *hw, in pcibios_init_hw() argument
435 for (nr = busnr = 0; nr < hw->nr_controllers; nr++) { in pcibios_init_hw()
445 sys->swizzle = hw->swizzle; in pcibios_init_hw()
446 sys->map_irq = hw->map_irq; in pcibios_init_hw()
449 if (hw->private_data) in pcibios_init_hw()
450 sys->private_data = hw->private_data[nr]; in pcibios_init_hw()
452 ret = hw->setup(nr, sys); in pcibios_init_hw()
465 if (hw->scan) in pcibios_init_hw()
466 ret = hw->scan(nr, bridge); in pcibios_init_hw()
473 bridge->ops = hw->ops; in pcibios_init_hw()
496 void pci_common_init_dev(struct device *parent, struct hw_pci *hw) in pci_common_init_dev() argument
502 if (hw->preinit) in pci_common_init_dev()
503 hw->preinit(); in pci_common_init_dev()
504 pcibios_init_hw(parent, hw, &head); in pci_common_init_dev()
505 if (hw->postinit) in pci_common_init_dev()
506 hw->postinit(); in pci_common_init_dev()