Home
last modified time | relevance | path

Searched refs:idxd_dma (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/dma/idxd/
H A Ddma.c192 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()
[all …]
H A Didxd.h363 struct idxd_dma_dev *idxd_dma; member