Home
last modified time | relevance | path

Searched defs:pasid (Results 1 – 25 of 74) sorted by relevance

123

/Linux-v5.15/drivers/iommu/intel/
Dpasid.c29 int vcmd_alloc_pasid(struct intel_iommu *iommu, u32 *pasid) in vcmd_alloc_pasid()
60 void vcmd_free_pasid(struct intel_iommu *iommu, u32 pasid) in vcmd_free_pasid()
244 static struct pasid_entry *intel_pasid_get_entry(struct device *dev, u32 pasid) in intel_pasid_get_entry()
312 intel_pasid_clear_entry(struct device *dev, u32 pasid, bool fault_ignore) in intel_pasid_clear_entry()
470 u16 did, u32 pasid) in pasid_cache_invalidation_with_pasid()
485 struct device *dev, u32 pasid) in devtlb_invalidation_with_pasid()
511 u32 pasid, bool fault_ignore) in intel_pasid_tear_down_entry()
549 u32 pasid, u16 did) in pasid_flush_caches()
584 u32 pasid, u16 did, int flags) in intel_pasid_setup_first_level()
667 struct device *dev, u32 pasid) in intel_pasid_setup_second_level()
[all …]
Dsvm.c35 static int pasid_private_add(ioasid_t pasid, void *priv) in pasid_private_add()
41 static void pasid_private_remove(ioasid_t pasid) in pasid_private_remove()
46 static void *pasid_private_find(ioasid_t pasid) in pasid_private_find()
285 static int pasid_to_svm_sdev(struct device *dev, unsigned int pasid, in pasid_to_svm_sdev()
463 int intel_svm_unbind_gpasid(struct device *dev, u32 pasid) in intel_svm_unbind_gpasid()
513 static void load_pasid(struct mm_struct *mm, u32 pasid) in load_pasid()
639 static int intel_svm_unbind_mm(struct device *dev, u32 pasid) in intel_svm_unbind_mm()
703 u64 pasid:20; member
746 static void intel_svm_drain_prq(struct device *dev, u32 pasid) in intel_svm_drain_prq()
1091 u32 pasid; in intel_svm_get_pasid() local
Ddmar.c1537 void qi_flush_piotlb(struct intel_iommu *iommu, u16 did, u32 pasid, u64 addr, in qi_flush_piotlb()
1579 u32 pasid, u16 qdep, u64 addr, unsigned int size_order) in qi_flush_dev_iotlb_pasid()
1622 u64 granu, u32 pasid) in qi_flush_pasid_cache()
1936 u8 fault_reason, u32 pasid, u16 source_id, in dmar_fault_do_one()
1993 u32 pasid; in dmar_fault() local
/Linux-v5.15/drivers/pci/
Dats.c364 int pasid = pdev->pasid_cap; in pci_enable_pasid() local
410 int pasid = pdev->pasid_cap; in pci_disable_pasid() local
435 int pasid = pdev->pasid_cap; in pci_restore_pasid_state() local
463 int pasid; in pci_pasid_features() local
492 int pasid; in pci_max_pasids() local
/Linux-v5.15/drivers/iommu/
Diommu-sva-lib.c29 ioasid_t pasid; in iommu_sva_alloc_pasid() local
82 struct mm_struct *iommu_sva_find(ioasid_t pasid) in iommu_sva_find()
/Linux-v5.15/drivers/gpu/drm/amd/amdkfd/
Dcik_event_interrupt.c38 uint16_t pasid; in cik_event_interrupt_isr() local
95 u32 pasid = (ihre->ring_id & 0xffff0000) >> 16; in cik_event_interrupt_wq() local
Dkfd_events.c463 void kfd_signal_event_interrupt(u32 pasid, uint32_t partial_id, in kfd_signal_event_interrupt()
875 void kfd_signal_iommu_event(struct kfd_dev *dev, u32 pasid, in kfd_signal_iommu_event()
953 void kfd_signal_hw_exception_event(u32 pasid) in kfd_signal_hw_exception_event()
974 void kfd_signal_vm_fault_event(struct kfd_dev *dev, u32 pasid, in kfd_signal_vm_fault_event()
1054 void kfd_signal_poison_consumed_event(struct kfd_dev *dev, u32 pasid) in kfd_signal_poison_consumed_event()
Dkfd_iommu.c146 static void iommu_pasid_shutdown_callback(struct pci_dev *pdev, u32 pasid) in iommu_pasid_shutdown_callback()
192 static int iommu_invalid_ppr_cb(struct pci_dev *pdev, u32 pasid, in iommu_invalid_ppr_cb()
Dkfd_pasid.c66 void kfd_pasid_free(u32 pasid) in kfd_pasid_free()
Dkfd_int_process_v9.c97 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_isr_v9() local
173 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_wq_v9() local
Dkfd_pm4_headers.h58 uint32_t pasid:16; member
107 uint32_t pasid:16; member
/Linux-v5.15/drivers/iommu/amd/
Diommu_v2.c44 u32 pasid; /* PASID index */ member
74 u32 pasid; member
154 u32 pasid, bool alloc) in __get_pasid_state_ptr()
188 u32 pasid) in set_pasid_state()
215 static void clear_pasid_state(struct device_state *dev_state, u32 pasid) in clear_pasid_state()
233 u32 pasid) in get_pasid_state()
598 int amd_iommu_bind_pasid(struct pci_dev *pdev, u32 pasid, in amd_iommu_bind_pasid()
683 void amd_iommu_unbind_pasid(struct pci_dev *pdev, u32 pasid) in amd_iommu_unbind_pasid()
Diommu.c509 u32 pasid; in iommu_print_event() local
930 static void build_inv_iommu_pasid(struct iommu_cmd *cmd, u16 domid, u32 pasid, in build_inv_iommu_pasid()
948 static void build_inv_iotlb_pasid(struct iommu_cmd *cmd, u16 devid, u32 pasid, in build_inv_iotlb_pasid()
968 static void build_complete_ppr(struct iommu_cmd *cmd, u16 devid, u32 pasid, in build_complete_ppr()
2350 static int __flush_pasid(struct protection_domain *domain, u32 pasid, in __flush_pasid()
2411 static int __amd_iommu_flush_page(struct protection_domain *domain, u32 pasid, in __amd_iommu_flush_page()
2417 int amd_iommu_flush_page(struct iommu_domain *dom, u32 pasid, in amd_iommu_flush_page()
2432 static int __amd_iommu_flush_tlb(struct protection_domain *domain, u32 pasid) in __amd_iommu_flush_tlb()
2438 int amd_iommu_flush_tlb(struct iommu_domain *dom, u32 pasid) in amd_iommu_flush_tlb()
2452 static u64 *__get_gcr3_pte(u64 *root, int level, u32 pasid, bool alloc) in __get_gcr3_pte()
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ids.c46 u32 pasid; member
62 int pasid = -EINVAL; in amdgpu_pasid_alloc() local
82 void amdgpu_pasid_free(u32 pasid) in amdgpu_pasid_free()
108 u32 pasid) in amdgpu_pasid_free_delayed()
Damdgpu_gmc.c350 static inline uint64_t amdgpu_gmc_fault_key(uint64_t addr, uint16_t pasid) in amdgpu_gmc_fault_key()
368 uint16_t pasid, uint64_t timestamp) in amdgpu_gmc_filter_faults()
420 uint16_t pasid) in amdgpu_gmc_filter_faults_remove()
Dgmc_v7_0.c434 uint16_t pasid, uint32_t flush_type, in gmc_v7_0_flush_gpu_tlb_pasid()
499 unsigned pasid) in gmc_v7_0_emit_pasid_mapping()
776 u32 addr, u32 mc_client, unsigned pasid) in gmc_v7_0_vm_decode_fault()
Dgmc_v8_0.c626 uint16_t pasid, uint32_t flush_type, in gmc_v8_0_flush_gpu_tlb_pasid()
692 unsigned pasid) in gmc_v8_0_emit_pasid_mapping()
1010 u32 addr, u32 mc_client, unsigned pasid) in gmc_v8_0_vm_decode_fault()
Damdgpu_kms.c1153 int r, pasid; in amdgpu_driver_open_kms() local
1247 u32 pasid; in amdgpu_driver_postclose_kms() local
Damdgpu_ids.h61 unsigned pasid; member
/Linux-v5.15/include/uapi/linux/
Diommu.h75 __u32 pasid; member
100 __u32 pasid; member
156 __u32 pasid; member
195 __u64 pasid; member
221 __u64 pasid; member
/Linux-v5.15/arch/csky/mm/
Dasid.c79 static u64 new_context(struct asid_info *info, atomic64_t *pasid, in new_context()
137 void asid_new_context(struct asid_info *info, atomic64_t *pasid, in asid_new_context()
/Linux-v5.15/drivers/dma/idxd/
Dcdev.c37 unsigned int pasid; member
80 unsigned int pasid; in idxd_cdev_open() local
/Linux-v5.15/arch/csky/include/asm/
Dasid.h43 atomic64_t *pasid, unsigned int cpu, in asid_check_context()
/Linux-v5.15/drivers/misc/ocxl/
Dlink.c537 int ocxl_link_add_pe(void *link_handle, int pasid, u32 pidr, u32 tidr, in ocxl_link_add_pe()
630 int ocxl_link_update_pe(void *link_handle, int pasid, __u16 tid) in ocxl_link_update_pe()
666 int ocxl_link_remove_pe(void *link_handle, int pasid) in ocxl_link_remove_pe()
Docxl_internal.h72 int pasid; member
87 __be32 pasid; member

123