Lines Matching defs:spinlock
89 * @spinlock: Used for register access protection
99 spinlock_t spinlock;
108 spin_lock_irqsave(&chip->spinlock, flags);
116 spin_unlock_irqrestore(&chip->spinlock, flags);
136 spin_lock_irqsave(&chip->spinlock, flags);
150 spin_unlock_irqrestore(&chip->spinlock, flags);
161 spin_lock_irqsave(&chip->spinlock, flags);
166 spin_unlock_irqrestore(&chip->spinlock, flags);
268 spin_lock_irqsave(&chip->spinlock, flags);
280 spin_unlock_irqrestore(&chip->spinlock, flags);
377 spin_lock_init(&chip->spinlock);
410 spin_lock_irqsave(&chip->spinlock, flags);
412 spin_unlock_irqrestore(&chip->spinlock, flags);
422 spin_lock_irqsave(&chip->spinlock, flags);
426 spin_unlock_irqrestore(&chip->spinlock, flags);