Lines Matching refs:dma_ctrlr
1605 struct vme_dma_resource *dma_ctrlr; in ca91cx42_probe() local
1722 dma_ctrlr = kmalloc(sizeof(*dma_ctrlr), GFP_KERNEL); in ca91cx42_probe()
1723 if (!dma_ctrlr) { in ca91cx42_probe()
1727 dma_ctrlr->parent = ca91cx42_bridge; in ca91cx42_probe()
1728 mutex_init(&dma_ctrlr->mtx); in ca91cx42_probe()
1729 dma_ctrlr->locked = 0; in ca91cx42_probe()
1730 dma_ctrlr->number = i; in ca91cx42_probe()
1731 dma_ctrlr->route_attr = VME_DMA_VME_TO_MEM | in ca91cx42_probe()
1733 INIT_LIST_HEAD(&dma_ctrlr->pending); in ca91cx42_probe()
1734 INIT_LIST_HEAD(&dma_ctrlr->running); in ca91cx42_probe()
1735 list_add_tail(&dma_ctrlr->list, in ca91cx42_probe()
1806 dma_ctrlr = list_entry(pos, struct vme_dma_resource, list); in ca91cx42_probe()
1808 kfree(dma_ctrlr); in ca91cx42_probe()
1848 struct vme_dma_resource *dma_ctrlr; in ca91cx42_remove() local
1890 dma_ctrlr = list_entry(pos, struct vme_dma_resource, list); in ca91cx42_remove()
1892 kfree(dma_ctrlr); in ca91cx42_remove()