Lines Matching defs:lock
441 spinlock_t lock;
481 spinlock_t lock;
1101 /* check lock-up free version */
1514 spin_lock_irqsave(&pl330->lock, flags);
1552 spin_unlock_irqrestore(&pl330->lock, flags);
1571 spin_lock_irqsave(&pch->lock, flags);
1575 spin_unlock_irqrestore(&pch->lock, flags);
1586 spin_lock_irqsave(&pl330->lock, flags);
1619 spin_unlock_irqrestore(&pl330->lock, flags);
1622 spin_lock_irqsave(&pl330->lock, flags);
1633 spin_unlock_irqrestore(&pl330->lock, flags);
1649 spin_lock_irqsave(&pl330->lock, flags);
1723 spin_unlock_irqrestore(&pl330->lock, flags);
1725 spin_lock_irqsave(&pl330->lock, flags);
1729 spin_unlock_irqrestore(&pl330->lock, flags);
1967 spin_lock_init(&pl330->lock);
2076 spin_lock_irqsave(&pch->lock, flags);
2090 spin_lock(&pch->thread->dmac->lock);
2092 spin_unlock(&pch->thread->dmac->lock);
2097 spin_lock(&pch->thread->dmac->lock);
2099 spin_unlock(&pch->thread->dmac->lock);
2115 spin_lock(&pch->thread->dmac->lock);
2117 spin_unlock(&pch->thread->dmac->lock);
2128 spin_unlock_irqrestore(&pch->lock, flags);
2130 spin_lock_irqsave(&pch->lock, flags);
2133 spin_unlock_irqrestore(&pch->lock, flags);
2168 spin_lock_irqsave(&pl330->lock, flags);
2175 spin_unlock_irqrestore(&pl330->lock, flags);
2181 spin_unlock_irqrestore(&pl330->lock, flags);
2289 spin_lock_irqsave(&pch->lock, flags);
2291 spin_lock(&pl330->lock);
2296 spin_unlock(&pl330->lock);
2315 spin_unlock_irqrestore(&pch->lock, flags);
2339 spin_lock_irqsave(&pch->lock, flags);
2341 spin_lock(&pl330->lock);
2343 spin_unlock(&pl330->lock);
2349 spin_unlock_irqrestore(&pch->lock, flags);
2365 spin_lock_irqsave(&pl330->lock, flags);
2373 spin_unlock_irqrestore(&pl330->lock, flags);
2424 spin_lock_irqsave(&pch->lock, flags);
2425 spin_lock(&pch->thread->dmac->lock);
2471 spin_unlock(&pch->thread->dmac->lock);
2472 spin_unlock_irqrestore(&pch->lock, flags);
2485 spin_lock_irqsave(&pch->lock, flags);
2497 spin_unlock_irqrestore(&pch->lock, flags);
2514 spin_lock_irqsave(&pch->lock, flags);
2533 spin_unlock_irqrestore(&pch->lock, flags);
2549 static int add_desc(struct list_head *pool, spinlock_t *lock,
2560 spin_lock_irqsave(lock, flags);
2567 spin_unlock_irqrestore(lock, flags);
2573 spinlock_t *lock)
2578 spin_lock_irqsave(lock, flags);
2590 spin_unlock_irqrestore(lock, flags);
2606 static DEFINE_SPINLOCK(lock);
2609 if (!add_desc(&pool, &lock, GFP_ATOMIC, 1))
2612 desc = pluck_desc(&pool, &lock);
3113 spin_lock_init(&pch->lock);