Searched refs:host_bridge (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/pci/
H A Dremove.c129 struct pci_host_bridge *host_bridge; pci_stop_root_bus() local
134 host_bridge = to_pci_host_bridge(bus->bridge); pci_stop_root_bus()
140 device_release_driver(&host_bridge->dev); pci_stop_root_bus()
147 struct pci_host_bridge *host_bridge; pci_remove_root_bus() local
152 host_bridge = to_pci_host_bridge(bus->bridge); pci_remove_root_bus()
157 host_bridge->bus = NULL; pci_remove_root_bus()
160 device_unregister(&host_bridge->dev); pci_remove_root_bus()
H A Dquirks.c2272 static void quirk_amd_780_apc_msi(struct pci_dev *host_bridge) quirk_amd_780_apc_msi() argument
2276 apc_bridge = pci_get_slot(host_bridge->bus, PCI_DEVFN(1, 0)); quirk_amd_780_apc_msi()
2454 static int host_bridge_with_leaf(struct pci_dev *host_bridge) host_bridge_with_leaf() argument
2461 dev_no = host_bridge->devfn >> 3; host_bridge_with_leaf()
2463 dev = pci_get_slot(host_bridge->bus, PCI_DEVFN(i, 0)); host_bridge_with_leaf()
2514 struct pci_dev *host_bridge; nv_ht_enable_msi_mapping() local
2521 host_bridge = pci_get_slot(dev->bus, PCI_DEVFN(i, 0)); nv_ht_enable_msi_mapping()
2522 if (!host_bridge) nv_ht_enable_msi_mapping()
2525 pos = pci_find_ht_capability(host_bridge, HT_CAPTYPE_SLAVE); nv_ht_enable_msi_mapping()
2530 pci_dev_put(host_bridge); nv_ht_enable_msi_mapping()
2536 /* don't enable end_device/host_bridge with leaf directly here */ nv_ht_enable_msi_mapping()
2537 if (host_bridge == dev && is_end_of_ht_chain(host_bridge) && nv_ht_enable_msi_mapping()
2538 host_bridge_with_leaf(host_bridge)) nv_ht_enable_msi_mapping()
2542 if (msi_ht_cap_enabled(host_bridge)) nv_ht_enable_msi_mapping()
2548 pci_dev_put(host_bridge); nv_ht_enable_msi_mapping()
2573 struct pci_dev *host_bridge; __nv_msi_ht_cap_quirk() local
2591 host_bridge = pci_get_bus_and_slot(0, PCI_DEVFN(0, 0)); __nv_msi_ht_cap_quirk()
2592 if (host_bridge == NULL) { __nv_msi_ht_cap_quirk()
2597 pos = pci_find_ht_capability(host_bridge, HT_CAPTYPE_SLAVE); __nv_msi_ht_cap_quirk()
2618 pci_dev_put(host_bridge); __nv_msi_ht_cap_quirk()
/linux-4.1.27/drivers/hwmon/
H A Dcoretemp.c249 struct pci_dev *host_bridge = pci_get_bus_and_slot(0, PCI_DEVFN(0, 0)); adjust_tjmax() local
256 if (host_bridge && host_bridge->vendor == PCI_VENDOR_ID_INTEL) { adjust_tjmax()
258 if (host_bridge->device == tjmax_pci_table[i].device) adjust_tjmax()

Completed in 269 milliseconds