Lines Matching defs:pasid
304 static void __idxd_wq_set_pasid_locked(struct idxd_wq *wq, int pasid)
314 wqcfg.pasid = pasid;
320 int idxd_wq_set_pasid(struct idxd_wq *wq, int pasid)
328 __idxd_wq_set_pasid_locked(wq, pasid);
352 wqcfg.pasid = 0;
585 void idxd_device_drain_pasid(struct idxd_device *idxd, int pasid)
590 operand = pasid;
593 dev_dbg(dev, "pasid %d drained\n", pasid);
1290 if (ie->pasid == IOMMU_PASID_INVALID)
1294 mperm.pasid = ie->pasid;
1320 ie->pasid = IOMMU_PASID_INVALID;
1336 ie->pasid = device_pasid_enabled(idxd) ? idxd->pasid : IOMMU_PASID_INVALID;
1361 ie->pasid = IOMMU_PASID_INVALID;
1420 * In the event that the WQ is configurable for pasid, the driver
1421 * should setup the pasid, pasid_en bit. This is true for both kernel
1424 * A dedicated wq that is not 'kernel' type will configure pasid and
1430 u32 pasid = wq_dedicated(wq) ? idxd->pasid : 0;
1432 __idxd_wq_set_pasid_locked(wq, pasid);
1550 if (idxd->pasid != IOMMU_PASID_INVALID)