/Linux-v6.6/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 | 2704 static void quirk_amd_780_apc_msi(struct pci_dev *host_bridge) in quirk_amd_780_apc_msi() argument 2708 apc_bridge = pci_get_slot(host_bridge->bus, PCI_DEVFN(1, 0)); in quirk_amd_780_apc_msi() 2943 static int host_bridge_with_leaf(struct pci_dev *host_bridge) in host_bridge_with_leaf() argument 2950 dev_no = host_bridge->devfn >> 3; in host_bridge_with_leaf() 2952 dev = pci_get_slot(host_bridge->bus, PCI_DEVFN(i, 0)); in host_bridge_with_leaf() 3003 struct pci_dev *host_bridge; in nv_ht_enable_msi_mapping() local 3010 host_bridge = pci_get_slot(dev->bus, PCI_DEVFN(i, 0)); in nv_ht_enable_msi_mapping() 3011 if (!host_bridge) in nv_ht_enable_msi_mapping() 3014 pos = pci_find_ht_capability(host_bridge, HT_CAPTYPE_SLAVE); in nv_ht_enable_msi_mapping() 3019 pci_dev_put(host_bridge); in nv_ht_enable_msi_mapping() [all …]
|
/Linux-v6.6/arch/powerpc/platforms/pseries/ |
D | pci_dlpar.c | 55 struct pci_host_bridge *host_bridge = to_pci_host_bridge(b->bridge); in remove_phb_dynamic() local 82 get_device(&host_bridge->dev); in remove_phb_dynamic() 87 host_bridge->bus = NULL; in remove_phb_dynamic() 88 device_unregister(&host_bridge->dev); in remove_phb_dynamic() 107 put_device(&host_bridge->dev); in remove_phb_dynamic()
|
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/drivers/cxl/ |
D | pci.c | 751 static int cxl_event_config(struct pci_host_bridge *host_bridge, in cxl_event_config() argument 761 if (!host_bridge->native_cxl_error) in cxl_event_config() 792 struct pci_host_bridge *host_bridge = pci_find_host_bridge(pdev->bus); in cxl_pci_probe() local 916 rc = cxl_event_config(host_bridge, mds); in cxl_pci_probe()
|
D | cxl.h | 588 struct device *host_bridge; member
|
/Linux-v6.6/drivers/cxl/core/ |
D | port.c | 659 while (!iter->host_bridge && in cxl_port_alloc() 662 if (iter->host_bridge) in cxl_port_alloc() 663 port->host_bridge = iter->host_bridge; in cxl_port_alloc() 665 port->host_bridge = parent_dport->dport_dev; in cxl_port_alloc() 667 port->host_bridge = iter->uport_dev; in cxl_port_alloc() 669 dev_name(port->host_bridge)); in cxl_port_alloc()
|
D | region.c | 1663 dport = cxl_find_dport_by_dev(root_port, ep_port->host_bridge); in cxl_region_attach() 1718 ep_port->host_bridge); in cxl_region_attach()
|