/linux-6.3-rc2/arch/x86/pci/ |
A D | intel_mid_pci.c | 76 if (raw_pci_ext_ops->read(pci_domain_nr(bus), bus->number, in fixed_bar_cap() 85 raw_pci_ext_ops->read(pci_domain_nr(bus), bus->number, in fixed_bar_cap() 104 domain = pci_domain_nr(bus); in pci_device_update_fixed() 175 return pci_direct_conf1.read(pci_domain_nr(bus), bus->number, in pci_read() 177 return raw_pci_ext_ops->read(pci_domain_nr(bus), bus->number, in pci_read() 212 return pci_direct_conf1.write(pci_domain_nr(bus), bus->number, in pci_write() 214 return raw_pci_ext_ops->write(pci_domain_nr(bus), bus->number, devfn, in pci_write()
|
/linux-6.3-rc2/drivers/xen/xen-pciback/ |
A D | passthrough.c | 32 if (domain == (unsigned int)pci_domain_nr(dev_entry->dev->bus) in __xen_pcibk_get_pci_dev() 64 domain = (unsigned int)pci_domain_nr(dev->bus); in __xen_pcibk_add_pci_dev() 144 domain = (unsigned int)pci_domain_nr(dev_entry->dev->bus); in __xen_pcibk_publish_pci_roots() 182 *domain = pci_domain_nr(pcidev->bus); in __xen_pcibk_get_pcifront_dev()
|
A D | pci_stub.c | 119 .seg = pci_domain_nr(dev->bus), in pcistub_device_release() 164 && domain == pci_domain_nr(psdev->dev->bus) in pcistub_device_find_locked() 328 if (pci_domain_nr(dev->bus) == pdev_id->domain in pcistub_match_one() 406 .seg = pci_domain_nr(dev->bus), in pcistub_init_device() 554 pcistub_device_id_add_list(pci_dev_id, pci_domain_nr(dev->bus), in pcistub_seize() 783 psdev = pcistub_device_find(pci_domain_nr(dev->bus), in xen_pcibk_slot_reset() 840 psdev = pcistub_device_find(pci_domain_nr(dev->bus), in xen_pcibk_mmio_enabled() 897 psdev = pcistub_device_find(pci_domain_nr(dev->bus), in xen_pcibk_error_detected() 950 psdev = pcistub_device_find(pci_domain_nr(dev->bus), in xen_pcibk_error_resume()
|
/linux-6.3-rc2/arch/ia64/include/asm/ |
A D | pci.h | 57 #define pci_domain_nr(busdev) (PCI_CONTROLLER(busdev)->segment) macro 63 return (pci_domain_nr(bus) != 0); in pci_proc_domain()
|
/linux-6.3-rc2/drivers/xen/ |
A D | pci.c | 51 .add.seg = pci_domain_nr(pci_dev->bus), in xen_add_device() 113 if (pci_domain_nr(pci_dev->bus)) in xen_add_device() 158 .seg = pci_domain_nr(pci_dev->bus), in xen_remove_device() 165 } else if (pci_domain_nr(pci_dev->bus)) in xen_remove_device()
|
A D | dbgp.c | 26 dbgp.u.pci.seg = pci_domain_nr(pdev->bus); in xen_dbgp_op()
|
/linux-6.3-rc2/arch/mips/include/asm/ |
A D | pci.h | 125 return pci_domain_nr(bus); in pci_proc_domain() 128 #define pci_domain_nr(bus) ((struct pci_controller *)(bus)->sysdata)->index macro
|
/linux-6.3-rc2/drivers/pci/hotplug/ |
A D | pciehp_pci.c | 48 pci_name(dev), pci_domain_nr(parent), parent->number); in pciehp_configure_device() 91 __func__, pci_domain_nr(parent), parent->number); in pciehp_unconfigure_device()
|
A D | shpchp_pci.c | 36 pci_name(dev), pci_domain_nr(parent), in shpchp_configure_device() 71 __func__, pci_domain_nr(parent), p_slot->bus, p_slot->device); in shpchp_unconfigure_device()
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A D | pci.h | 44 static inline int pci_domain_nr(struct pci_bus *bus) in pci_domain_nr() function 51 return pci_domain_nr(bus); in pci_proc_domain()
|
A D | amd_nb.h | 93 if (pci_domain_nr(misc->bus) == pci_domain_nr(pdev->bus) && in amd_pci_dev_to_node_id()
|
/linux-6.3-rc2/drivers/pci/ |
A D | xen-pcifront.c | 182 .domain = pci_domain_nr(bus), in pcifront_bus_read() 193 pci_domain_nr(bus), bus->number, PCI_SLOT(devfn), in pcifront_bus_read() 218 .domain = pci_domain_nr(bus), in pcifront_bus_write() 230 pci_domain_nr(bus), bus->number, in pcifront_bus_write() 249 .domain = pci_domain_nr(dev->bus), in pci_frontend_enable_msix() 302 .domain = pci_domain_nr(dev->bus), in pci_frontend_disable_msix() 321 .domain = pci_domain_nr(dev->bus), in pci_frontend_enable_msi() 350 .domain = pci_domain_nr(dev->bus), in pci_frontend_disable_msi()
|
A D | probe.c | 914 b = pci_find_bus(pci_domain_nr(bus), bridge->busnr); in pci_register_host_bridge() 1321 child = pci_find_bus(pci_domain_nr(bus), secondary); in pci_scan_bridge_extend() 1377 child = pci_find_bus(pci_domain_nr(bus), next_busnr); in pci_scan_bridge_extend() 1418 if (pci_find_bus(pci_domain_nr(bus), in pci_scan_bridge_extend() 1456 pci_domain_nr(bus), child->number); in pci_scan_bridge_extend() 2352 pci_domain_nr(bus), bus->number, in pci_bus_wait_crs() 2359 pci_domain_nr(bus), bus->number, in pci_bus_wait_crs() 2371 pci_domain_nr(bus), bus->number, in pci_bus_wait_crs() 3317 if (pci_domain_nr(a->bus) < pci_domain_nr(b->bus)) return -1; in pci_sort_bf_cmp() 3318 else if (pci_domain_nr(a->bus) > pci_domain_nr(b->bus)) return 1; in pci_sort_bf_cmp() [all …]
|
A D | search.c | 147 if (pci_domain_nr(bus) != domain) in pci_find_bus() 234 if (pci_domain_nr(dev->bus) == domain && in pci_get_domain_bus_and_slot()
|
/linux-6.3-rc2/arch/microblaze/include/asm/ |
A D | pci.h | 30 extern int pci_domain_nr(struct pci_bus *bus);
|
/linux-6.3-rc2/arch/arm/include/asm/ |
A D | pci.h | 18 return pci_domain_nr(bus); in pci_proc_domain()
|
/linux-6.3-rc2/arch/sparc/include/asm/ |
A D | pci.h | 30 int pci_domain_nr(struct pci_bus *bus);
|
/linux-6.3-rc2/drivers/gpu/drm/gma500/ |
A D | mid_bios.c | 24 pci_get_domain_bus_and_slot(pci_domain_nr(pdev->bus), in mid_get_fuse_settings() 98 int domain = pci_domain_nr(pdev->bus); in mid_get_pci_revID() 278 pci_get_domain_bus_and_slot(pci_domain_nr(pdev->bus), in mid_get_vbt_data()
|
A D | gma_device.c | 16 pci_get_domain_bus_and_slot(pci_domain_nr(pdev->bus), in gma_get_core_freq()
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | pci-common.c | 337 int pci_domain_nr(struct pci_bus *bus) in pci_domain_nr() function 343 EXPORT_SYMBOL(pci_domain_nr); 665 pci_domain_nr(bus), bus->number, in pci_mmap_legacy_page_range() 681 current->comm, current->pid, pci_domain_nr(bus), bus->number); in pci_mmap_legacy_page_range() 1226 pci_domain_nr(bus), bus->number); in pcibios_allocate_bus_resources() 1365 pr_debug("Reserving legacy ranges for domain %04x\n", pci_domain_nr(bus)); in pcibios_reserve_legacy_regions() 1381 pci_domain_nr(bus), bus->number, res); in pcibios_reserve_legacy_regions() 1409 pci_domain_nr(bus), bus->number, res); in pcibios_reserve_legacy_regions() 1488 pci_domain_nr(bus), bus->number); in pcibios_finish_adding_to_bus()
|
A D | pci_of_scan.c | 203 dev_set_name(&dev->dev, "%04x:%02x:%02x.%d", pci_domain_nr(bus), in of_create_pci_dev() 278 bus = pci_find_bus(pci_domain_nr(dev->bus), in of_scan_pci_bridge() 330 sprintf(bus->name, "PCI Bus %04x:%02x", pci_domain_nr(bus), in of_scan_pci_bridge()
|
/linux-6.3-rc2/drivers/pci/pcie/ |
A D | aer_inject.c | 106 int domain = pci_domain_nr(dev->bus); in __find_aer_error_by_dev() 229 domain = pci_domain_nr(bus); in aer_inj_read_config() 261 domain = pci_domain_nr(bus); in aer_inj_write_config() 422 aer_error_init(rperr, pci_domain_nr(rpdev->bus), in aer_inject()
|
/linux-6.3-rc2/arch/mips/lib/ |
A D | iomap-pci.c | 32 sprintf(name, "%04x:%02x", pci_domain_nr(bus), bus->number); in __pci_ioport_map()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
A D | ramnv1a.c | 38 domain = pci_domain_nr(pdev->bus); in nv1a_ram_new()
|
/linux-6.3-rc2/arch/microblaze/pci/ |
A D | iomap.c | 47 return pci_domain_nr(bus); in pci_proc_domain()
|