Home
last modified time | relevance | path

Searched defs:bdf (Results 1 – 19 of 19) sorted by relevance

/xen/tools/xl/
A Dxl_pci.c58 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 Diommu_acpi.c108 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 Dpci_amd_iommu.c32 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 Diommu_intr.c125 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 Diommu_init.c555 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 Diommu_cmd.c364 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 Diommu.h81 u16 bdf; member
286 u16 bdf, seg; member
297 u16 bdf, seg, id; member
/xen/xen/include/xen/
A Dpci.h30 #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 Ddmar.h37 }bdf; member
45 u16 bdf; member
96 #define for_each_rmrr_device(rmrr, bdf, idx) \ argument
A Diommu.c1986 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 Ddmar.c1040 u16 bdf; in intel_iommu_get_reserved_device_memory() local
/xen/xen/arch/x86/x86_64/
A Dmmconfig_64.c179 unsigned int *bdf) in pci_mmcfg_decode()
201 unsigned int *bdf) in pci_ro_mmcfg_decode()
/xen/xen/arch/x86/
A Dpci.c72 int pci_conf_write_intercept(unsigned int seg, unsigned int bdf, in pci_conf_write_intercept()
A Dmm.c936 unsigned int seg, bdf; in get_page_from_l1e() local
/xen/tools/tests/vpci/
A Demul.h67 uint16_t bdf; member
/xen/xen/include/asm-x86/
A Dmm.h542 unsigned int seg, bdf; member
/xen/xen/drivers/passthrough/
A Dpci.c1569 u32 bdf; in iommu_get_device_group() local
/xen/tools/libxl/
A Dlibxl_pci.c338 char *devpath, *bdf; in get_all_assigned_devices() local
/xen/xen/arch/x86/hvm/
A Demulate.c2741 unsigned int seg, bdf; in hvm_emulate_one_mmio() local

Completed in 48 milliseconds