/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 phys_addr_t fsptptr, u32 pasid, u16 did, in intel_pasid_setup_first_level() 417 u32 pasid, u16 did, u16 old_did, in intel_pasid_replace_first_level() 484 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 ioasid_t pasid, enum cache_tag_type type) in cache_tag_assign() 94 struct device *dev, ioasid_t pasid, in cache_tag_unassign() 136 struct device *dev, ioasid_t pasid) in __cache_tag_assign_domain() 157 struct device *dev, ioasid_t pasid) in __cache_tag_unassign_domain() 168 struct device *dev, ioasid_t pasid) in __cache_tag_assign_parent_domain() 189 struct device *dev, ioasid_t pasid) in __cache_tag_unassign_parent_domain() 223 struct device *dev, ioasid_t pasid) in cache_tag_assign_domain() 247 struct device *dev, ioasid_t pasid) in cache_tag_unassign_domain() 333 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()
|
/linux/drivers/pci/ |
H A D | ats.c | 398 int pasid = pdev->pasid_cap; in pci_enable_pasid() local 447 int pasid = pdev->pasid_cap; in pci_disable_pasid() local 472 int pasid = pdev->pasid_cap; in pci_restore_pasid_state() local 500 int pasid; in pci_pasid_features() local 527 int pasid; in pci_max_pasids() local 556 int pasid; in pci_pasid_status() local
|
/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()
|
/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_int_process_v9.c | 145 uint16_t pasid, uint16_t client_id) in event_interrupt_poison_consumption_v9() 264 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_isr_v9() local 360 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_wq_v9() local
|
H A D | kfd_int_process_v11.c | 217 uint16_t pasid, uint16_t source_id) in event_interrupt_poison_consumption_v11() 263 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_isr_v11() local 310 uint16_t source_id, client_id, ring_id, pasid, vmid; in event_interrupt_wq_v11() local
|
H A D | kfd_int_process_v10.c | 137 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_isr_v10() local 197 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_wq_v10() local
|
/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 | 46 u32 pasid; member 62 int pasid = -EINVAL; in amdgpu_pasid_alloc() local 81 void amdgpu_pasid_free(u32 pasid) in amdgpu_pasid_free() 107 u32 pasid) in amdgpu_pasid_free_delayed()
|
H A D | amdgpu_gmc.c | 399 static inline uint64_t amdgpu_gmc_fault_key(uint64_t addr, uint16_t pasid) in amdgpu_gmc_fault_key() 419 uint16_t pasid, uint64_t timestamp) in amdgpu_gmc_filter_faults() 488 uint16_t pasid) in amdgpu_gmc_filter_faults_remove() 714 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_v7_0.c | 435 uint16_t pasid, uint32_t flush_type, in gmc_v7_0_flush_gpu_tlb_pasid() 495 unsigned int pasid) in gmc_v7_0_emit_pasid_mapping() 768 u32 addr, u32 mc_client, unsigned int pasid) in gmc_v7_0_vm_decode_fault()
|
H A D | gmc_v8_0.c | 626 uint16_t pasid, uint32_t flush_type, in gmc_v8_0_flush_gpu_tlb_pasid() 686 unsigned int pasid) in gmc_v8_0_emit_pasid_mapping() 1000 u32 addr, u32 mc_client, unsigned int pasid) in gmc_v8_0_vm_decode_fault()
|
/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/tools/testing/selftests/iommu/ |
H A D | iommufd_utils.h | 871 static int _test_cmd_trigger_iopf(int fd, __u32 device_id, __u32 pasid, in _test_cmd_trigger_iopf() 911 #define test_cmd_trigger_iopf_pasid(device_id, pasid, fault_fd) \ argument 1120 static int _test_cmd_pasid_attach(int fd, __u32 stdev_id, __u32 pasid, in _test_cmd_pasid_attach() 1137 #define test_cmd_pasid_attach(pasid, hwpt_id) \ argument 1141 #define test_err_pasid_attach(_errno, pasid, hwpt_id) \ argument 1146 static int _test_cmd_pasid_replace(int fd, __u32 stdev_id, __u32 pasid, in _test_cmd_pasid_replace() 1163 #define test_cmd_pasid_replace(pasid, hwpt_id) \ argument 1167 #define test_err_pasid_replace(_errno, pasid, hwpt_id) \ argument 1172 static int _test_cmd_pasid_detach(int fd, __u32 stdev_id, __u32 pasid) in _test_cmd_pasid_detach() 1187 #define test_cmd_pasid_detach(pasid) \ argument [all …]
|
/linux/drivers/iommu/iommufd/ |
H A D | iommufd_test.h | 148 __u32 pasid; member 161 __u32 pasid; member 166 __u32 pasid; member 171 __u32 pasid; member 175 __u32 pasid; member
|
/linux/drivers/crypto/hisilicon/ |
H A D | qm_common.h | 34 __le16 pasid; member 49 __le16 pasid; member
|
/linux/arch/csky/include/asm/ |
H A D | asid.h | 43 atomic64_t *pasid, unsigned int cpu, in asid_check_context()
|
/linux/drivers/iommu/ |
H A D | iommu.c | 3352 static void iommu_remove_dev_pasid(struct device *dev, ioasid_t pasid, in iommu_remove_dev_pasid() 3363 struct iommu_group *group, ioasid_t pasid, in __iommu_set_group_pasid() 3402 ioasid_t pasid, in __iommu_remove_group_pasid() 3426 struct device *dev, ioasid_t pasid, in iommu_attach_device_pasid() 3513 struct device *dev, ioasid_t pasid, in iommu_replace_device_pasid() 3596 ioasid_t pasid) in iommu_detach_device_pasid() 3626 void iommu_free_global_pasid(ioasid_t pasid) in iommu_free_global_pasid() 3650 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()
|