Lines Matching refs:mtx

257 		mutex_lock(&slave_image->mtx);  in vme_slave_request()
263 mutex_unlock(&slave_image->mtx); in vme_slave_request()
267 mutex_unlock(&slave_image->mtx); in vme_slave_request()
286 mutex_lock(&slave_image->mtx); in vme_slave_request()
288 mutex_unlock(&slave_image->mtx); in vme_slave_request()
371 mutex_lock(&slave_image->mtx); in vme_slave_free()
376 mutex_unlock(&slave_image->mtx); in vme_slave_free()
699 mutex_lock(&dma_ctrlr->mtx); in vme_dma_request()
704 mutex_unlock(&dma_ctrlr->mtx); in vme_dma_request()
708 mutex_unlock(&dma_ctrlr->mtx); in vme_dma_request()
727 mutex_lock(&dma_ctrlr->mtx); in vme_dma_request()
729 mutex_unlock(&dma_ctrlr->mtx); in vme_dma_request()
758 mutex_init(&dma_list->mtx); in vme_new_dma_list()
897 if (!mutex_trylock(&list->mtx)) { in vme_dma_list_add()
904 mutex_unlock(&list->mtx); in vme_dma_list_add()
920 mutex_lock(&list->mtx); in vme_dma_list_exec()
924 mutex_unlock(&list->mtx); in vme_dma_list_exec()
940 if (!mutex_trylock(&list->mtx)) { in vme_dma_list_free()
952 mutex_unlock(&list->mtx); in vme_dma_list_free()
955 mutex_unlock(&list->mtx); in vme_dma_list_free()
973 if (!mutex_trylock(&ctrlr->mtx)) { in vme_dma_free()
980 mutex_unlock(&ctrlr->mtx); in vme_dma_free()
986 mutex_unlock(&ctrlr->mtx); in vme_dma_free()
1140 mutex_lock(&lm->mtx); in vme_lm_request()
1143 mutex_unlock(&lm->mtx); in vme_lm_request()
1147 mutex_unlock(&lm->mtx); in vme_lm_request()
1166 mutex_lock(&lm->mtx); in vme_lm_request()
1168 mutex_unlock(&lm->mtx); in vme_lm_request()
1288 mutex_lock(&lm->mtx); in vme_lm_free()
1297 mutex_unlock(&lm->mtx); in vme_lm_free()