/linux/drivers/iommu/intel/ |
H A D | pasid.c | 129 static struct pasid_entry *intel_pasid_get_entry(struct device *dev, u32 pasid) in intel_pasid_get_entry() 181 intel_pasid_clear_entry(struct device *dev, u32 pasid, bool fault_ignore) in intel_pasid_clear_entry() 197 u16 did, u32 pasid) in pasid_cache_invalidation_with_pasid() 212 struct device *dev, u32 pasid) in devtlb_invalidation_with_pasid() 241 u32 pasid, bool fault_ignore) in intel_pasid_tear_down_entry() 299 u32 pasid, u16 did) in pasid_flush_caches() 322 u32 pasid, u16 did, in intel_pasid_flush_present() 377 u32 pasid, u16 did, int flags) in intel_pasid_setup_first_level() 416 u32 pasid, u16 did, u16 old_did, in intel_pasid_replace_first_level() 483 struct device *dev, u32 pasid) in intel_pasid_setup_second_level() [all …]
|
H A D | cache.c | 25 ioasid_t pasid, enum cache_tag_type type) in cache_tage_match() 44 struct device *dev, ioasid_t pasid, in cache_tag_assign() 95 struct device *dev, ioasid_t pasid, in cache_tag_unassign() 137 struct device *dev, ioasid_t pasid) in __cache_tag_assign_domain() 158 struct device *dev, ioasid_t pasid) in __cache_tag_unassign_domain() 169 struct device *dev, ioasid_t pasid) in __cache_tag_assign_parent_domain() 190 struct device *dev, ioasid_t pasid) in __cache_tag_unassign_parent_domain() 224 struct device *dev, ioasid_t pasid) in cache_tag_assign_domain() 248 struct device *dev, ioasid_t pasid) in cache_tag_unassign_domain() 334 static void qi_batch_add_piotlb(struct intel_iommu *iommu, u16 did, u32 pasid, in qi_batch_add_piotlb() [all …]
|
H A D | nested.c | 141 struct device *dev, ioasid_t pasid, in domain_setup_nested() 152 struct device *dev, ioasid_t pasid, in intel_nested_set_dev_pasid()
|
H A D | prq.c | 24 u64 pasid:20; member 60 void intel_iommu_drain_pasid_prq(struct device *dev, u32 pasid) in intel_iommu_drain_pasid_prq()
|
H A D | dmar.c | 1558 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() 1599 u64 granu, u32 pasid) in qi_flush_pasid_cache() 1903 u8 fault_reason, u32 pasid, u16 source_id, in dmar_fault_do_one() 1966 u32 pasid; in dmar_fault() local
|
H A D | iommu.c | 616 unsigned long long addr, u32 pasid) in dmar_fault_dump_ptes() 1740 struct device *dev, ioasid_t pasid, in __domain_setup_first_level() 1754 struct device *dev, ioasid_t pasid, in domain_setup_second_level() 1766 struct device *dev, ioasid_t pasid, in domain_setup_passthrough() 1779 u32 pasid, struct iommu_domain *old) in domain_setup_first_level() 3954 struct device *dev, ioasid_t pasid) in domain_remove_dev_pasid() 3989 struct device *dev, ioasid_t pasid, in blocking_domain_set_dev_pasid() 4003 struct device *dev, ioasid_t pasid) in domain_add_dev_pasid() 4039 struct device *dev, ioasid_t pasid, in intel_iommu_set_dev_pasid() 4320 struct device *dev, ioasid_t pasid, in identity_domain_set_dev_pasid() [all …]
|
H A D | svm.c | 149 struct device *dev, ioasid_t pasid, in intel_svm_set_dev_pasid()
|
/linux/drivers/iommu/iommufd/ |
H A D | device.c | 302 ioasid_t pasid) in iommufd_group_device_num() 355 iommufd_group_first_attach(struct iommufd_group *igroup, ioasid_t pasid) in iommufd_group_first_attach() 390 ioasid_t pasid) in iommufd_device_is_attached() 400 ioasid_t pasid) in iommufd_hwpt_pasid_compat() 448 ioasid_t pasid) in iommufd_hwpt_attach_device() 482 iommufd_device_get_attach_handle(struct iommufd_device *idev, ioasid_t pasid) in iommufd_device_get_attach_handle() 497 ioasid_t pasid) in iommufd_hwpt_detach_device() 512 ioasid_t pasid, in iommufd_hwpt_replace_device() 553 struct iommufd_device *idev, ioasid_t pasid) in iommufd_hw_pagetable_attach() 637 iommufd_hw_pagetable_detach(struct iommufd_device *idev, ioasid_t pasid) in iommufd_hw_pagetable_detach() [all …]
|
/linux/drivers/iommu/amd/ |
H A D | pasid.c | 24 ioasid_t pasid) in is_pasid_valid() 43 struct device *dev, ioasid_t pasid) in remove_pdom_dev_pasid() 103 struct device *dev, ioasid_t pasid, in iommu_sva_set_dev_pasid() 148 void amd_iommu_remove_dev_pasid(struct device *dev, ioasid_t pasid, in amd_iommu_remove_dev_pasid()
|
H A D | iommu.c | 893 u32 pasid; in iommu_print_event() local 1265 ioasid_t pasid, bool gn) in build_inv_iommu_pages() 1285 ioasid_t pasid, bool gn) in build_inv_iotlb_pages() 1305 static void build_complete_ppr(struct iommu_cmd *cmd, u16 devid, u32 pasid, in build_complete_ppr() 1547 size_t size, ioasid_t pasid, bool gn) in device_flush_iotlb() 1659 ioasid_t pasid = IOMMU_NO_PASID; in __domain_flush_pages() local 1742 ioasid_t pasid, u64 address, size_t size) in amd_iommu_dev_flush_pasid_pages() 1758 ioasid_t pasid) in dev_flush_pasid_all() 1800 int amd_iommu_complete_ppr(struct device *dev, u32 pasid, int status, int tag) in amd_iommu_complete_ppr() 1930 ioasid_t pasid, bool alloc) in __get_gcr3_pte() [all …]
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | cik_event_interrupt.c | 38 uint16_t pasid; in cik_event_interrupt_isr() local 94 u32 pasid = (ihre->ring_id & 0xffff0000) >> 16; in cik_event_interrupt_wq() local
|
H A D | kfd_pm4_headers.h | 59 uint32_t pasid:16; member 108 uint32_t pasid:16; member
|
H A D | kfd_events.c | 720 void kfd_signal_event_interrupt(u32 pasid, uint32_t partial_id, in kfd_signal_event_interrupt() 1164 void kfd_signal_hw_exception_event(u32 pasid) in kfd_signal_hw_exception_event() 1336 void kfd_signal_poison_consumed_event(struct kfd_node *dev, u32 pasid) in kfd_signal_poison_consumed_event()
|
/linux/arch/csky/mm/ |
H A 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/drivers/dma/idxd/ |
H A D | cdev.c | 44 unsigned int pasid; member 201 void idxd_user_counter_increment(struct idxd_wq *wq, u32 pasid, int index) in idxd_user_counter_increment() 226 unsigned int pasid; in idxd_cdev_open() local 328 static void idxd_cdev_evl_drain_pasid(struct idxd_wq *wq, u32 pasid) in idxd_cdev_evl_drain_pasid() 731 int idxd_copy_cr(struct idxd_wq *wq, ioasid_t pasid, unsigned long addr, in idxd_copy_cr()
|
H A D | device.c | 304 static void __idxd_wq_set_pasid_locked(struct idxd_wq *wq, int pasid) in __idxd_wq_set_pasid_locked() 320 int idxd_wq_set_pasid(struct idxd_wq *wq, int pasid) in idxd_wq_set_pasid() 585 void idxd_device_drain_pasid(struct idxd_device *idxd, int pasid) in idxd_device_drain_pasid() 1430 u32 pasid = wq_dedicated(wq) ? idxd->pasid : 0; in idxd_drv_enable_wq() local
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_gmc.c | 383 static inline uint64_t amdgpu_gmc_fault_key(uint64_t addr, uint16_t pasid) in amdgpu_gmc_fault_key() 403 uint16_t pasid, uint64_t timestamp) in amdgpu_gmc_filter_faults() 472 uint16_t pasid) in amdgpu_gmc_filter_faults_remove() 698 int amdgpu_gmc_flush_gpu_tlb_pasid(struct amdgpu_device *adev, uint16_t pasid, in amdgpu_gmc_flush_gpu_tlb_pasid()
|
H A D | amdgpu_vm_tlb_fence.c | 37 uint16_t pasid; member
|
H A D | gmc_v10_0.c | 351 uint16_t pasid, uint32_t flush_type, in gmc_v10_0_flush_gpu_tlb_pasid() 426 unsigned int pasid) in gmc_v10_0_emit_pasid_mapping()
|
H A D | gmc_v11_0.c | 316 uint16_t pasid, uint32_t flush_type, in gmc_v11_0_flush_gpu_tlb_pasid() 391 unsigned int pasid) in gmc_v11_0_emit_pasid_mapping()
|
/linux/drivers/crypto/hisilicon/ |
H A D | qm_common.h | 34 __le16 pasid; member 49 __le16 pasid; member
|
/linux/drivers/iommu/ |
H A D | iommu.c | 3359 static void iommu_remove_dev_pasid(struct device *dev, ioasid_t pasid, in iommu_remove_dev_pasid() 3370 struct iommu_group *group, ioasid_t pasid, in __iommu_set_group_pasid() 3409 ioasid_t pasid, in __iommu_remove_group_pasid() 3433 struct device *dev, ioasid_t pasid, in iommu_attach_device_pasid() 3520 struct device *dev, ioasid_t pasid, in iommu_replace_device_pasid() 3603 ioasid_t pasid) in iommu_detach_device_pasid() 3633 void iommu_free_global_pasid(ioasid_t pasid) in iommu_free_global_pasid() 3657 iommu_attach_handle_get(struct iommu_group *group, ioasid_t pasid, unsigned int type) in iommu_attach_handle_get()
|
/linux/drivers/misc/ocxl/ |
H A 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()
|
H A D | ocxl_internal.h | 72 int pasid; member 87 __be32 pasid; member
|
/linux/arch/csky/include/asm/ |
H A D | asid.h | 43 atomic64_t *pasid, unsigned int cpu, in asid_check_context()
|