Home
last modified time | relevance | path

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

123

/linux/drivers/iommu/intel/
H A Dpasid.c129 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 Dcache.c25 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 Dnested.c141 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 Ddmar.c1555 void qi_flush_piotlb(struct intel_iommu *iommu, u16 did, u32 pasid, u64 addr, in qi_flush_piotlb()
1576 u32 pasid, u16 qdep, u64 addr, unsigned int size_order) in qi_flush_dev_iotlb_pasid()
1596 u64 granu, u32 pasid) in qi_flush_pasid_cache()
1900 u8 fault_reason, u32 pasid, u16 source_id, in dmar_fault_do_one()
1963 u32 pasid; in dmar_fault() local
H A Dsvm.c149 struct device *dev, ioasid_t pasid, in intel_svm_set_dev_pasid()
/linux/drivers/iommu/iommufd/
H A Ddevice.c353 ioasid_t pasid) in iommufd_group_device_num()
406 iommufd_group_first_attach(struct iommufd_group *igroup, ioasid_t pasid) in iommufd_group_first_attach()
441 ioasid_t pasid) in iommufd_device_is_attached()
451 ioasid_t pasid) in iommufd_hwpt_pasid_compat()
499 ioasid_t pasid) in iommufd_hwpt_attach_device()
533 iommufd_device_get_attach_handle(struct iommufd_device *idev, ioasid_t pasid) in iommufd_device_get_attach_handle()
547 ioasid_t pasid) in iommufd_hwpt_detach_device()
562 ioasid_t pasid, in iommufd_hwpt_replace_device()
603 struct iommufd_device *idev, ioasid_t pasid) in iommufd_hw_pagetable_attach()
687 iommufd_hw_pagetable_detach(struct iommufd_device *idev, ioasid_t pasid) in iommufd_hw_pagetable_detach()
[all …]
/linux/drivers/iommu/amd/
H A Dpasid.c24 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 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
H A Dkfd_pm4_headers.h59 uint32_t pasid:16; member
108 uint32_t pasid:16; member
H A Dkfd_events.c720 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/drivers/vfio/
H A Diommufd.c133 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/arch/csky/mm/
H A Dasid.c79 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 Dcdev.c44 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 Ddevice.c304 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 Diommufd_utils.h871 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
1118 static int _test_cmd_pasid_attach(int fd, __u32 stdev_id, __u32 pasid, in _test_cmd_pasid_attach()
1135 #define test_cmd_pasid_attach(pasid, hwpt_id) \ argument
1139 #define test_err_pasid_attach(_errno, pasid, hwpt_id) \ argument
1144 static int _test_cmd_pasid_replace(int fd, __u32 stdev_id, __u32 pasid, in _test_cmd_pasid_replace()
1161 #define test_cmd_pasid_replace(pasid, hwpt_id) \ argument
1165 #define test_err_pasid_replace(_errno, pasid, hwpt_id) \ argument
1170 static int _test_cmd_pasid_detach(int fd, __u32 stdev_id, __u32 pasid) in _test_cmd_pasid_detach()
1185 #define test_cmd_pasid_detach(pasid) \ argument
[all …]
/linux/drivers/crypto/hisilicon/
H A Dqm_common.h34 __le16 pasid; member
49 __le16 pasid; member
/linux/drivers/misc/ocxl/
H A Dlink.c538 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 Docxl_internal.h72 int pasid; member
87 __be32 pasid; member
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgmc_v7_0.c435 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()
770 u32 addr, u32 mc_client, unsigned int pasid) in gmc_v7_0_vm_decode_fault()
H A Dgmc_v8_0.c626 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()
1004 u32 addr, u32 mc_client, unsigned int pasid) in gmc_v8_0_vm_decode_fault()
H A Damdgpu_vm.c2451 amdgpu_vm_get_vm_from_pasid(struct amdgpu_device *adev, u32 pasid) in amdgpu_vm_get_vm_from_pasid()
2507 amdgpu_vm_get_task_info_pasid(struct amdgpu_device *adev, u32 pasid) in amdgpu_vm_get_task_info_pasid()
2560 int32_t xcp_id, uint32_t pasid) in amdgpu_vm_init()
2937 bool amdgpu_vm_handle_fault(struct amdgpu_device *adev, u32 pasid, in amdgpu_vm_handle_fault()
3135 unsigned int pasid, in amdgpu_vm_update_fault_cache()
H A Damdgpu_kms.c1390 int r, pasid; in amdgpu_driver_open_kms() local
1496 u32 pasid; in amdgpu_driver_postclose_kms() local
H A Dgmc_v12_0.c333 uint16_t pasid, uint32_t flush_type, in gmc_v12_0_flush_gpu_tlb_pasid()
424 unsigned pasid) in gmc_v12_0_emit_pasid_mapping()
/linux/arch/csky/include/asm/
H A Dasid.h43 atomic64_t *pasid, unsigned int cpu, in asid_check_context()
/linux/drivers/iommu/
H A Diommu-sva.c20 ioasid_t pasid; in iommu_alloc_mm_data() local

123