Lines Matching refs:idxd_dma
192 struct idxd_dma_dev *idxd_dma = container_of(device, struct idxd_dma_dev, dma); in idxd_dma_release() local
194 kfree(idxd_dma); in idxd_dma_release()
199 struct idxd_dma_dev *idxd_dma; in idxd_register_dma_device() local
204 idxd_dma = kzalloc_node(sizeof(*idxd_dma), GFP_KERNEL, dev_to_node(dev)); in idxd_register_dma_device()
205 if (!idxd_dma) in idxd_register_dma_device()
208 dma = &idxd_dma->dma; in idxd_register_dma_device()
230 kfree(idxd_dma); in idxd_register_dma_device()
234 idxd_dma->idxd = idxd; in idxd_register_dma_device()
239 idxd->idxd_dma = idxd_dma; in idxd_register_dma_device()
245 dma_async_device_unregister(&idxd->idxd_dma->dma); in idxd_unregister_dma_device()
251 struct dma_device *dma = &idxd->idxd_dma->dma; in idxd_register_dma_channel()
289 struct idxd_dma_dev *idxd_dma = wq->idxd->idxd_dma; in idxd_unregister_dma_channel() local
291 dma_async_device_channel_unregister(&idxd_dma->dma, chan); in idxd_unregister_dma_channel()