Lines Matching refs:idxd
52 entry->cur_wq, entry->wqs[entry->cur_wq]->idxd->id, in wq_table_next_wq()
68 entry->wqs[entry->n_wqs - 1]->idxd->id, in wq_table_add()
396 struct device *dev = &iaa_device->idxd->pdev->dev; in free_device_compression_mode()
424 struct device *dev = &iaa_device->idxd->pdev->dev; in init_device_compression_mode()
456 mode->name, iaa_device->idxd->id); in init_device_compression_mode()
463 mode->name, iaa_device->idxd->id); in init_device_compression_mode()
530 static struct iaa_device *add_iaa_device(struct idxd_device *idxd) in add_iaa_device() argument
538 iaa_device->idxd = idxd; in add_iaa_device()
568 struct idxd_device *idxd = iaa_device->idxd; in add_iaa_wq() local
569 struct pci_dev *pdev = idxd->pdev; in add_iaa_wq()
589 wq->id, iaa_device->idxd->id, iaa_device->n_wq); in add_iaa_wq()
596 struct idxd_device *idxd = iaa_device->idxd; in del_iaa_wq() local
597 struct pci_dev *pdev = idxd->pdev; in del_iaa_wq()
607 wq->id, iaa_device->idxd->id, in del_iaa_wq()
662 struct idxd_device *idxd = wq->idxd; in iaa_wq_get() local
666 spin_lock(&idxd->dev_lock); in iaa_wq_get()
674 spin_unlock(&idxd->dev_lock); in iaa_wq_get()
681 struct idxd_device *idxd = wq->idxd; in iaa_wq_put() local
686 spin_lock(&idxd->dev_lock); in iaa_wq_put()
698 spin_unlock(&idxd->dev_lock); in iaa_wq_put()
747 struct idxd_device *idxd; in save_iaa_wq() local
753 if (iaa_device->idxd == wq->idxd) { in save_iaa_wq()
754 idxd = iaa_device->idxd; in save_iaa_wq()
755 pdev = idxd->pdev; in save_iaa_wq()
781 new_device = add_iaa_device(wq->idxd); in save_iaa_wq()
836 struct idxd_device *idxd; in wq_table_add_wqs() local
842 idxd = iaa_device->idxd; in wq_table_add_wqs()
843 pdev = idxd->pdev; in wq_table_add_wqs()
853 found_device->idxd->id, cur_iaa); in wq_table_add_wqs()
867 idxd = found_device->idxd; in wq_table_add_wqs()
868 pdev = idxd->pdev; in wq_table_add_wqs()
871 found_device->idxd->id, cur_iaa); in wq_table_add_wqs()
877 cpu, iaa_wq->wq->idxd->id, iaa_wq->wq->id); in wq_table_add_wqs()
1030 struct idxd_device *idxd; in iaa_desc_complete() local
1040 idxd = iaa_device->idxd; in iaa_desc_complete()
1041 pdev = idxd->pdev; in iaa_desc_complete()
1137 struct idxd_device *idxd; in iaa_compress() local
1145 idxd = iaa_device->idxd; in iaa_compress()
1146 pdev = idxd->pdev; in iaa_compress()
1251 " wq %d: ret=%d\n", iaa_wq->iaa_device->idxd->id, in iaa_remap_for_verify()
1264 " wq %d: ret=%d\n", iaa_wq->iaa_device->idxd->id, in iaa_remap_for_verify()
1289 struct idxd_device *idxd; in iaa_compress_verify() local
1297 idxd = iaa_device->idxd; in iaa_compress_verify()
1298 pdev = idxd->pdev; in iaa_compress_verify()
1376 struct idxd_device *idxd; in iaa_decompress() local
1384 idxd = iaa_device->idxd; in iaa_decompress()
1385 pdev = idxd->pdev; in iaa_decompress()
1544 dev = &wq->idxd->pdev->dev; in iaa_comp_acompress()
1549 " wq %d: ret=%d\n", iaa_wq->iaa_device->idxd->id, in iaa_comp_acompress()
1562 " wq %d: ret=%d\n", iaa_wq->iaa_device->idxd->id, in iaa_comp_acompress()
1638 dev = &wq->idxd->pdev->dev; in iaa_comp_adecompress_alloc_dest()
1643 " wq %d: ret=%d\n", iaa_wq->iaa_device->idxd->id, in iaa_comp_adecompress_alloc_dest()
1666 " wq %d: ret=%d\n", iaa_wq->iaa_device->idxd->id, in iaa_comp_adecompress_alloc_dest()
1739 dev = &wq->idxd->pdev->dev; in iaa_comp_adecompress()
1744 " wq %d: ret=%d\n", iaa_wq->iaa_device->idxd->id, in iaa_comp_adecompress()
1757 " wq %d: ret=%d\n", iaa_wq->iaa_device->idxd->id, in iaa_comp_adecompress()
1852 struct idxd_device *idxd = wq->idxd; in iaa_crypto_probe() local
1853 struct idxd_driver_data *data = idxd->data; in iaa_crypto_probe()
1858 if (idxd->state != IDXD_DEV_ENABLED) in iaa_crypto_probe()
1873 idxd->id, wq->id, wq->driver_name, dev->driver->name); in iaa_crypto_probe()
1874 idxd->cmd_status = IDXD_SCMD_WQ_NO_DRV_NAME; in iaa_crypto_probe()
1884 idxd->id, wq->id, ret); in iaa_crypto_probe()
1892 ret = alloc_wq_table(wq->idxd->max_wqs); in iaa_crypto_probe()
1941 struct idxd_device *idxd = wq->idxd; in iaa_crypto_remove() local
1952 spin_lock(&idxd->dev_lock); in iaa_crypto_remove()
1955 spin_unlock(&idxd->dev_lock); in iaa_crypto_remove()
1967 spin_unlock(&idxd->dev_lock); in iaa_crypto_remove()