/xen-4.10.0-shim-comet/xen/drivers/passthrough/x86/ |
A D | ats.c | 35 seg, bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); in enable_ats_device() 37 value = pci_conf_read16(seg, bus, PCI_SLOT(devfn), in enable_ats_device() 54 pci_conf_write16(seg, bus, PCI_SLOT(devfn), PCI_FUNC(devfn), in enable_ats_device() 61 value = pci_conf_read16(seg, bus, PCI_SLOT(devfn), in enable_ats_device() 70 seg, bus, PCI_SLOT(devfn), PCI_FUNC(devfn), in enable_ats_device() 84 value = pci_conf_read16(seg, bus, PCI_SLOT(devfn), PCI_FUNC(devfn), in disable_ats_device() 87 pci_conf_write16(seg, bus, PCI_SLOT(devfn), PCI_FUNC(devfn), in disable_ats_device() 94 seg, bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); in disable_ats_device()
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/ |
A D | pci.c | 253 u8 dev = PCI_SLOT(pdev->devfn); in check_pdev() 412 dev = PCI_SLOT(pdev->devfn); in free_pdev() 573 u8 dev = PCI_SLOT(pdev->devfn); in pci_enable_acs() 761 if ( PCI_SLOT(func) ) in pci_add_device() 871 PCI_SLOT(devfn), PCI_FUNC(devfn)); in pci_release_devices() 884 u8 d = PCI_SLOT(devfn), f = PCI_FUNC(devfn); in pdev_type() 1069 PCI_SLOT(devfn) == PCI_SLOT(pdev->devfn) ); in setup_one_hwdom_device() 1305 if ( PCI_SLOT(devfn) != PCI_SLOT(pdev->devfn) ) in iommu_add_device() 1348 if ( PCI_SLOT(devfn) != PCI_SLOT(pdev->devfn) ) in iommu_remove_device() 1422 if ( PCI_SLOT(devfn) != PCI_SLOT(pdev->devfn) ) in assign_device() [all …]
|
A D | ats.h | 38 value = pci_conf_read16(seg, bus, PCI_SLOT(devfn), PCI_FUNC(devfn), in pci_ats_enabled()
|
A D | io.c | 605 digl->bus, PCI_SLOT(digl->device), in pt_irq_create_bind() 644 PCI_SLOT(device), PCI_FUNC(device), intx); in pt_irq_destroy_bind() 745 pt_irq_bind->u.pci.bus, PCI_SLOT(device), in pt_irq_destroy_bind()
|
/xen-4.10.0-shim-comet/xen/drivers/video/ |
A D | vga.c | 124 pci_conf_read16(0, bus, PCI_SLOT(devfn), PCI_FUNC(devfn), in video_endboot() 126 !(pci_conf_read16(0, bus, PCI_SLOT(devfn), in video_endboot() 139 switch ( pci_conf_read8(0, b, PCI_SLOT(df), in video_endboot() 145 if ( pci_conf_read16(0, b, PCI_SLOT(df), in video_endboot() 159 bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); in video_endboot()
|
/xen-4.10.0-shim-comet/xen/drivers/pci/ |
A D | pci.c | 49 pos = pci_conf_read8(seg, bus, PCI_SLOT(devfn), PCI_FUNC(devfn), pos); in pci_find_next_cap() 54 id = pci_conf_read8(seg, bus, PCI_SLOT(devfn), PCI_FUNC(devfn), in pci_find_next_cap() 97 header = pci_conf_read32(seg, bus, PCI_SLOT(devfn), PCI_FUNC(devfn), pos); in pci_find_next_ext_capability() 113 header = pci_conf_read32(seg, bus, PCI_SLOT(devfn), PCI_FUNC(devfn), pos); in pci_find_next_ext_capability() 156 dev != PCI_SLOT(PCI_DEVFN(dev, 0)) || in parse_pci_seg()
|
/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | msi.c | 131 slot = PCI_SLOT(dev->devfn); in memory_decoded() 204 u8 slot = PCI_SLOT(dev->devfn); in read_msi_msg() 269 u8 slot = PCI_SLOT(dev->devfn); in write_msi_msg() 352 u8 slot = PCI_SLOT(dev->devfn); in msi_set_enable() 365 u8 slot = PCI_SLOT(dev->devfn); in msix_set_enable() 399 slot = PCI_SLOT(pdev->devfn); in msi_set_mask_bit() 694 u8 slot = PCI_SLOT(dev->devfn); in msi_capability_init() 851 u8 slot = PCI_SLOT(dev->devfn); in msix_capability_init() 1100 u8 slot = PCI_SLOT(msi->devfn); in __pci_enable_msix() 1155 u8 slot = PCI_SLOT(dev->devfn); in __pci_disable_msix() [all …]
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/amd/ |
A D | pci_amd_iommu.c | 54 seg, PCI_BUS(bdf), PCI_SLOT(bdf), PCI_FUNC(bdf)); in find_iommu_for_device() 351 pdev->seg, pdev->bus, PCI_SLOT(devfn), PCI_FUNC(devfn), in reassign_device() 370 pdev->seg, pdev->bus, PCI_SLOT(devfn), PCI_FUNC(devfn), in reassign_device() 481 pdev->seg, pdev->bus, PCI_SLOT(devfn), in amd_iommu_add_device() 487 pdev->seg, pdev->bus, PCI_SLOT(devfn), PCI_FUNC(devfn), in amd_iommu_add_device() 509 pdev->seg, pdev->bus, PCI_SLOT(devfn), PCI_FUNC(devfn), in amd_iommu_remove_device()
|
A D | iommu_intr.c | 515 seg, PCI_BUS(bdf), PCI_SLOT(bdf), PCI_FUNC(bdf)); in _find_iommu_for_device() 547 } while ( PCI_SLOT(bdf) == PCI_SLOT(pdev->devfn) ); in amd_iommu_msi_msg_update_ire() 565 } while ( PCI_SLOT(bdf) == PCI_SLOT(pdev->devfn) ); in amd_iommu_msi_msg_update_ire() 692 PCI_SLOT(ivrs_mapping->dte_requestor_id), in dump_intremap_mapping()
|
A D | iommu_cmd.c | 305 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)); in amd_iommu_flush_iotlb() 339 PCI_SLOT(devfn) == PCI_SLOT(pdev->devfn) ); in amd_iommu_flush_all_iotlbs()
|
A D | iommu_detect.c | 141 dev = PCI_SLOT(iommu->bdf); in amd_iommu_detect_one_acpi()
|
A D | iommu_init.c | 441 __msi_set_enable(iommu->seg, PCI_BUS(iommu->bdf), PCI_SLOT(iommu->bdf), in amd_iommu_msi_enable() 798 PCI_SLOT(iommu->bdf), PCI_FUNC(iommu->bdf)); in set_iommu_interrupt_handler() 802 PCI_SLOT(iommu->bdf), PCI_FUNC(iommu->bdf), in set_iommu_interrupt_handler() 839 u8 dev = PCI_SLOT(iommu->bdf); in amd_iommu_erratum_746_workaround()
|
A D | iommu_map.c | 624 PCI_SLOT(bdf) == PCI_SLOT(pdev->devfn) ); in update_paging_mode()
|
A D | iommu_acpi.c | 721 seg, PCI_BUS(bdf), PCI_SLOT(bdf), PCI_FUNC(bdf), in parse_ivhd_device_special() 747 PCI_BUS(bdf), PCI_SLOT(bdf), PCI_FUNC(bdf)); in parse_ivhd_device_special() 819 PCI_SLOT(bdf), PCI_FUNC(bdf)); in parse_ivhd_device_special()
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/vtd/ |
A D | quirks.c | 367 id = pci_conf_read32(0, bus, PCI_SLOT(devfn), PCI_FUNC(devfn), 0); in me_wifi_quirk() 391 id = pci_conf_read32(0, bus, PCI_SLOT(devfn), PCI_FUNC(devfn), 0); in me_wifi_quirk() 418 int dev = PCI_SLOT(pdev->devfn); in pci_vtd_quirk()
|
A D | iommu.c | 884 seg, PCI_BUS(source_id), PCI_SLOT(source_id), in iommu_page_fault_do_one() 892 seg, PCI_BUS(source_id), PCI_SLOT(source_id), in iommu_page_fault_do_one() 900 seg, PCI_BUS(source_id), PCI_SLOT(source_id), in iommu_page_fault_do_one() 1495 PCI_SLOT(devfn), PCI_FUNC(devfn)); in domain_context_mapping() 1509 PCI_SLOT(devfn), PCI_FUNC(devfn)); in domain_context_mapping() 1521 PCI_SLOT(devfn), PCI_FUNC(devfn)); in domain_context_mapping() 1549 seg, bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); in domain_context_mapping() 1646 PCI_SLOT(devfn), PCI_FUNC(devfn)); in domain_context_unmap() 1660 PCI_SLOT(devfn), PCI_FUNC(devfn)); in domain_context_unmap() 1697 seg, bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); in domain_context_unmap() [all …]
|
A D | utils.c | 100 PCI_SLOT(devfn), PCI_FUNC(devfn), gmfn); in print_vtd_entries()
|
A D | intremap.c | 524 seg, bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); in set_msi_source_id() 531 seg, bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); in set_msi_source_id()
|
A D | dmar.c | 534 d = PCI_SLOT(dmaru->scope.devices[i]); in acpi_parse_one_drhd() 595 u8 d = PCI_SLOT(rmrru->scope.devices[i]); in register_one_rmrr()
|
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/ |
A D | io.c | 274 *slot = PCI_SLOT(bdf); in hvm_pci_decode_addr()
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | pci.h | 31 #define PCI_SLOT(bdf) (((bdf) >> 3) & 0x1f) macro
|
/xen-4.10.0-shim-comet/xen/arch/x86/x86_64/ |
A D | mmconfig-shared.c | 315 l = pci_conf_read32(0, bus, PCI_SLOT(devfn), PCI_FUNC(devfn), 0); in pci_mmcfg_check_hostbridge()
|
/xen-4.10.0-shim-comet/tools/libxl/ |
A D | libxl_qmp.c | 868 PCI_SLOT(pcidev->vdevfn), PCI_FUNC(pcidev->vdevfn)); in libxl__qmp_pci_add()
|
A D | libxl_internal.h | 530 #define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f) macro
|