/xen/xen/drivers/vpci/ |
A D | msi.c | 25 static uint32_t control_read(const struct pci_dev *pdev, unsigned int reg, in control_read() 37 static void control_write(const struct pci_dev *pdev, unsigned int reg, in control_write() 83 static void update_msi(const struct pci_dev *pdev, struct vpci_msi *msi) in update_msi() 93 static uint32_t address_read(const struct pci_dev *pdev, unsigned int reg, in address_read() 101 static void address_write(const struct pci_dev *pdev, unsigned int reg, in address_write() 135 static uint32_t data_read(const struct pci_dev *pdev, unsigned int reg, in data_read() 143 static void data_write(const struct pci_dev *pdev, unsigned int reg, in data_write() 154 static uint32_t mask_read(const struct pci_dev *pdev, unsigned int reg, in mask_read() 162 static void mask_write(const struct pci_dev *pdev, unsigned int reg, in mask_write() 186 static int init_msi(struct pci_dev *pdev) in init_msi() [all …]
|
A D | vpci.c | 38 void vpci_remove_device(struct pci_dev *pdev) in vpci_remove_device() 57 int __hwdom_init vpci_add_handlers(struct pci_dev *pdev) in vpci_add_handlers() 103 static uint32_t vpci_ignored_read(const struct pci_dev *pdev, unsigned int reg, in vpci_ignored_read() 109 static void vpci_ignored_write(const struct pci_dev *pdev, unsigned int reg, in vpci_ignored_write() 114 uint32_t vpci_hw_read16(const struct pci_dev *pdev, unsigned int reg, in vpci_hw_read16() 120 uint32_t vpci_hw_read32(const struct pci_dev *pdev, unsigned int reg, in vpci_hw_read32() 308 const struct pci_dev *pdev; in vpci_read() local 389 static void vpci_write_helper(const struct pci_dev *pdev, in vpci_write_helper() 411 const struct pci_dev *pdev; in vpci_write() local
|
A D | header.c | 84 static void modify_decoding(const struct pci_dev *pdev, uint16_t cmd, in modify_decoding() 166 static int __init apply_map(struct domain *d, const struct pci_dev *pdev, in apply_map() 181 static void defer_map(struct domain *d, struct pci_dev *pdev, in defer_map() 204 static int modify_bars(const struct pci_dev *pdev, uint16_t cmd, bool rom_only) in modify_bars() 333 static void cmd_write(const struct pci_dev *pdev, unsigned int reg, in cmd_write() 354 static void bar_write(const struct pci_dev *pdev, unsigned int reg, in bar_write() 400 static void rom_write(const struct pci_dev *pdev, unsigned int reg, in rom_write() 449 static int init_bars(struct pci_dev *pdev) in init_bars()
|
A D | msix.c | 32 static uint32_t control_read(const struct pci_dev *pdev, unsigned int reg, in control_read() 43 const struct pci_dev *pdev, unsigned int nr) in update_entry() 72 static void control_write(const struct pci_dev *pdev, unsigned int reg, in control_write() 175 static bool access_allowed(const struct pci_dev *pdev, unsigned long addr, in access_allowed() 354 const struct pci_dev *pdev = msix->pdev; in msix_write() local 399 int vpci_make_msix_hole(const struct pci_dev *pdev) in vpci_make_msix_hole() 447 static int init_msix(struct pci_dev *pdev) in init_msix()
|
/xen/xen/drivers/passthrough/ |
A D | pci.c | 327 struct pci_dev *pdev; in alloc_pdev() local 479 struct pci_dev *pdev; in pci_hide_device() local 502 struct pci_dev *pdev; in pci_ro_device() local 556 struct pci_dev *pdev; in pci_get_real_pdev() local 694 struct pci_dev *pdev; in pci_add_device() local 830 struct pci_dev *pdev; in pci_remove_device() local 930 struct pci_dev *pdev; in deassign_device() local 979 struct pci_dev *pdev; in pci_release_devices() local 1090 struct pci_dev *pdev; in pci_check_disable_device() local 1122 struct pci_dev *pdev; in _scan_pci_devices() local [all …]
|
/xen/xen/arch/x86/hvm/ |
A D | vmsi.c | 155 struct pci_dev *pdev; member 429 struct pci_dev *pdev, in add_msixtbl_entry() 463 struct pci_dev *pdev; in msixtbl_pt_register() local 534 struct pci_dev *pdev; in msixtbl_pt_unregister() local 671 void vpci_msi_arch_mask(struct vpci_msi *msi, const struct pci_dev *pdev, in vpci_msi_arch_mask() 677 static int vpci_msi_update(const struct pci_dev *pdev, uint32_t data, in vpci_msi_update() 736 static int vpci_msi_enable(const struct pci_dev *pdev, uint32_t data, in vpci_msi_enable() 794 static void vpci_msi_disable(const struct pci_dev *pdev, int pirq, in vpci_msi_disable() 845 const struct pci_dev *pdev, bool mask) in vpci_msix_arch_mask_entry() 870 const struct pci_dev *pdev) in vpci_msix_arch_disable_entry() [all …]
|
A D | irq.c | 260 unsigned int gsi, pdev, pintx, asserted; in hvm_set_callback_irq_level() local 430 unsigned int gsi=0, pdev=0, pintx=0; in hvm_set_callback_via() local 664 unsigned int asserted, pdev, pintx; in irq_save_pci() local
|
/xen/xen/drivers/passthrough/vtd/x86/ |
A D | ats.c | 44 int ats_device(const struct pci_dev *pdev, const struct acpi_drhd_unit *drhd) in ats_device() 75 const struct pci_dev *pdev, uint16_t did) in device_in_domain() 114 struct pci_dev *pdev, *temp; in dev_invalidate_iotlb() local
|
/xen/tools/tests/vpci/ |
A D | main.c | 37 static uint32_t vpci_read8(const struct pci_dev *pdev, unsigned int reg, in vpci_read8() 43 static void vpci_write8(const struct pci_dev *pdev, unsigned int reg, in vpci_write8() 49 static uint32_t vpci_read16(const struct pci_dev *pdev, unsigned int reg, in vpci_read16() 55 static void vpci_write16(const struct pci_dev *pdev, unsigned int reg, in vpci_write16() 61 static uint32_t vpci_read32(const struct pci_dev *pdev, unsigned int reg, in vpci_read32() 67 static void vpci_write32(const struct pci_dev *pdev, unsigned int reg, in vpci_write32()
|
/xen/xen/drivers/passthrough/x86/ |
A D | ats.c | 24 int enable_ats_device(struct pci_dev *pdev, struct list_head *ats_list) in enable_ats_device() 74 void disable_ats_device(struct pci_dev *pdev) in disable_ats_device()
|
/xen/xen/drivers/passthrough/amd/ |
A D | pci_amd_iommu.c | 87 uint8_t devfn, struct pci_dev *pdev) in amd_iommu_setup_domain_device() 276 uint8_t devfn, struct pci_dev *pdev) in amd_iommu_disable_domain_device() 325 u8 devfn, struct pci_dev *pdev) in reassign_device() 363 struct pci_dev *pdev, in amd_iommu_assign_device() 443 static int amd_iommu_add_device(u8 devfn, struct pci_dev *pdev) in amd_iommu_add_device() 515 static int amd_iommu_remove_device(u8 devfn, struct pci_dev *pdev) in amd_iommu_remove_device()
|
A D | iommu_cmd.c | 275 void amd_iommu_flush_iotlb(u8 devfn, const struct pci_dev *pdev, in amd_iommu_flush_iotlb() 315 struct pci_dev *pdev; in amd_iommu_flush_all_iotlbs() local
|
/xen/xen/arch/x86/ |
A D | msi.c | 323 struct pci_dev *pdev; in msi_set_mask_bit() local 515 const struct pci_dev *pdev = msidesc->dev; in setup_msi_irq() local 689 struct pci_dev *pdev = pci_get_pdev(seg, bus, PCI_DEVFN(slot, func)); in read_pci_mem_bar() local 1002 struct pci_dev *pdev; in __pci_enable_msi() local 1060 struct pci_dev *pdev; in __pci_enable_msix() local 1153 struct pci_dev *pdev; in pci_prepare_msix() local 1213 void pci_cleanup_msi(struct pci_dev *pdev) in pci_cleanup_msi() 1221 int pci_reset_msix_state(struct pci_dev *pdev) in pci_reset_msix_state() 1243 int pci_msi_conf_write_intercept(struct pci_dev *pdev, unsigned int reg, in pci_msi_conf_write_intercept() 1307 int pci_restore_msi_state(struct pci_dev *pdev) in pci_restore_msi_state()
|
A D | physdev.c | 575 struct pci_dev *pdev; in do_physdev_op() local 590 struct pci_dev *pdev; in do_physdev_op() local
|
A D | pci.c | 76 struct pci_dev *pdev; in pci_conf_write_intercept() local
|
/xen/xen/drivers/passthrough/vtd/ |
A D | intremap.c | 474 static void set_msi_source_id(struct pci_dev *pdev, struct iremap_entry *ire) in set_msi_source_id() 601 struct vtd_iommu *iommu, struct pci_dev *pdev, in msi_msg_to_remap_entry() 710 struct pci_dev *pdev = msi_desc->dev; in msi_msg_read_remap_rte() local 724 struct pci_dev *pdev = msi_desc->dev; in msi_msg_write_remap_rte() local
|
A D | iommu.c | 1317 u8 bus, u8 devfn, const struct pci_dev *pdev) in domain_context_mapping_one() 1466 struct pci_dev *pdev) in domain_context_mapping() 1637 struct pci_dev *pdev) in domain_context_unmap() 1983 static int intel_iommu_add_device(u8 devfn, struct pci_dev *pdev) in intel_iommu_add_device() 2024 static int intel_iommu_enable_device(struct pci_dev *pdev) in intel_iommu_enable_device() 2039 static int intel_iommu_remove_device(u8 devfn, struct pci_dev *pdev) in intel_iommu_remove_device() 2065 static int __hwdom_init setup_hwdom_device(u8 devfn, struct pci_dev *pdev) in setup_hwdom_device() 2358 u8 devfn, struct pci_dev *pdev) in reassign_device_ownership() 2431 struct domain *d, u8 devfn, struct pci_dev *pdev, u32 flag) in intel_iommu_assign_device()
|
A D | quirks.c | 334 struct pci_dev *pdev; in map_me_phantom_function() local 412 void pci_vtd_quirk(const struct pci_dev *pdev) in pci_vtd_quirk()
|
A D | qinval.c | 211 struct pci_dev *pdev, u16 did) in dev_invalidate_sync() 238 int qinval_device_iotlb_sync(struct vtd_iommu *iommu, struct pci_dev *pdev, in qinval_device_iotlb_sync()
|
A D | dmar.c | 193 struct acpi_drhd_unit *acpi_find_matched_drhd_unit(const struct pci_dev *pdev) in acpi_find_matched_drhd_unit() 237 struct acpi_atsr_unit *acpi_find_matched_atsr_unit(const struct pci_dev *pdev) in acpi_find_matched_atsr_unit()
|
/xen/xen/include/xen/ |
A D | vpci.h | 116 struct pci_dev *pdev; member 145 struct pci_dev *pdev; member 217 static inline int vpci_add_handlers(struct pci_dev *pdev) in vpci_add_handlers()
|
/xen/xen/drivers/video/ |
A D | vga.c | 117 const struct pci_dev *pdev; in video_endboot() local
|
/xen/xen/common/ |
A D | sysctl.c | 430 const struct pci_dev *pdev; in do_sysctl() local
|
/xen/xen/drivers/pci/ |
A D | pci.c | 117 void pci_intx(const struct pci_dev *pdev, bool enable) in pci_intx()
|
/xen/xen/drivers/passthrough/arm/ |
A D | smmu.c | 84 static struct resource *platform_get_resource(struct platform_device *pdev, in platform_get_resource() 185 static inline int pci_for_each_dma_alias(struct pci_dev *pdev, in pci_for_each_dma_alias() 1890 static int __arm_smmu_get_pci_sid(struct pci_dev *pdev, u16 alias, void *data) in __arm_smmu_get_pci_sid() 1920 struct pci_dev *pdev = to_pci_dev(dev); in arm_smmu_add_device() local 2266 static int arm_smmu_device_dt_probe(struct platform_device *pdev) in arm_smmu_device_dt_probe()
|