Home
last modified time | relevance | path

Searched refs:qdep (Results 1 – 6 of 6) sorted by relevance

/drivers/iommu/intel/
Dsvm.c211 svm->pasid, sdev->qdep, address, in __flush_svm_range_dev()
600 sdev->qdep = info->ats_qdep; in intel_svm_bind_mm()
601 if (sdev->qdep >= QI_DEV_EIOTLB_MAX_INVS) in intel_svm_bind_mm()
602 sdev->qdep = 0; in intel_svm_bind_mm()
755 int qdep; in intel_svm_drain_prq() local
769 qdep = pci_ats_queue_depth(pdev); in intel_svm_drain_prq()
820 QI_DEV_EIOTLB_QDEP(qdep) | in intel_svm_drain_prq()
Dpasid.c505 u16 sid, qdep, pfsid; in devtlb_invalidation_with_pasid() local
512 qdep = info->ats_qdep; in devtlb_invalidation_with_pasid()
522 qi_flush_dev_iotlb(iommu, sid, pfsid, qdep, 0, 64 - VTD_PAGE_SHIFT); in devtlb_invalidation_with_pasid()
524 qi_flush_dev_iotlb_pasid(iommu, sid, pfsid, pasid, qdep, 0, 64 - VTD_PAGE_SHIFT); in devtlb_invalidation_with_pasid()
Ddmar.c1517 u16 qdep, u64 addr, unsigned mask) in qi_flush_dev_iotlb() argument
1536 if (qdep >= QI_DEV_IOTLB_MAX_INVS) in qi_flush_dev_iotlb()
1537 qdep = 0; in qi_flush_dev_iotlb()
1539 desc.qw0 = QI_DEV_IOTLB_SID(sid) | QI_DEV_IOTLB_QDEP(qdep) | in qi_flush_dev_iotlb()
1590 u32 pasid, u16 qdep, u64 addr, unsigned int size_order) in qi_flush_dev_iotlb_pasid() argument
1605 QI_DEV_EIOTLB_QDEP(qdep) | QI_DEIOTLB_TYPE | in qi_flush_dev_iotlb_pasid()
Diommu.c1604 u16 sid, qdep; in __iommu_flush_dev_iotlb() local
1610 qdep = info->ats_qdep; in __iommu_flush_dev_iotlb()
1612 qdep, addr, mask); in __iommu_flush_dev_iotlb()
/drivers/iommu/amd/
Diommu.c923 static void build_inv_iotlb_pages(struct iommu_cmd *cmd, u16 devid, int qdep, in build_inv_iotlb_pages() argument
930 cmd->data[0] |= (qdep & 0xff) << 24; in build_inv_iotlb_pages()
956 int qdep, u64 address, bool size) in build_inv_iotlb_pasid() argument
964 cmd->data[0] |= (qdep & 0xff) << 24; in build_inv_iotlb_pasid()
1191 int qdep; in device_flush_iotlb() local
1193 qdep = dev_data->ats.qdep; in device_flush_iotlb()
1196 build_inv_iotlb_pages(&cmd, dev_data->devid, qdep, address, size); in device_flush_iotlb()
1655 dev_data->ats.qdep = pci_ats_queue_depth(pdev); in attach_device()
1661 dev_data->ats.qdep = pci_ats_queue_depth(pdev); in attach_device()
2383 int qdep; in __flush_pasid() local
[all …]
Damd_iommu_types.h691 int qdep; member