Home
last modified time | relevance | path

Searched refs:host_bridge (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/pci/
A Dremove.c133 struct pci_host_bridge *host_bridge; in pci_stop_root_bus() local
138 host_bridge = to_pci_host_bridge(bus->bridge); in pci_stop_root_bus()
144 device_release_driver(&host_bridge->dev); in pci_stop_root_bus()
151 struct pci_host_bridge *host_bridge; in pci_remove_root_bus() local
156 host_bridge = to_pci_host_bridge(bus->bridge); in pci_remove_root_bus()
161 host_bridge->bus = NULL; in pci_remove_root_bus()
164 device_del(&host_bridge->dev); in pci_remove_root_bus()
A Dquirks.c2818 dev_no = host_bridge->devfn >> 3; in host_bridge_with_leaf()
2871 struct pci_dev *host_bridge; in nv_ht_enable_msi_mapping() local
2879 if (!host_bridge) in nv_ht_enable_msi_mapping()
2887 pci_dev_put(host_bridge); in nv_ht_enable_msi_mapping()
2894 if (host_bridge == dev && is_end_of_ht_chain(host_bridge) && in nv_ht_enable_msi_mapping()
2895 host_bridge_with_leaf(host_bridge)) in nv_ht_enable_msi_mapping()
2899 if (msi_ht_cap_enabled(host_bridge)) in nv_ht_enable_msi_mapping()
2905 pci_dev_put(host_bridge); in nv_ht_enable_msi_mapping()
2930 struct pci_dev *host_bridge; in __nv_msi_ht_cap_quirk() local
2950 if (host_bridge == NULL) { in __nv_msi_ht_cap_quirk()
[all …]
A D.host-bridge.o.cmd1 …DFILE='"drivers/pci/host-bridge"' -DKBUILD_BASENAME='"host_bridge"' -DKBUILD_MODNAME='"host_bridge
/linux/arch/mips/pci/
A Dpci-generic.c29 struct pci_host_bridge *host_bridge; in pcibios_align_resource() local
36 host_bridge = pci_find_host_bridge(dev->bus); in pcibios_align_resource()
38 if (host_bridge->align_resource) in pcibios_align_resource()
39 return host_bridge->align_resource(dev, res, in pcibios_align_resource()
/linux/tools/testing/cxl/test/
A Dcxl.c25 .handle = &host_bridge[0],
28 .handle = &host_bridge[1],
31 .handle = &host_bridge[2],
34 .handle = &host_bridge[3],
57 for (i = 0; i < ARRAY_SIZE(host_bridge); i++) in is_mock_adev()
58 if (adev == &host_bridge[i]) in is_mock_adev()
302 return adev - host_bridge; in host_bridge_index()
309 for (i = 0; i < ARRAY_SIZE(host_bridge); i++) in find_host_bridge()
310 if (handle == host_bridge[i].handle) in find_host_bridge()
311 return &host_bridge[i]; in find_host_bridge()
[all …]
/linux/drivers/vfio/pci/
A Dvfio_pci_igd.c389 struct pci_dev *host_bridge, *lpc_bridge; in vfio_pci_igd_cfg_init() local
392 host_bridge = pci_get_domain_bus_and_slot(0, 0, PCI_DEVFN(0, 0)); in vfio_pci_igd_cfg_init()
393 if (!host_bridge) in vfio_pci_igd_cfg_init()
396 if (host_bridge->vendor != PCI_VENDOR_ID_INTEL || in vfio_pci_igd_cfg_init()
397 host_bridge->class != (PCI_CLASS_BRIDGE_HOST << 8)) { in vfio_pci_igd_cfg_init()
398 pci_dev_put(host_bridge); in vfio_pci_igd_cfg_init()
405 &vfio_pci_igd_cfg_regops, host_bridge->cfg_size, in vfio_pci_igd_cfg_init()
406 VFIO_REGION_INFO_FLAG_READ, host_bridge); in vfio_pci_igd_cfg_init()
408 pci_dev_put(host_bridge); in vfio_pci_igd_cfg_init()
/linux/arch/powerpc/platforms/pseries/
A Dpci_dlpar.c55 struct pci_host_bridge *host_bridge = to_pci_host_bridge(b->bridge); in remove_phb_dynamic() local
84 host_bridge->bus = NULL; in remove_phb_dynamic()
85 device_unregister(&host_bridge->dev); in remove_phb_dynamic()
/linux/drivers/acpi/
A Dpci_root.c883 struct pci_host_bridge *host_bridge; in acpi_pci_root_create() local
909 host_bridge = to_pci_host_bridge(bus->bridge); in acpi_pci_root_create()
911 host_bridge->native_pcie_hotplug = 0; in acpi_pci_root_create()
913 host_bridge->native_shpc_hotplug = 0; in acpi_pci_root_create()
915 host_bridge->native_aer = 0; in acpi_pci_root_create()
917 host_bridge->native_pme = 0; in acpi_pci_root_create()
919 host_bridge->native_ltr = 0; in acpi_pci_root_create()
921 host_bridge->native_dpc = 0; in acpi_pci_root_create()
931 host_bridge->preserve_config = 1; in acpi_pci_root_create()
935 pci_set_host_bridge_release(host_bridge, acpi_pci_root_release_info, in acpi_pci_root_create()
/linux/arch/arm/kernel/
A Dbios32.c568 struct pci_host_bridge *host_bridge; in pcibios_align_resource() local
575 host_bridge = pci_find_host_bridge(dev->bus); in pcibios_align_resource()
577 if (host_bridge->align_resource) in pcibios_align_resource()
578 return host_bridge->align_resource(dev, res, in pcibios_align_resource()
/linux/drivers/hwmon/
A Dcoretemp.c237 struct pci_dev *host_bridge = pci_get_domain_bus_and_slot(0, 0, devfn); in adjust_tjmax() local
244 if (host_bridge && host_bridge->vendor == PCI_VENDOR_ID_INTEL) { in adjust_tjmax()
246 if (host_bridge->device == tjmax_pci_table[i].device) in adjust_tjmax()

Completed in 35 milliseconds