Lines Matching refs:lock

92 	spinlock_t		lock;  member
108 spinlock_t lock; member
118 spinlock_t lock; member
165 spin_lock_init(&pool->lock); in cpdma_desc_pool_create()
231 spin_lock_irqsave(&pool->lock, flags); in cpdma_desc_alloc()
249 spin_unlock_irqrestore(&pool->lock, flags); in cpdma_desc_alloc()
260 spin_lock_irqsave(&pool->lock, flags); in cpdma_desc_free()
263 spin_unlock_irqrestore(&pool->lock, flags); in cpdma_desc_free()
277 spin_lock_init(&ctlr->lock); in cpdma_ctlr_create()
298 spin_lock_irqsave(&ctlr->lock, flags); in cpdma_ctlr_start()
300 spin_unlock_irqrestore(&ctlr->lock, flags); in cpdma_ctlr_start()
336 spin_unlock_irqrestore(&ctlr->lock, flags); in cpdma_ctlr_start()
346 spin_lock_irqsave(&ctlr->lock, flags); in cpdma_ctlr_stop()
348 spin_unlock_irqrestore(&ctlr->lock, flags); in cpdma_ctlr_stop()
367 spin_unlock_irqrestore(&ctlr->lock, flags); in cpdma_ctlr_stop()
378 spin_lock_irqsave(&ctlr->lock, flags); in cpdma_ctlr_dump()
438 spin_unlock_irqrestore(&ctlr->lock, flags); in cpdma_ctlr_dump()
451 spin_lock_irqsave(&ctlr->lock, flags); in cpdma_ctlr_destroy()
459 spin_unlock_irqrestore(&ctlr->lock, flags); in cpdma_ctlr_destroy()
469 spin_lock_irqsave(&ctlr->lock, flags); in cpdma_ctlr_int_ctrl()
471 spin_unlock_irqrestore(&ctlr->lock, flags); in cpdma_ctlr_int_ctrl()
483 spin_unlock_irqrestore(&ctlr->lock, flags); in cpdma_ctlr_int_ctrl()
508 spin_lock_irqsave(&ctlr->lock, flags); in cpdma_chan_create()
510 spin_unlock_irqrestore(&ctlr->lock, flags); in cpdma_chan_create()
538 spin_lock_init(&chan->lock); in cpdma_chan_create()
541 spin_unlock_irqrestore(&ctlr->lock, flags); in cpdma_chan_create()
555 spin_lock_irqsave(&ctlr->lock, flags); in cpdma_chan_destroy()
559 spin_unlock_irqrestore(&ctlr->lock, flags); in cpdma_chan_destroy()
570 spin_lock_irqsave(&chan->lock, flags); in cpdma_chan_get_stats()
572 spin_unlock_irqrestore(&chan->lock, flags); in cpdma_chan_get_stats()
582 spin_lock_irqsave(&chan->lock, flags); in cpdma_chan_dump()
621 spin_unlock_irqrestore(&chan->lock, flags); in cpdma_chan_dump()
671 spin_lock_irqsave(&chan->lock, flags); in cpdma_chan_submit()
717 spin_unlock_irqrestore(&chan->lock, flags); in cpdma_chan_submit()
730 spin_lock_irqsave(&pool->lock, flags); in cpdma_check_free_tx_desc()
740 spin_unlock_irqrestore(&pool->lock, flags); in cpdma_check_free_tx_desc()
774 spin_lock_irqsave(&chan->lock, flags); in __cpdma_chan_process()
808 spin_unlock_irqrestore(&chan->lock, flags); in __cpdma_chan_process()
818 spin_unlock_irqrestore(&chan->lock, flags); in __cpdma_chan_process()
845 spin_lock_irqsave(&chan->lock, flags); in cpdma_chan_start()
847 spin_unlock_irqrestore(&chan->lock, flags); in cpdma_chan_start()
851 spin_unlock_irqrestore(&chan->lock, flags); in cpdma_chan_start()
862 spin_unlock_irqrestore(&chan->lock, flags); in cpdma_chan_start()
875 spin_lock_irqsave(&chan->lock, flags); in cpdma_chan_stop()
877 spin_unlock_irqrestore(&chan->lock, flags); in cpdma_chan_stop()
900 spin_unlock_irqrestore(&chan->lock, flags); in cpdma_chan_stop()
906 spin_lock_irqsave(&chan->lock, flags); in cpdma_chan_stop()
919 spin_unlock_irqrestore(&chan->lock, flags); in cpdma_chan_stop()
921 spin_lock_irqsave(&chan->lock, flags); in cpdma_chan_stop()
925 spin_unlock_irqrestore(&chan->lock, flags); in cpdma_chan_stop()
934 spin_lock_irqsave(&chan->lock, flags); in cpdma_chan_int_ctrl()
936 spin_unlock_irqrestore(&chan->lock, flags); in cpdma_chan_int_ctrl()
942 spin_unlock_irqrestore(&chan->lock, flags); in cpdma_chan_int_ctrl()
976 spin_lock_irqsave(&ctlr->lock, flags); in cpdma_control_get()
997 spin_unlock_irqrestore(&ctlr->lock, flags); in cpdma_control_get()
1008 spin_lock_irqsave(&ctlr->lock, flags); in cpdma_control_set()
1033 spin_unlock_irqrestore(&ctlr->lock, flags); in cpdma_control_set()