Home
last modified time | relevance | path

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

12

/Linux-v4.19/include/linux/
Dintel-svm.h122 static inline int intel_svm_bind_mm(struct device *dev, int *pasid, in intel_svm_bind_mm()
128 static inline int intel_svm_unbind_mm(struct device *dev, int pasid) in intel_svm_unbind_mm()
133 static int intel_svm_is_pasid_valid(struct device *dev, int pasid) in intel_svm_is_pasid_valid()
Dintel-iommu.h293 #define QI_PC_PASID(pasid) (((u64)pasid) << 32) argument
304 #define QI_EIOTLB_PASID(pasid) (((u64)pasid) << 32) argument
320 #define QI_PGRP_PASID(pasid) (((u64)(pasid)) << 32) argument
330 #define QI_PSTRM_PASID(pasid) (((u64)(pasid)) << 4) argument
552 int pasid; member
/Linux-v4.19/drivers/iommu/
Dintel-pasid.c46 void intel_pasid_free_id(int pasid) in intel_pasid_free_id()
53 void *intel_pasid_lookup_id(int pasid) in intel_pasid_lookup_id()
207 struct pasid_entry *intel_pasid_get_entry(struct device *dev, int pasid) in intel_pasid_get_entry()
230 void intel_pasid_clear_entry(struct device *dev, int pasid) in intel_pasid_clear_entry()
Dintel-svm.c238 static void intel_flush_pasid_dev(struct intel_svm *svm, struct intel_svm_dev *sdev, int pasid) in intel_flush_pasid_dev()
285 int intel_svm_bind_mm(struct device *dev, int *pasid, int flags, struct svm_dev_ops *ops) in intel_svm_bind_mm()
435 int intel_svm_unbind_mm(struct device *dev, int pasid) in intel_svm_unbind_mm()
494 int intel_svm_is_pasid_valid(struct device *dev, int pasid) in intel_svm_is_pasid_valid()
530 u64 pasid:20; member
Damd_iommu_v2.c55 int pasid; /* PASID index */ member
85 u16 pasid; member
165 int pasid, bool alloc) in __get_pasid_state_ptr()
199 int pasid) in set_pasid_state()
226 static void clear_pasid_state(struct device_state *dev_state, int pasid) in clear_pasid_state()
244 int pasid) in get_pasid_state()
636 int amd_iommu_bind_pasid(struct pci_dev *pdev, int pasid, in amd_iommu_bind_pasid()
721 void amd_iommu_unbind_pasid(struct pci_dev *pdev, int pasid) in amd_iommu_unbind_pasid()
Damd_iommu.c556 int type, devid, pasid, flags, tag; in iommu_print_event() local
953 static void build_inv_iommu_pasid(struct iommu_cmd *cmd, u16 domid, int pasid, in build_inv_iommu_pasid()
971 static void build_inv_iotlb_pasid(struct iommu_cmd *cmd, u16 devid, int pasid, in build_inv_iotlb_pasid()
991 static void build_complete_ppr(struct iommu_cmd *cmd, u16 devid, int pasid, in build_complete_ppr()
3296 static int __flush_pasid(struct protection_domain *domain, int pasid, in __flush_pasid()
3357 static int __amd_iommu_flush_page(struct protection_domain *domain, int pasid, in __amd_iommu_flush_page()
3363 int amd_iommu_flush_page(struct iommu_domain *dom, int pasid, in amd_iommu_flush_page()
3378 static int __amd_iommu_flush_tlb(struct protection_domain *domain, int pasid) in __amd_iommu_flush_tlb()
3384 int amd_iommu_flush_tlb(struct iommu_domain *dom, int pasid) in amd_iommu_flush_tlb()
3398 static u64 *__get_gcr3_pte(u64 *root, int level, int pasid, bool alloc) in __get_gcr3_pte()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/
Dcik_event_interrupt.c35 unsigned int vmid, pasid; in cik_event_interrupt_isr() local
90 unsigned int pasid = (ihre->ring_id & 0xffff0000) >> 16; in cik_event_interrupt_wq() local
Dkfd_int_process_v9.c33 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_isr_v9() local
70 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_wq_v9() local
Dkfd_iommu.c153 static void iommu_pasid_shutdown_callback(struct pci_dev *pdev, int pasid) in iommu_pasid_shutdown_callback()
199 static int iommu_invalid_ppr_cb(struct pci_dev *pdev, int pasid, in iommu_invalid_ppr_cb()
Dkfd_pasid.c79 void kfd_pasid_free(unsigned int pasid) in kfd_pasid_free()
Dkfd_events.c464 void kfd_signal_event_interrupt(unsigned int pasid, uint32_t partial_id, in kfd_signal_event_interrupt()
876 void kfd_signal_iommu_event(struct kfd_dev *dev, unsigned int pasid, in kfd_signal_iommu_event()
953 void kfd_signal_hw_exception_event(unsigned int pasid) in kfd_signal_hw_exception_event()
974 void kfd_signal_vm_fault_event(struct kfd_dev *dev, unsigned int pasid, in kfd_signal_vm_fault_event()
Dkfd_pm4_headers.h58 uint32_t pasid:16; member
107 uint32_t pasid:16; member
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ids.c46 unsigned int pasid; member
62 int pasid = -EINVAL; in amdgpu_pasid_alloc() local
82 void amdgpu_pasid_free(unsigned int pasid) in amdgpu_pasid_free()
108 unsigned int pasid) in amdgpu_pasid_free_delayed()
Damdgpu_kms.c862 int r, pasid; in amdgpu_driver_open_kms() local
936 unsigned int pasid; in amdgpu_driver_postclose_kms() local
Damdgpu_ids.h61 unsigned pasid; member
Damdgpu_job.h51 unsigned pasid; member
Damdgpu_amdkfd_gfx_v9.c289 static int kgd_set_pasid_vmid_mapping(struct kgd_dev *kgd, unsigned int pasid, in kgd_set_pasid_vmid_mapping()
841 static int invalidate_tlbs_with_kiq(struct amdgpu_device *adev, uint16_t pasid) in invalidate_tlbs_with_kiq()
868 static int invalidate_tlbs(struct kgd_dev *kgd, uint16_t pasid) in invalidate_tlbs()
Damdgpu_vm.h163 #define AMDGPU_VM_FAULT(pasid, addr) (((u64)(pasid) << 48) | (addr)) argument
202 unsigned int pasid; member
Damdgpu_ih.h73 unsigned pasid; member
Dvega10_ih.c233 u16 pasid; in vega10_ih_prescreen_iv() local
Damdgpu_amdkfd_gfx_v8.c246 static int kgd_set_pasid_vmid_mapping(struct kgd_dev *kgd, unsigned int pasid, in kgd_set_pasid_vmid_mapping()
847 static int invalidate_tlbs(struct kgd_dev *kgd, uint16_t pasid) in invalidate_tlbs()
Dgmc_v7_0.c456 unsigned pasid) in gmc_v7_0_emit_pasid_mapping()
759 u32 addr, u32 mc_client, unsigned pasid) in gmc_v7_0_vm_decode_fault()
/Linux-v4.19/drivers/misc/ocxl/
Dlink.c481 int ocxl_link_add_pe(void *link_handle, int pasid, u32 pidr, u32 tidr, in ocxl_link_add_pe()
554 int ocxl_link_update_pe(void *link_handle, int pasid, __u16 tid) in ocxl_link_update_pe()
590 int ocxl_link_remove_pe(void *link_handle, int pasid) in ocxl_link_remove_pe()
Dcontext.c15 int pasid; in ocxl_context_init() local
/Linux-v4.19/include/uapi/misc/
Docxl.h41 __u32 pasid; // PASID assigned to the current context member

12