| /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 | 911 u32 pasid; in iommu_print_event() local 1309 ioasid_t pasid, bool gn) in build_inv_iommu_pages() 1329 ioasid_t pasid, bool gn) in build_inv_iotlb_pages() 1349 static void build_complete_ppr(struct iommu_cmd *cmd, u16 devid, u32 pasid, in build_complete_ppr() 1622 size_t size, ioasid_t pasid, bool gn) in device_flush_iotlb() 1745 ioasid_t pasid = IOMMU_NO_PASID; in __domain_flush_pages() local 1828 ioasid_t pasid, u64 address, size_t size) in amd_iommu_dev_flush_pasid_pages() 1844 ioasid_t pasid) in dev_flush_pasid_all() 1850 int amd_iommu_complete_ppr(struct device *dev, u32 pasid, int status, int tag) in amd_iommu_complete_ppr() 1989 ioasid_t pasid, bool alloc) in __get_gcr3_pte() [all …]
|
| /linux/drivers/vfio/ |
| H A D | iommufd.c | 133 int pasid; in vfio_iommufd_physical_unbind() local 186 u32 pasid, u32 *pt_id) in vfio_iommufd_physical_pasid_attach_ioas() 212 u32 pasid) in vfio_iommufd_physical_pasid_detach_ioas()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_ids.c | 49 u32 pasid; member 65 u32 pasid; in amdgpu_pasid_alloc() local 87 void amdgpu_pasid_free(u32 pasid) in amdgpu_pasid_free() 118 u32 pasid) in amdgpu_pasid_free_delayed()
|
| H A D | amdgpu_gmc.c | 403 static inline uint64_t amdgpu_gmc_fault_key(uint64_t addr, uint16_t pasid) in amdgpu_gmc_fault_key() 423 uint16_t pasid, uint64_t timestamp) in amdgpu_gmc_filter_faults() 492 uint16_t pasid) in amdgpu_gmc_filter_faults_remove() 774 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 | amdgpu_vm.c | 2488 amdgpu_vm_get_vm_from_pasid(struct amdgpu_device *adev, u32 pasid) in amdgpu_vm_get_vm_from_pasid() 2544 amdgpu_vm_get_task_info_pasid(struct amdgpu_device *adev, u32 pasid) in amdgpu_vm_get_task_info_pasid() 2594 int32_t xcp_id, uint32_t pasid) in amdgpu_vm_init() 2960 struct amdgpu_bo **root, u32 pasid) in amdgpu_vm_lock_by_pasid() 3010 bool amdgpu_vm_handle_fault(struct amdgpu_device *adev, u32 pasid, in amdgpu_vm_handle_fault() 3197 unsigned int pasid, in amdgpu_vm_update_fault_cache()
|
| H A D | amdgpu_ids.h | 61 unsigned pasid; member
|
| H A D | amdgpu_kms.c | 1440 int r, pasid; in amdgpu_driver_open_kms() local 1553 u32 pasid; in amdgpu_driver_postclose_kms() local
|
| /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 197 void idxd_user_counter_increment(struct idxd_wq *wq, u32 pasid, int index) in idxd_user_counter_increment() 222 unsigned int pasid; in idxd_cdev_open() local 324 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 | 320 static void __idxd_wq_set_pasid_locked(struct idxd_wq *wq, int pasid) in __idxd_wq_set_pasid_locked() 336 int idxd_wq_set_pasid(struct idxd_wq *wq, int pasid) in idxd_wq_set_pasid() 601 void idxd_device_drain_pasid(struct idxd_device *idxd, int pasid) in idxd_device_drain_pasid() 1475 u32 pasid = wq_dedicated(wq) ? idxd->pasid : 0; in idxd_drv_enable_wq() local
|
| /linux/drivers/iommu/intel/ |
| H A D | nested.c | 136 struct device *dev, ioasid_t pasid, in domain_setup_nested() 146 struct device *dev, ioasid_t pasid, in intel_nested_set_dev_pasid()
|
| H A D | dmar.c | 1554 void qi_flush_piotlb_all(struct intel_iommu *iommu, u16 did, u32 pasid) in qi_flush_piotlb_all() 1564 u32 pasid, u16 qdep, u64 addr, unsigned int size_order) in qi_flush_dev_iotlb_pasid() 1584 u64 granu, u32 pasid) in qi_flush_pasid_cache() 1888 u8 fault_reason, u32 pasid, u16 source_id, in dmar_fault_do_one() 1951 u32 pasid; in dmar_fault() local
|
| H A D | svm.c | 149 struct device *dev, ioasid_t pasid, in intel_svm_set_dev_pasid()
|
| /linux/tools/testing/selftests/iommu/ |
| H A D | iommufd_utils.h | 927 static int _test_cmd_trigger_iopf(int fd, __u32 device_id, __u32 pasid, in _test_cmd_trigger_iopf() 967 #define test_cmd_trigger_iopf_pasid(device_id, pasid, fault_fd) \ argument 1174 static int _test_cmd_pasid_attach(int fd, __u32 stdev_id, __u32 pasid, in _test_cmd_pasid_attach() 1191 #define test_cmd_pasid_attach(pasid, hwpt_id) \ argument 1195 #define test_err_pasid_attach(_errno, pasid, hwpt_id) \ argument 1200 static int _test_cmd_pasid_replace(int fd, __u32 stdev_id, __u32 pasid, in _test_cmd_pasid_replace() 1217 #define test_cmd_pasid_replace(pasid, hwpt_id) \ argument 1221 #define test_err_pasid_replace(_errno, pasid, hwpt_id) \ argument 1226 static int _test_cmd_pasid_detach(int fd, __u32 stdev_id, __u32 pasid) in _test_cmd_pasid_detach() 1241 #define test_cmd_pasid_detach(pasid) \ argument [all …]
|
| /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 | 3517 static void iommu_remove_dev_pasid(struct device *dev, ioasid_t pasid, in iommu_remove_dev_pasid() 3528 struct iommu_group *group, ioasid_t pasid, in __iommu_set_group_pasid() 3567 ioasid_t pasid, in __iommu_remove_group_pasid() 3591 struct device *dev, ioasid_t pasid, in iommu_attach_device_pasid() 3688 struct device *dev, ioasid_t pasid, in iommu_replace_device_pasid() 3781 ioasid_t pasid) in iommu_detach_device_pasid() 3811 void iommu_free_global_pasid(ioasid_t pasid) in iommu_free_global_pasid() 3835 iommu_attach_handle_get(struct iommu_group *group, ioasid_t pasid, unsigned int type) in iommu_attach_handle_get() 4003 unsigned long pasid; in pci_dev_reset_iommu_prepare() local 4060 unsigned long pasid; in pci_dev_reset_iommu_done() local
|
| H A D | iommu-sva.c | 23 ioasid_t pasid; in iommu_alloc_mm_data() local
|
| /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
|
| H A D | context.c | 10 int pasid; in ocxl_context_alloc() local
|
| /linux/arch/csky/include/asm/ |
| H A D | asid.h | 43 atomic64_t *pasid, unsigned int cpu, in asid_check_context()
|
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_pm4_headers.h | 59 uint32_t pasid:16; member 108 uint32_t pasid:16; member
|
| /linux/drivers/uio/ |
| H A D | uio_pci_generic_sva.c | 18 int pasid; member
|