Lines Matching refs:host_bridge
2151 static void __devinit quirk_amd_780_apc_msi(struct pci_dev *host_bridge)
2155 apc_bridge = pci_get_slot(host_bridge->bus, PCI_DEVFN(1, 0));
2300 static int __devinit host_bridge_with_leaf(struct pci_dev *host_bridge)
2307 dev_no = host_bridge->devfn >> 3;
2309 dev = pci_get_slot(host_bridge->bus, PCI_DEVFN(i, 0));
2360 struct pci_dev *host_bridge;
2367 host_bridge = pci_get_slot(dev->bus, PCI_DEVFN(i, 0));
2368 if (!host_bridge)
2371 pos = pci_find_ht_capability(host_bridge, HT_CAPTYPE_SLAVE);
2376 pci_dev_put(host_bridge);
2382 /* don't enable end_device/host_bridge with leaf directly here */
2383 if (host_bridge == dev && is_end_of_ht_chain(host_bridge) &&
2384 host_bridge_with_leaf(host_bridge))
2388 if (msi_ht_cap_enabled(host_bridge))
2394 pci_dev_put(host_bridge);
2419 struct pci_dev *host_bridge;
2437 host_bridge = pci_get_bus_and_slot(0, PCI_DEVFN(0, 0));
2438 if (host_bridge == NULL) {
2444 pos = pci_find_ht_capability(host_bridge, HT_CAPTYPE_SLAVE);