Lines Matching defs:spinlock
76 * @spinlock: Used for register access protection
87 spinlock_t spinlock;
98 spin_lock_irqsave(&chip->spinlock, flags);
106 spin_unlock_irqrestore(&chip->spinlock, flags);
124 spin_lock_irqsave(&chip->spinlock, flags);
137 spin_unlock_irqrestore(&chip->spinlock, flags);
148 spin_lock_irqsave(&chip->spinlock, flags);
153 spin_unlock_irqrestore(&chip->spinlock, flags);
257 spin_lock_irqsave(&chip->spinlock, flags);
297 spin_unlock_irqrestore(&chip->spinlock, flags);
327 spin_lock_irqsave(&chip->spinlock, flags);
331 spin_unlock_irqrestore(&chip->spinlock, flags);
341 spin_lock_irqsave(&chip->spinlock, flags);
345 spin_unlock_irqrestore(&chip->spinlock, flags);
441 spin_lock_init(&chip->spinlock);
485 spin_lock_irqsave(&chip->spinlock, flags);
487 spin_unlock_irqrestore(&chip->spinlock, flags);
497 spin_lock_irqsave(&chip->spinlock, flags);
501 spin_unlock_irqrestore(&chip->spinlock, flags);