Lines Matching refs:dma_ctrlr
676 struct vme_dma_resource *dma_ctrlr = NULL; in vme_dma_request() local
690 dma_ctrlr = list_entry(dma_pos, in vme_dma_request()
693 if (dma_ctrlr == NULL) { in vme_dma_request()
699 mutex_lock(&dma_ctrlr->mtx); in vme_dma_request()
700 if (((dma_ctrlr->route_attr & route) == route) && in vme_dma_request()
701 (dma_ctrlr->locked == 0)) { in vme_dma_request()
703 dma_ctrlr->locked = 1; in vme_dma_request()
704 mutex_unlock(&dma_ctrlr->mtx); in vme_dma_request()
705 allocated_ctrlr = dma_ctrlr; in vme_dma_request()
708 mutex_unlock(&dma_ctrlr->mtx); in vme_dma_request()
727 mutex_lock(&dma_ctrlr->mtx); in vme_dma_request()
728 dma_ctrlr->locked = 0; in vme_dma_request()
729 mutex_unlock(&dma_ctrlr->mtx); in vme_dma_request()