Home
last modified time | relevance | path

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

123

/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()
247 struct pasid_entry *intel_pasid_get_entry(struct device *dev, u32 pasid) in intel_pasid_get_entry()
319 intel_pasid_clear_entry(struct device *dev, u32 pasid, bool fault_ignore) in intel_pasid_clear_entry()
468 u16 did, u32 pasid) in pasid_cache_invalidation_with_pasid()
483 struct device *dev, u32 pasid) in devtlb_invalidation_with_pasid()
509 u32 pasid, bool fault_ignore) in intel_pasid_tear_down_entry()
540 u32 pasid, u16 did) in pasid_flush_caches()
559 u32 pasid, u16 did, int flags) in intel_pasid_setup_first_level()
635 struct device *dev, u32 pasid) in intel_pasid_setup_second_level()
[all …]
Dsvm.c213 static int pasid_to_svm_sdev(struct device *dev, unsigned int pasid, in pasid_to_svm_sdev()
399 int intel_svm_unbind_gpasid(struct device *dev, u32 pasid) in intel_svm_unbind_gpasid()
449 static void load_pasid(struct mm_struct *mm, u32 pasid) in load_pasid()
644 static int intel_svm_unbind_mm(struct device *dev, u32 pasid) in intel_svm_unbind_mm()
705 u64 pasid:20; member
766 static void intel_svm_drain_prq(struct device *dev, u32 pasid) in intel_svm_drain_prq()
1116 u32 pasid; in intel_svm_get_pasid() local
Ddmar.c1442 void qi_flush_piotlb(struct intel_iommu *iommu, u16 did, u32 pasid, u64 addr, in qi_flush_piotlb()
1484 u32 pasid, u16 qdep, u64 addr, unsigned int size_order) in qi_flush_dev_iotlb_pasid()
1527 u64 granu, u32 pasid) in qi_flush_pasid_cache()
1841 u8 fault_reason, u32 pasid, u16 source_id, in dmar_fault_do_one()
1891 u32 pasid; in dmar_fault() local
/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
/drivers/iommu/amd/
Diommu_v2.c43 u32 pasid; /* PASID index */ member
73 u32 pasid; member
153 u32 pasid, bool alloc) in __get_pasid_state_ptr()
187 u32 pasid) in set_pasid_state()
214 static void clear_pasid_state(struct device_state *dev_state, u32 pasid) in clear_pasid_state()
232 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.c580 u32 pasid; in iommu_print_event() local
1000 static void build_inv_iommu_pasid(struct iommu_cmd *cmd, u16 domid, u32 pasid, in build_inv_iommu_pasid()
1018 static void build_inv_iotlb_pasid(struct iommu_cmd *cmd, u16 devid, u32 pasid, in build_inv_iotlb_pasid()
1038 static void build_complete_ppr(struct iommu_cmd *cmd, u16 devid, u32 pasid, in build_complete_ppr()
2879 static int __flush_pasid(struct protection_domain *domain, u32 pasid, in __flush_pasid()
2940 static int __amd_iommu_flush_page(struct protection_domain *domain, u32 pasid, in __amd_iommu_flush_page()
2946 int amd_iommu_flush_page(struct iommu_domain *dom, u32 pasid, in amd_iommu_flush_page()
2961 static int __amd_iommu_flush_tlb(struct protection_domain *domain, u32 pasid) in __amd_iommu_flush_tlb()
2967 int amd_iommu_flush_tlb(struct iommu_domain *dom, u32 pasid) in amd_iommu_flush_tlb()
2981 static u64 *__get_gcr3_pte(u64 *root, int level, u32 pasid, bool alloc) in __get_gcr3_pte()
[all …]
/drivers/gpu/drm/amd/amdkfd/
Dcik_event_interrupt.c38 uint16_t pasid; in cik_event_interrupt_isr() local
94 u32 pasid = (ihre->ring_id & 0xffff0000) >> 16; in cik_event_interrupt_wq() local
Dkfd_int_process_v9.c34 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_isr_v9() local
90 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_wq_v9() local
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_events.c463 void kfd_signal_event_interrupt(u32 pasid, uint32_t partial_id, in kfd_signal_event_interrupt()
874 void kfd_signal_iommu_event(struct kfd_dev *dev, u32 pasid, in kfd_signal_iommu_event()
952 void kfd_signal_hw_exception_event(u32 pasid) in kfd_signal_hw_exception_event()
973 void kfd_signal_vm_fault_event(struct kfd_dev *dev, u32 pasid, in kfd_signal_vm_fault_event()
Dkfd_pasid.c66 void kfd_pasid_free(u32 pasid) in kfd_pasid_free()
Dkfd_pm4_headers.h58 uint32_t pasid:16; member
107 uint32_t pasid:16; member
Dkfd_smi_events.c231 void kfd_smi_event_update_vmfault(struct kfd_dev *dev, uint16_t pasid) in kfd_smi_event_update_vmfault()
/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()
Dgmc_v7_0.c431 uint16_t pasid, uint32_t flush_type, in gmc_v7_0_flush_gpu_tlb_pasid()
494 unsigned pasid) in gmc_v7_0_emit_pasid_mapping()
770 u32 addr, u32 mc_client, unsigned pasid) in gmc_v7_0_vm_decode_fault()
Dgmc_v8_0.c639 uint16_t pasid, uint32_t flush_type, in gmc_v8_0_flush_gpu_tlb_pasid()
703 unsigned pasid) in gmc_v8_0_emit_pasid_mapping()
1020 u32 addr, u32 mc_client, unsigned pasid) in gmc_v8_0_vm_decode_fault()
Damdgpu_kms.c1009 int r, pasid; in amdgpu_driver_open_kms() local
1096 u32 pasid; in amdgpu_driver_postclose_kms() local
Damdgpu_ids.h61 unsigned pasid; member
Dgmc_v10_0.c366 uint16_t pasid, uint32_t flush_type, in gmc_v10_0_flush_gpu_tlb_pasid()
471 unsigned pasid) in gmc_v10_0_emit_pasid_mapping()
Damdgpu_job.h56 unsigned pasid; member
Damdgpu_gmc.h246 #define amdgpu_gmc_flush_gpu_tlb_pasid(adev, pasid, type, allhub) \ argument
250 #define amdgpu_gmc_emit_pasid_mapping(r, vmid, pasid) (r)->adev->gmc.gmc_funcs->emit_pasid_mapping(… argument
Dgmc_v9_0.c834 uint16_t pasid, uint32_t flush_type, in gmc_v9_0_flush_gpu_tlb_pasid()
963 unsigned pasid) in gmc_v9_0_emit_pasid_mapping()
/drivers/misc/ocxl/
Dlink.c496 int ocxl_link_add_pe(void *link_handle, int pasid, u32 pidr, u32 tidr, in ocxl_link_add_pe()
576 int ocxl_link_update_pe(void *link_handle, int pasid, __u16 tid) in ocxl_link_update_pe()
612 int ocxl_link_remove_pe(void *link_handle, int pasid) in ocxl_link_remove_pe()
Dcontext.c10 int pasid; in ocxl_context_alloc() local
/drivers/gpu/drm/msm/adreno/
Dadreno_gpu.c25 u32 pasid) in zap_shader_load_mdt()
170 int adreno_zap_shader_load(struct msm_gpu *gpu, u32 pasid) in adreno_zap_shader_load()

123