Home
last modified time | relevance | path

Searched refs:PCI_FUNC (Results 1 – 23 of 23) sorted by relevance

/xen-4.10.0-shim-comet/xen/drivers/passthrough/x86/
A Dats.c35 seg, bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); in enable_ats_device()
38 PCI_FUNC(devfn), pos + ATS_REG_CTL); in enable_ats_device()
54 pci_conf_write16(seg, bus, PCI_SLOT(devfn), PCI_FUNC(devfn), in enable_ats_device()
62 PCI_FUNC(devfn), pos + ATS_REG_CAP); 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/video/
A Dvga.c124 pci_conf_read16(0, bus, PCI_SLOT(devfn), PCI_FUNC(devfn), in video_endboot()
127 PCI_FUNC(devfn), PCI_COMMAND) & in video_endboot()
140 PCI_FUNC(df), in video_endboot()
146 PCI_FUNC(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 Dpci.c49 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()
157 func != PCI_FUNC(PCI_DEVFN(0, func)) ) in parse_pci_seg()
/xen-4.10.0-shim-comet/xen/drivers/passthrough/
A Dpci.c254 u8 func = PCI_FUNC(pdev->devfn); in check_pdev()
368 if ( PCI_FUNC(devfn) >= pdev->phantom_stride ) in alloc_pdev()
413 func = PCI_FUNC(pdev->devfn); in free_pdev()
574 u8 func = PCI_FUNC(pdev->devfn); in pci_enable_acs()
871 PCI_SLOT(devfn), PCI_FUNC(devfn)); in pci_release_devices()
884 u8 d = PCI_SLOT(devfn), f = PCI_FUNC(devfn); in pdev_type()
1101 PCI_SLOT(devfn), PCI_FUNC(devfn)); in _setup_hwdom_pci_devices()
1142 p->function == PCI_FUNC(pdev->devfn); in hest_match_pci()
1154 PCI_FUNC(pdev->devfn), in hest_match_type()
1243 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn), in _dump_pci_devices()
[all …]
A Dats.h38 value = pci_conf_read16(seg, bus, PCI_SLOT(devfn), PCI_FUNC(devfn), in pci_ats_enabled()
A Dio.c606 PCI_FUNC(digl->device), digl->intx); in pt_irq_create_bind()
644 PCI_SLOT(device), PCI_FUNC(device), intx); in pt_irq_destroy_bind()
746 PCI_FUNC(device), pt_irq_bind->u.pci.intx); in pt_irq_destroy_bind()
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dmsi.c132 func = PCI_FUNC(dev->devfn); in memory_decoded()
205 u8 func = PCI_FUNC(dev->devfn); in read_msi_msg()
270 u8 func = PCI_FUNC(dev->devfn); in write_msi_msg()
353 u8 func = PCI_FUNC(dev->devfn); in msi_set_enable()
366 u8 func = PCI_FUNC(dev->devfn); in msix_set_enable()
400 func = PCI_FUNC(pdev->devfn); in msi_set_mask_bit()
695 u8 func = PCI_FUNC(dev->devfn); in msi_capability_init()
852 u8 func = PCI_FUNC(dev->devfn); in msix_capability_init()
1101 u8 func = PCI_FUNC(msi->devfn); in __pci_enable_msix()
1156 u8 func = PCI_FUNC(dev->devfn); in __pci_disable_msix()
[all …]
/xen-4.10.0-shim-comet/xen/drivers/passthrough/amd/
A Dpci_amd_iommu.c41 unsigned int bd0 = bdf & ~PCI_FUNC(~0); in find_iommu_for_device()
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()
482 PCI_FUNC(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 Diommu_detect.c142 func = PCI_FUNC(iommu->bdf); in amd_iommu_detect_one_acpi()
A Diommu_acpi.c721 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()
1231 return ret < 0 ? ret : (ret | PCI_FUNC(~0)) + 1; in amd_iommu_get_ivrs_dev_entries()
A Diommu_init.c442 PCI_FUNC(iommu->bdf), iommu->msi.msi_attrib.pos, flag); 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()
840 u8 func = PCI_FUNC(iommu->bdf); in amd_iommu_erratum_746_workaround()
A Diommu_intr.c515 seg, PCI_BUS(bdf), PCI_SLOT(bdf), PCI_FUNC(bdf)); in _find_iommu_for_device()
693 PCI_FUNC(ivrs_mapping->dte_requestor_id)); in dump_intremap_mapping()
A Diommu_cmd.c305 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)); in amd_iommu_flush_iotlb()
/xen-4.10.0-shim-comet/xen/drivers/passthrough/vtd/
A Dquirks.c367 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()
419 int func = PCI_FUNC(pdev->devfn); in pci_vtd_quirk()
A Diommu.c885 PCI_FUNC(source_id), addr, iommu->reg); in iommu_page_fault_do_one()
893 PCI_FUNC(source_id), addr >> 48, iommu->reg); in iommu_page_fault_do_one()
901 PCI_FUNC(source_id), addr, iommu->reg); 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 Dutils.c100 PCI_SLOT(devfn), PCI_FUNC(devfn), gmfn); in print_vtd_entries()
A Dintremap.c524 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 Ddmar.c535 f = PCI_FUNC(dmaru->scope.devices[i]); in acpi_parse_one_drhd()
596 u8 f = PCI_FUNC(rmrru->scope.devices[i]); in register_one_rmrr()
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/
A Dio.c275 *func = PCI_FUNC(bdf); in hvm_pci_decode_addr()
/xen-4.10.0-shim-comet/xen/include/xen/
A Dpci.h32 #define PCI_FUNC(bdf) ((bdf) & 0x07) macro
/xen-4.10.0-shim-comet/xen/arch/x86/x86_64/
A Dmmconfig-shared.c315 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 Dlibxl_qmp.c868 PCI_SLOT(pcidev->vdevfn), PCI_FUNC(pcidev->vdevfn)); in libxl__qmp_pci_add()
A Dlibxl_internal.h531 #define PCI_FUNC(devfn) ((devfn) & 0x07) macro

Completed in 48 milliseconds