Lines Matching refs:idxd
64 struct idxd_device *idxd = wq->idxd; in idxd_prep_desc_common() local
78 wq->vec_ptr = (wq->vec_ptr % idxd->num_wq_irqs) + 1; in idxd_prep_desc_common()
88 struct idxd_device *idxd = wq->idxd; in idxd_dma_submit_memcpy() local
94 if (len > idxd->max_xfer_bytes) in idxd_dma_submit_memcpy()
114 struct device *dev = &wq->idxd->pdev->dev; in idxd_dma_alloc_chan_resources()
125 struct device *dev = &wq->idxd->pdev->dev; in idxd_dma_free_chan_resources()
170 int idxd_register_dma_device(struct idxd_device *idxd) in idxd_register_dma_device() argument
172 struct dma_device *dma = &idxd->dma_dev; in idxd_register_dma_device()
175 dma->dev = &idxd->pdev->dev; in idxd_register_dma_device()
180 if (idxd->hw.opcap.bits[0] & IDXD_OPCAP_MEMMOVE) { in idxd_register_dma_device()
190 return dma_async_device_register(&idxd->dma_dev); in idxd_register_dma_device()
193 void idxd_unregister_dma_device(struct idxd_device *idxd) in idxd_unregister_dma_device() argument
195 dma_async_device_unregister(&idxd->dma_dev); in idxd_unregister_dma_device()
200 struct idxd_device *idxd = wq->idxd; in idxd_register_dma_channel() local
201 struct dma_device *dma = &idxd->dma_dev; in idxd_register_dma_channel()
217 dma_async_device_channel_unregister(&wq->idxd->dma_dev, &wq->dma_chan); in idxd_unregister_dma_channel()