Searched refs:qdep (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/iommu/intel/ |
H A D | svm.c | 185 svm->pasid, sdev->qdep, address, in __flush_svm_range_dev() 188 svm->pasid, sdev->qdep); in __flush_svm_range_dev() 231 svm->pasid, sdev->qdep, in intel_flush_svm_all() 234 svm->pasid, sdev->qdep); in intel_flush_svm_all() 364 sdev->qdep = info->ats_qdep; in intel_svm_bind_mm() 365 if (sdev->qdep >= QI_DEV_EIOTLB_MAX_INVS) in intel_svm_bind_mm() 366 sdev->qdep = 0; in intel_svm_bind_mm() 488 int qdep; in intel_drain_pasid_prq() local 502 qdep = pci_ats_queue_depth(pdev); in intel_drain_pasid_prq() 541 QI_DEV_EIOTLB_QDEP(qdep) | in intel_drain_pasid_prq()
|
H A D | iommu.h | 419 #define QI_DEV_IOTLB_QDEP(qdep) (((qdep) & 0x1f) << 16) argument 820 u16 qdep, u64 addr, unsigned mask); 826 u32 pasid, u16 qdep, u64 addr, 830 u32 pasid, u16 qdep); 865 u16 sid, qdep; member
|
H A D | pasid.c | 425 u16 sid, qdep, pfsid; in devtlb_invalidation_with_pasid() local 435 qdep = info->ats_qdep; in devtlb_invalidation_with_pasid() 445 qi_flush_dev_iotlb(iommu, sid, pfsid, qdep, 0, 64 - VTD_PAGE_SHIFT); in devtlb_invalidation_with_pasid() 447 qi_flush_dev_iotlb_pasid(iommu, sid, pfsid, pasid, qdep, 0, 64 - VTD_PAGE_SHIFT); in devtlb_invalidation_with_pasid()
|
H A D | dmar.c | 1527 u16 qdep, u64 addr, unsigned mask) in qi_flush_dev_iotlb() argument 1546 if (qdep >= QI_DEV_IOTLB_MAX_INVS) in qi_flush_dev_iotlb() 1547 qdep = 0; in qi_flush_dev_iotlb() 1549 desc.qw0 = QI_DEV_IOTLB_SID(sid) | QI_DEV_IOTLB_QDEP(qdep) | in qi_flush_dev_iotlb() 1600 u32 pasid, u16 qdep, u64 addr, unsigned int size_order) in qi_flush_dev_iotlb_pasid() argument 1615 QI_DEV_EIOTLB_QDEP(qdep) | QI_DEIOTLB_TYPE | in qi_flush_dev_iotlb_pasid()
|
H A D | iommu.c | 1457 u16 sid, qdep; in __iommu_flush_dev_iotlb() local 1463 qdep = info->ats_qdep; in __iommu_flush_dev_iotlb() 1465 qdep, addr, mask); in __iommu_flush_dev_iotlb() 1466 quirk_extra_dev_tlb_flush(info, addr, mask, IOMMU_NO_PASID, qdep); in __iommu_flush_dev_iotlb() 5045 u32 pasid, u16 qdep) in quirk_extra_dev_tlb_flush() argument 5055 qdep, address, mask); in quirk_extra_dev_tlb_flush() 5058 pasid, qdep, address, mask); in quirk_extra_dev_tlb_flush()
|
/openbmc/linux/drivers/iommu/amd/ |
H A D | iommu.c | 1051 cmd->data[0] |= (qdep & 0xff) << 24; in build_inv_iotlb_pages() 1077 int qdep, u64 address, bool size) in build_inv_iotlb_pasid() argument 1085 cmd->data[0] |= (qdep & 0xff) << 24; in build_inv_iotlb_pasid() 1318 int qdep; in device_flush_iotlb() local 1320 qdep = dev_data->ats.qdep; in device_flush_iotlb() 1325 build_inv_iotlb_pages(&cmd, dev_data->devid, qdep, address, size); in device_flush_iotlb() 1827 dev_data->ats.qdep = pci_ats_queue_depth(pdev); in attach_device() 1833 dev_data->ats.qdep = pci_ats_queue_depth(pdev); in attach_device() 2606 int qdep; in __flush_pasid() local 2615 qdep = dev_data->ats.qdep; in __flush_pasid() [all …]
|
H A D | amd_iommu_types.h | 817 int qdep; member
|