/xen/tools/xl/ |
A D | xl_pci.c | 58 static int pcidetach(uint32_t domid, const char *bdf, int force) in pcidetach() 92 const char *bdf = NULL; in main_pcidetach() local 109 static int pciattach(uint32_t domid, const char *bdf, const char *vs) in pciattach() 138 const char *bdf = NULL, *vs = NULL; in main_pciattach() local 185 static int pciassignable_add(const char *bdf, int rebind) in pciassignable_add() 213 const char *bdf = NULL; in main_pciassignable_add() local 227 static int pciassignable_remove(const char *bdf, int rebind) in pciassignable_remove() 255 const char *bdf = NULL; in main_pciassignable_remove() local
|
/xen/xen/drivers/passthrough/amd/ |
A D | iommu_acpi.c | 108 u16 seg, u16 bdf, u16 cap_offset) in find_iommu_from_bdf_cap() 146 u16 seg, u16 bdf, unsigned long base, in reserve_unity_map_for_device() 179 unsigned int bdf; in register_exclusion_range_for_all_devices() local 257 unsigned int bdf; in register_exclusion_range_for_iommu_devices() local 297 u16 bdf; in parse_ivmd_device_select() local 313 unsigned int first_bdf, last_bdf, bdf; in parse_ivmd_device_range() local 433 u16 bdf; in parse_ivhd_device_select() local 452 unsigned int dev_length, first_bdf, last_bdf, bdf; in parse_ivhd_device_range() local 498 u16 dev_length, alias_id, bdf; in parse_ivhd_device_alias() local 588 u16 dev_length, bdf; in parse_ivhd_device_extended() local [all …]
|
A D | pci_amd_iommu.c | 32 struct amd_iommu *find_iommu_for_device(int seg, int bdf) in find_iommu_for_device() 72 int get_dma_requestor_id(uint16_t seg, uint16_t bdf) in get_dma_requestor_id() 328 int bdf, rc; in reassign_device() local 367 int bdf = PCI_BDF2(pdev->bus, devfn); in amd_iommu_assign_device() local 446 u16 bdf; in amd_iommu_add_device() local 518 u16 bdf; in amd_iommu_remove_device() local 549 int bdf = PCI_BDF2(bus, devfn); in amd_iommu_group_id() local
|
A D | iommu_intr.c | 125 static int get_intremap_requestor_id(int seg, int bdf) in get_intremap_requestor_id() 132 unsigned int bdf, unsigned int nr) in alloc_intremap_entry() 183 unsigned int bdf, unsigned int index) in free_intremap_entry() 267 int bdf, in update_intremap_entry_from_ioapic() 361 int seg, bdf, rc; in amd_iommu_ioapic_update_ire() local 467 uint16_t seg, bdf, req_id; in amd_iommu_read_ioapic_from_ire() local 506 struct amd_iommu *iommu, u16 bdf, unsigned int nr, in update_intremap_entry_from_msi_msg() 601 static struct amd_iommu *_find_iommu_for_device(int seg, int bdf) in _find_iommu_for_device() 622 int bdf, seg, rc; in amd_iommu_msi_msg_update_ire() local 668 u16 bdf = pdev ? PCI_BDF2(pdev->bus, pdev->devfn) : hpet_sbdf.bdf; in amd_iommu_read_msi_from_ire() local [all …]
|
A D | iommu_init.c | 555 unsigned int bdf; in parse_event_log_entry() local 1169 struct ivrs_mappings *, uint16_t bdf)) in iterate_ivrs_entries() 1176 unsigned int bdf; in iterate_ivrs_entries() local 1196 unsigned int bdf; in alloc_ivrs_mappings() local 1229 unsigned int bdf; in amd_iommu_setup_device_table() local 1527 unsigned int bdf; in _invalidate_all_devices() local
|
A D | iommu_cmd.c | 364 void amd_iommu_flush_device(struct amd_iommu *iommu, uint16_t bdf) in amd_iommu_flush_device() 372 void amd_iommu_flush_intremap(struct amd_iommu *iommu, uint16_t bdf) in amd_iommu_flush_intremap()
|
A D | iommu.h | 81 u16 bdf; member 286 u16 bdf, seg; member 297 u16 bdf, seg, id; member
|
/xen/xen/include/xen/ |
A D | pci.h | 30 #define PCI_BUS(bdf) (((bdf) >> 8) & 0xff) argument 31 #define PCI_SLOT(bdf) (((bdf) >> 3) & 0x1f) argument 32 #define PCI_FUNC(bdf) ((bdf) & 0x07) argument 34 #define PCI_DEVFN2(bdf) ((bdf) & 0xff) argument 39 #define PCI_SBDF2(s,bdf) \ argument 48 uint16_t bdf; member
|
/xen/xen/drivers/passthrough/vtd/ |
A D | dmar.h | 37 }bdf; member 45 u16 bdf; member 96 #define for_each_rmrr_device(rmrr, bdf, idx) \ argument
|
A D | iommu.c | 1986 u16 bdf; in intel_iommu_add_device() local 2042 u16 bdf; in intel_iommu_remove_device() local 2218 u16 bdf; in setup_hwdom_rmrr() local 2378 u16 bdf; in reassign_device_ownership() local 2436 u16 bdf, seg; in intel_iommu_assign_device() local
|
A D | dmar.c | 1040 u16 bdf; in intel_iommu_get_reserved_device_memory() local
|
/xen/xen/arch/x86/x86_64/ |
A D | mmconfig_64.c | 179 unsigned int *bdf) in pci_mmcfg_decode() 201 unsigned int *bdf) in pci_ro_mmcfg_decode()
|
/xen/xen/arch/x86/ |
A D | pci.c | 72 int pci_conf_write_intercept(unsigned int seg, unsigned int bdf, in pci_conf_write_intercept()
|
A D | mm.c | 936 unsigned int seg, bdf; in get_page_from_l1e() local
|
/xen/tools/tests/vpci/ |
A D | emul.h | 67 uint16_t bdf; member
|
/xen/xen/include/asm-x86/ |
A D | mm.h | 542 unsigned int seg, bdf; member
|
/xen/xen/drivers/passthrough/ |
A D | pci.c | 1569 u32 bdf; in iommu_get_device_group() local
|
/xen/tools/libxl/ |
A D | libxl_pci.c | 338 char *devpath, *bdf; in get_all_assigned_devices() local
|
/xen/xen/arch/x86/hvm/ |
A D | emulate.c | 2741 unsigned int seg, bdf; in hvm_emulate_one_mmio() local
|