Home
last modified time | relevance | path

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

1234

/openbmc/linux/drivers/iommu/intel/
H A Dpasid.c29 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()
258 intel_pasid_clear_entry(struct device *dev, u32 pasid, bool fault_ignore) in intel_pasid_clear_entry()
407 u16 did, u32 pasid) in pasid_cache_invalidation_with_pasid()
422 struct device *dev, u32 pasid) in devtlb_invalidation_with_pasid()
451 u32 pasid, bool fault_ignore) in intel_pasid_tear_down_entry()
489 u32 pasid, u16 did) in pasid_flush_caches()
508 u32 pasid, u16 did, int flags) in intel_pasid_setup_first_level()
586 struct device *dev, u32 pasid) in intel_pasid_setup_second_level()
647 struct device *dev, u32 pasid) in intel_pasid_setup_pass_through()
[all …]
H A Dsvm.c31 static int pasid_private_add(ioasid_t pasid, void *priv) in pasid_private_add()
37 static void pasid_private_remove(ioasid_t pasid) in pasid_private_remove()
42 static void *pasid_private_find(ioasid_t pasid) in pasid_private_find()
286 static int pasid_to_svm_sdev(struct device *dev, unsigned int pasid, in pasid_to_svm_sdev()
392 void intel_svm_remove_dev_pasid(struct device *dev, u32 pasid) in intel_svm_remove_dev_pasid()
436 u64 pasid:20; member
479 void intel_drain_pasid_prq(struct device *dev, u32 pasid) in intel_drain_pasid_prq()
821 struct device *dev, ioasid_t pasid) in intel_svm_set_dev_pasid()
/openbmc/linux/drivers/pci/
H A Dats.c364 int pasid = pdev->pasid_cap; in pci_enable_pasid() local
413 int pasid = pdev->pasid_cap; in pci_disable_pasid() local
438 int pasid = pdev->pasid_cap; in pci_restore_pasid_state() local
466 int pasid; in pci_pasid_features() local
495 int pasid; in pci_max_pasids() local
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dcik_event_interrupt.c38 uint16_t pasid; in cik_event_interrupt_isr() local
95 u32 pasid = (ihre->ring_id & 0xffff0000) >> 16; in cik_event_interrupt_wq() local
H A Dkfd_int_process_v10.c133 uint16_t pasid, uint16_t client_id) in event_interrupt_poison_consumption()
188 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_isr_v10() local
248 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_wq_v10() local
H A Dkfd_int_process_v11.c192 uint16_t pasid, uint16_t source_id) in event_interrupt_poison_consumption_v11()
234 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_isr_v11() local
281 uint16_t source_id, client_id, ring_id, pasid, vmid; in event_interrupt_wq_v11() local
H A Dkfd_int_process_v9.c144 uint16_t pasid, uint16_t client_id) in event_interrupt_poison_consumption_v9()
218 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_isr_v9() local
313 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_wq_v9() local
H A Dkfd_pasid.c67 void kfd_pasid_free(u32 pasid) in kfd_pasid_free()
H A Dkfd_events.c719 void kfd_signal_event_interrupt(u32 pasid, uint32_t partial_id, in kfd_signal_event_interrupt()
1148 void kfd_signal_hw_exception_event(u32 pasid) in kfd_signal_hw_exception_event()
1164 void kfd_signal_vm_fault_event(struct kfd_node *dev, u32 pasid, in kfd_signal_vm_fault_event()
1275 void kfd_signal_poison_consumed_event(struct kfd_node *dev, u32 pasid) in kfd_signal_poison_consumed_event()
/openbmc/linux/drivers/iommu/amd/
H A Diommu_v2.c44 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()
601 int amd_iommu_bind_pasid(struct pci_dev *pdev, u32 pasid, in amd_iommu_bind_pasid()
688 void amd_iommu_unbind_pasid(struct pci_dev *pdev, u32 pasid) in amd_iommu_unbind_pasid()
H A Diommu.c600 u32 pasid; in iommu_print_event() local
1096 static void build_complete_ppr(struct iommu_cmd *cmd, u16 devid, u32 pasid, in build_complete_ppr()
2575 static int __flush_pasid(struct protection_domain *domain, u32 pasid, in __flush_pasid()
2643 int amd_iommu_flush_page(struct iommu_domain *dom, u32 pasid, in amd_iommu_flush_page()
2664 int amd_iommu_flush_tlb(struct iommu_domain *dom, u32 pasid) in amd_iommu_flush_tlb()
2678 static u64 *__get_gcr3_pte(u64 *root, int level, u32 pasid, bool alloc) in __get_gcr3_pte()
2710 static int __set_gcr3(struct protection_domain *domain, u32 pasid, in __set_gcr3()
2727 static int __clear_gcr3(struct protection_domain *domain, u32 pasid) in __clear_gcr3()
2743 int amd_iommu_domain_set_gcr3(struct iommu_domain *dom, u32 pasid, in amd_iommu_domain_set_gcr3()
2758 int amd_iommu_domain_clear_gcr3(struct iommu_domain *dom, u32 pasid) in amd_iommu_domain_clear_gcr3()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_mes.c220 int amdgpu_mes_create_process(struct amdgpu_device *adev, int pasid, in amdgpu_mes_create_process()
278 void amdgpu_mes_destroy_process(struct amdgpu_device *adev, int pasid) in amdgpu_mes_destroy_process()
343 int amdgpu_mes_add_gang(struct amdgpu_device *adev, int pasid, in amdgpu_mes_add_gang()
457 int r, pasid; in amdgpu_mes_suspend() local
486 int r, pasid; in amdgpu_mes_resume() local
1001 int r, queue_id, pasid; in amdgpu_mes_add_ring() local
1272 int pasid, int *gang_id, in amdgpu_mes_test_create_gang_and_queues()
1346 int i, r, pasid, k = 0; in amdgpu_mes_self_test() local
H A Damdgpu_ids.c46 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()
H A Damdgpu_gmc.c355 static inline uint64_t amdgpu_gmc_fault_key(uint64_t addr, uint16_t pasid) in amdgpu_gmc_fault_key()
375 uint16_t pasid, uint64_t timestamp) in amdgpu_gmc_filter_faults()
444 uint16_t pasid) in amdgpu_gmc_filter_faults_remove()
H A Dgmc_v8_0.c616 uint16_t pasid, uint32_t flush_type, in gmc_v8_0_flush_gpu_tlb_pasid()
682 unsigned int pasid) in gmc_v8_0_emit_pasid_mapping()
995 u32 addr, u32 mc_client, unsigned int pasid) in gmc_v8_0_vm_decode_fault()
/openbmc/linux/drivers/iommu/
H A Diommu-sva.c17 ioasid_t pasid; in iommu_sva_alloc_pasid() local
127 ioasid_t pasid = domain->mm->pasid; in iommu_sva_unbind_device() local
/openbmc/qemu/hw/i386/
H A Dintel_iommu.c61 uint32_t pasid; member
72 uint32_t pasid; member
382 uint32_t pasid) in vtd_update_iotlb()
581 uint32_t pasid) in vtd_report_dmar_fault()
849 uint32_t pasid, in vtd_get_pe_from_pdire()
914 uint32_t pasid) in vtd_ce_get_pasid_fpd()
1114 uint32_t pasid) in vtd_iova_to_slpte()
1407 uint32_t pasid) in vtd_page_walk()
1645 uint32_t pasid) in vtd_dev_pt_enabled()
1867 uint32_t pasid) in vtd_report_fault()
[all …]
/openbmc/linux/include/uapi/linux/
H A Diommu.h75 __u32 pasid; member
100 __u32 pasid; member
156 __u32 pasid; member
/openbmc/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()
/openbmc/linux/drivers/dma/idxd/
H A Dcdev.c45 unsigned int pasid; member
204 void idxd_user_counter_increment(struct idxd_wq *wq, u32 pasid, int index) in idxd_user_counter_increment()
229 unsigned int pasid; in idxd_cdev_open() local
333 static void idxd_cdev_evl_drain_pasid(struct idxd_wq *wq, u32 pasid) in idxd_cdev_evl_drain_pasid()
715 int idxd_copy_cr(struct idxd_wq *wq, ioasid_t pasid, unsigned long addr, in idxd_copy_cr()
H A Ddevice.c302 static void __idxd_wq_set_pasid_locked(struct idxd_wq *wq, int pasid) in __idxd_wq_set_pasid_locked()
318 int idxd_wq_set_pasid(struct idxd_wq *wq, int pasid) in idxd_wq_set_pasid()
580 void idxd_device_drain_pasid(struct idxd_device *idxd, int pasid) in idxd_device_drain_pasid()
1425 u32 pasid = wq_dedicated(wq) ? idxd->pasid : 0; in drv_enable_wq() local
/openbmc/linux/drivers/crypto/hisilicon/
H A Dqm_common.h34 __le16 pasid; member
49 __le16 pasid; member
/openbmc/linux/arch/csky/include/asm/
H A Dasid.h43 atomic64_t *pasid, unsigned int cpu, in asid_check_context()
/openbmc/linux/drivers/misc/ocxl/
H A Docxl_internal.h72 int pasid; member
87 __be32 pasid; member
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()

1234