Lines Matching refs:dma_ctrlr
1609 struct vme_dma_resource *dma_ctrlr; in ca91cx42_probe() local
1726 dma_ctrlr = kmalloc(sizeof(*dma_ctrlr), GFP_KERNEL); in ca91cx42_probe()
1727 if (!dma_ctrlr) { in ca91cx42_probe()
1731 dma_ctrlr->parent = ca91cx42_bridge; in ca91cx42_probe()
1732 mutex_init(&dma_ctrlr->mtx); in ca91cx42_probe()
1733 dma_ctrlr->locked = 0; in ca91cx42_probe()
1734 dma_ctrlr->number = i; in ca91cx42_probe()
1735 dma_ctrlr->route_attr = VME_DMA_VME_TO_MEM | in ca91cx42_probe()
1737 INIT_LIST_HEAD(&dma_ctrlr->pending); in ca91cx42_probe()
1738 INIT_LIST_HEAD(&dma_ctrlr->running); in ca91cx42_probe()
1739 list_add_tail(&dma_ctrlr->list, in ca91cx42_probe()
1810 dma_ctrlr = list_entry(pos, struct vme_dma_resource, list); in ca91cx42_probe()
1812 kfree(dma_ctrlr); in ca91cx42_probe()
1852 struct vme_dma_resource *dma_ctrlr; in ca91cx42_remove() local
1894 dma_ctrlr = list_entry(pos, struct vme_dma_resource, list); in ca91cx42_remove()
1896 kfree(dma_ctrlr); in ca91cx42_remove()