/linux-6.1.9/drivers/iommu/intel/ |
D | pasid.c | 29 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() 181 static struct pasid_entry *intel_pasid_get_entry(struct device *dev, u32 pasid) in intel_pasid_get_entry() 249 intel_pasid_clear_entry(struct device *dev, u32 pasid, bool fault_ignore) in intel_pasid_clear_entry() 397 u16 did, u32 pasid) in pasid_cache_invalidation_with_pasid() 412 struct device *dev, u32 pasid) in devtlb_invalidation_with_pasid() 438 u32 pasid, bool fault_ignore) in intel_pasid_tear_down_entry() 476 u32 pasid, u16 did) in pasid_flush_caches() 495 u32 pasid, u16 did, int flags) in intel_pasid_setup_first_level() 593 struct device *dev, u32 pasid) in intel_pasid_setup_second_level() [all …]
|
D | svm.c | 35 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() 266 static int pasid_to_svm_sdev(struct device *dev, unsigned int pasid, in pasid_to_svm_sdev() 406 static int intel_svm_unbind_mm(struct device *dev, u32 pasid) in intel_svm_unbind_mm() 465 u64 pasid:20; member 508 static void intel_svm_drain_prq(struct device *dev, u32 pasid) in intel_svm_drain_prq() 841 u32 pasid; in intel_svm_get_pasid() local
|
/linux-6.1.9/drivers/pci/ |
D | ats.c | 364 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-6.1.9/drivers/iommu/ |
D | iommu-sva-lib.c | 28 ioasid_t pasid; in iommu_sva_alloc_pasid() local 67 struct mm_struct *iommu_sva_find(ioasid_t pasid) in iommu_sva_find()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_mes.c | 266 int amdgpu_mes_create_process(struct amdgpu_device *adev, int pasid, in amdgpu_mes_create_process() 345 void amdgpu_mes_destroy_process(struct amdgpu_device *adev, int pasid) in amdgpu_mes_destroy_process() 412 int amdgpu_mes_add_gang(struct amdgpu_device *adev, int pasid, in amdgpu_mes_add_gang() 526 int r, pasid; in amdgpu_mes_suspend() local 555 int r, pasid; in amdgpu_mes_resume() local 988 int r, queue_id, pasid; in amdgpu_mes_add_ring() local 1253 int pasid, int *gang_id, in amdgpu_mes_test_create_gang_and_queues() 1335 int i, r, pasid, k = 0; in amdgpu_mes_self_test() local
|
D | amdgpu_ids.c | 46 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()
|
D | amdgpu_gmc.c | 347 static inline uint64_t amdgpu_gmc_fault_key(uint64_t addr, uint16_t pasid) in amdgpu_gmc_fault_key() 367 uint16_t pasid, uint64_t timestamp) in amdgpu_gmc_filter_faults() 423 uint16_t pasid) in amdgpu_gmc_filter_faults_remove()
|
D | gmc_v7_0.c | 435 uint16_t pasid, uint32_t flush_type, in gmc_v7_0_flush_gpu_tlb_pasid() 500 unsigned pasid) in gmc_v7_0_emit_pasid_mapping() 772 u32 addr, u32 mc_client, unsigned pasid) in gmc_v7_0_vm_decode_fault()
|
D | gmc_v8_0.c | 633 uint16_t pasid, uint32_t flush_type, in gmc_v8_0_flush_gpu_tlb_pasid() 699 unsigned pasid) in gmc_v8_0_emit_pasid_mapping() 1012 u32 addr, u32 mc_client, unsigned pasid) in gmc_v8_0_vm_decode_fault()
|
/linux-6.1.9/drivers/iommu/amd/ |
D | iommu_v2.c | 44 u32 pasid; /* PASID index */ member 73 u32 pasid; member 152 u32 pasid, bool alloc) in __get_pasid_state_ptr() 186 u32 pasid) in set_pasid_state() 213 static void clear_pasid_state(struct device_state *dev_state, u32 pasid) in clear_pasid_state() 231 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()
|
D | iommu.c | 591 u32 pasid; in iommu_print_event() local 1019 static void build_inv_iommu_pasid(struct iommu_cmd *cmd, u16 domid, u32 pasid, in build_inv_iommu_pasid() 1037 static void build_inv_iotlb_pasid(struct iommu_cmd *cmd, u16 devid, u32 pasid, in build_inv_iotlb_pasid() 1057 static void build_complete_ppr(struct iommu_cmd *cmd, u16 devid, u32 pasid, in build_complete_ppr() 2525 static int __flush_pasid(struct protection_domain *domain, u32 pasid, in __flush_pasid() 2587 static int __amd_iommu_flush_page(struct protection_domain *domain, u32 pasid, in __amd_iommu_flush_page() 2593 int amd_iommu_flush_page(struct iommu_domain *dom, u32 pasid, in amd_iommu_flush_page() 2608 static int __amd_iommu_flush_tlb(struct protection_domain *domain, u32 pasid) in __amd_iommu_flush_tlb() 2614 int amd_iommu_flush_tlb(struct iommu_domain *dom, u32 pasid) in amd_iommu_flush_tlb() 2628 static u64 *__get_gcr3_pte(u64 *root, int level, u32 pasid, bool alloc) in __get_gcr3_pte() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | cik_event_interrupt.c | 38 uint16_t pasid; in cik_event_interrupt_isr() local 95 u32 pasid = (ihre->ring_id & 0xffff0000) >> 16; in cik_event_interrupt_wq() local
|
D | kfd_int_process_v9.c | 94 uint16_t pasid, uint16_t client_id) in event_interrupt_poison_consumption_v9() 168 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_isr_v9() local 259 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_wq_v9() local
|
D | kfd_int_process_v11.c | 191 uint16_t pasid, uint16_t source_id) in event_interrupt_poison_consumption_v11() 233 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_isr_v11() local 280 uint16_t source_id, client_id, ring_id, pasid, vmid; in event_interrupt_wq_v11() local
|
D | kfd_iommu.c | 146 static void iommu_pasid_shutdown_callback(struct pci_dev *pdev, u32 pasid) in iommu_pasid_shutdown_callback() 181 static int iommu_invalid_ppr_cb(struct pci_dev *pdev, u32 pasid, in iommu_invalid_ppr_cb()
|
D | kfd_events.c | 713 void kfd_signal_event_interrupt(u32 pasid, uint32_t partial_id, in kfd_signal_event_interrupt() 1131 void kfd_signal_iommu_event(struct kfd_dev *dev, u32 pasid, in kfd_signal_iommu_event() 1211 void kfd_signal_hw_exception_event(u32 pasid) in kfd_signal_hw_exception_event() 1227 void kfd_signal_vm_fault_event(struct kfd_dev *dev, u32 pasid, in kfd_signal_vm_fault_event() 1331 void kfd_signal_poison_consumed_event(struct kfd_dev *dev, u32 pasid) in kfd_signal_poison_consumed_event()
|
D | kfd_pasid.c | 67 void kfd_pasid_free(u32 pasid) in kfd_pasid_free()
|
/linux-6.1.9/include/uapi/linux/ |
D | iommu.h | 75 __u32 pasid; member 100 __u32 pasid; member 156 __u32 pasid; member
|
/linux-6.1.9/arch/csky/mm/ |
D | asid.c | 79 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-6.1.9/include/linux/sched/ |
D | mm.h | 461 static inline void mm_pasid_set(struct mm_struct *mm, u32 pasid) in mm_pasid_set() 475 static inline void mm_pasid_set(struct mm_struct *mm, u32 pasid) {} in mm_pasid_set()
|
/linux-6.1.9/drivers/dma/idxd/ |
D | cdev.c | 37 unsigned int pasid; member 80 unsigned int pasid; in idxd_cdev_open() local
|
D | device.c | 318 static void __idxd_wq_set_pasid_locked(struct idxd_wq *wq, int pasid) in __idxd_wq_set_pasid_locked() 334 int idxd_wq_set_pasid(struct idxd_wq *wq, int pasid) in idxd_wq_set_pasid() 597 void idxd_device_drain_pasid(struct idxd_device *idxd, int pasid) in idxd_device_drain_pasid() 1339 u32 pasid = wq_dedicated(wq) ? idxd->pasid : 0; in drv_enable_wq() local
|
/linux-6.1.9/arch/csky/include/asm/ |
D | asid.h | 43 atomic64_t *pasid, unsigned int cpu, in asid_check_context()
|
/linux-6.1.9/drivers/misc/ocxl/ |
D | link.c | 538 int ocxl_link_add_pe(void *link_handle, int pasid, u32 pidr, u32 tidr, in ocxl_link_add_pe() 631 int ocxl_link_update_pe(void *link_handle, int pasid, __u16 tid) in ocxl_link_update_pe() 667 int ocxl_link_remove_pe(void *link_handle, int pasid) in ocxl_link_remove_pe()
|
D | ocxl_internal.h | 72 int pasid; member 87 __be32 pasid; member
|