/linux-6.6.21/drivers/pci/ |
D | remove.c | 134 struct pci_host_bridge *host_bridge; in pci_stop_root_bus() local 139 host_bridge = to_pci_host_bridge(bus->bridge); in pci_stop_root_bus() 145 device_release_driver(&host_bridge->dev); in pci_stop_root_bus() 152 struct pci_host_bridge *host_bridge; in pci_remove_root_bus() local 157 host_bridge = to_pci_host_bridge(bus->bridge); in pci_remove_root_bus() 164 if (host_bridge->domain_nr == PCI_DOMAIN_NR_NOT_SET) in pci_remove_root_bus() 165 pci_bus_release_domain_nr(bus, host_bridge->dev.parent); in pci_remove_root_bus() 169 host_bridge->bus = NULL; in pci_remove_root_bus() 172 device_del(&host_bridge->dev); in pci_remove_root_bus()
|
D | quirks.c | 2709 static void quirk_amd_780_apc_msi(struct pci_dev *host_bridge) in quirk_amd_780_apc_msi() argument 2713 apc_bridge = pci_get_slot(host_bridge->bus, PCI_DEVFN(1, 0)); in quirk_amd_780_apc_msi() 2948 static int host_bridge_with_leaf(struct pci_dev *host_bridge) in host_bridge_with_leaf() argument 2955 dev_no = host_bridge->devfn >> 3; in host_bridge_with_leaf() 2957 dev = pci_get_slot(host_bridge->bus, PCI_DEVFN(i, 0)); in host_bridge_with_leaf() 3008 struct pci_dev *host_bridge; in nv_ht_enable_msi_mapping() local 3015 host_bridge = pci_get_slot(dev->bus, PCI_DEVFN(i, 0)); in nv_ht_enable_msi_mapping() 3016 if (!host_bridge) in nv_ht_enable_msi_mapping() 3019 pos = pci_find_ht_capability(host_bridge, HT_CAPTYPE_SLAVE); in nv_ht_enable_msi_mapping() 3024 pci_dev_put(host_bridge); in nv_ht_enable_msi_mapping() [all …]
|
/linux-6.6.21/arch/powerpc/platforms/pseries/ |
D | pci_dlpar.c | 57 struct pci_host_bridge *host_bridge = to_pci_host_bridge(b->bridge); in remove_phb_dynamic() local 86 get_device(&host_bridge->dev); in remove_phb_dynamic() 91 host_bridge->bus = NULL; in remove_phb_dynamic() 92 device_unregister(&host_bridge->dev); in remove_phb_dynamic() 111 put_device(&host_bridge->dev); in remove_phb_dynamic()
|
/linux-6.6.21/arch/mips/pci/ |
D | pci-generic.c | 29 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-6.6.21/drivers/vfio/pci/ |
D | vfio_pci_igd.c | 392 struct pci_dev *host_bridge, *lpc_bridge; in vfio_pci_igd_cfg_init() local 395 host_bridge = pci_get_domain_bus_and_slot(0, 0, PCI_DEVFN(0, 0)); in vfio_pci_igd_cfg_init() 396 if (!host_bridge) in vfio_pci_igd_cfg_init() 399 if (host_bridge->vendor != PCI_VENDOR_ID_INTEL || in vfio_pci_igd_cfg_init() 400 host_bridge->class != (PCI_CLASS_BRIDGE_HOST << 8)) { in vfio_pci_igd_cfg_init() 401 pci_dev_put(host_bridge); in vfio_pci_igd_cfg_init() 408 &vfio_pci_igd_cfg_regops, host_bridge->cfg_size, in vfio_pci_igd_cfg_init() 409 VFIO_REGION_INFO_FLAG_READ, host_bridge); in vfio_pci_igd_cfg_init() 411 pci_dev_put(host_bridge); in vfio_pci_igd_cfg_init()
|
/linux-6.6.21/drivers/acpi/ |
D | pci_root.c | 1010 struct pci_host_bridge *host_bridge; in acpi_pci_root_create() local 1036 host_bridge = to_pci_host_bridge(bus->bridge); in acpi_pci_root_create() 1038 host_bridge->native_pcie_hotplug = 0; in acpi_pci_root_create() 1040 host_bridge->native_shpc_hotplug = 0; in acpi_pci_root_create() 1042 host_bridge->native_aer = 0; in acpi_pci_root_create() 1044 host_bridge->native_pme = 0; in acpi_pci_root_create() 1046 host_bridge->native_ltr = 0; in acpi_pci_root_create() 1048 host_bridge->native_dpc = 0; in acpi_pci_root_create() 1051 host_bridge->native_cxl_error = 0; in acpi_pci_root_create() 1061 host_bridge->preserve_config = 1; in acpi_pci_root_create() [all …]
|
/linux-6.6.21/tools/testing/cxl/test/ |
D | cxl.c | 68 static struct acpi_device host_bridge[NR_BRIDGES] = { variable 70 .handle = &host_bridge[0], 73 .handle = &host_bridge[1], 76 .handle = &host_bridge[2], 79 .handle = &host_bridge[3], 108 for (i = 0; i < ARRAY_SIZE(host_bridge); i++) in is_mock_adev() 109 if (adev == &host_bridge[i]) in is_mock_adev() 560 return adev - host_bridge; in host_bridge_index() 567 for (i = 0; i < ARRAY_SIZE(host_bridge); i++) in find_host_bridge() 568 if (handle == host_bridge[i].handle) in find_host_bridge() [all …]
|
/linux-6.6.21/drivers/hwmon/ |
D | coretemp.c | 157 struct pci_dev *host_bridge = pci_get_domain_bus_and_slot(0, 0, devfn); in adjust_tjmax() local 164 if (host_bridge && host_bridge->vendor == PCI_VENDOR_ID_INTEL) { in adjust_tjmax() 166 if (host_bridge->device == tjmax_pci_table[i].device) { in adjust_tjmax() 167 pci_dev_put(host_bridge); in adjust_tjmax() 172 pci_dev_put(host_bridge); in adjust_tjmax()
|
/linux-6.6.21/arch/arm/kernel/ |
D | bios32.c | 566 struct pci_host_bridge *host_bridge; in pcibios_align_resource() local 573 host_bridge = pci_find_host_bridge(dev->bus); in pcibios_align_resource() 575 if (host_bridge->align_resource) in pcibios_align_resource() 576 return host_bridge->align_resource(dev, res, in pcibios_align_resource()
|
/linux-6.6.21/drivers/cxl/ |
D | pci.c | 741 static int cxl_event_config(struct pci_host_bridge *host_bridge, in cxl_event_config() argument 751 if (!host_bridge->native_cxl_error) in cxl_event_config() 782 struct pci_host_bridge *host_bridge = pci_find_host_bridge(pdev->bus); in cxl_pci_probe() local 910 rc = cxl_event_config(host_bridge, mds); in cxl_pci_probe()
|
D | cxl.h | 586 struct device *host_bridge; member
|
/linux-6.6.21/drivers/cxl/core/ |
D | port.c | 668 while (!iter->host_bridge && in cxl_port_alloc() 671 if (iter->host_bridge) in cxl_port_alloc() 672 port->host_bridge = iter->host_bridge; in cxl_port_alloc() 674 port->host_bridge = parent_dport->dport_dev; in cxl_port_alloc() 676 port->host_bridge = iter->uport_dev; in cxl_port_alloc() 678 dev_name(port->host_bridge)); in cxl_port_alloc()
|
D | region.c | 1693 dport = cxl_find_dport_by_dev(root_port, ep_port->host_bridge); in cxl_region_attach() 1748 ep_port->host_bridge); in cxl_region_attach()
|