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);
126 spin_lock_irqsave(&chip->spinlock, flags);
139 spin_unlock_irqrestore(&chip->spinlock, flags);
150 spin_lock_irqsave(&chip->spinlock, flags);
155 spin_unlock_irqrestore(&chip->spinlock, flags);
259 spin_lock_irqsave(&chip->spinlock, flags);
299 spin_unlock_irqrestore(&chip->spinlock, flags);
329 spin_lock_irqsave(&chip->spinlock, flags);
333 spin_unlock_irqrestore(&chip->spinlock, flags);
343 spin_lock_irqsave(&chip->spinlock, flags);
347 spin_unlock_irqrestore(&chip->spinlock, flags);
443 spin_lock_init(&chip->spinlock);
487 spin_lock_irqsave(&chip->spinlock, flags);
489 spin_unlock_irqrestore(&chip->spinlock, flags);
499 spin_lock_irqsave(&chip->spinlock, flags);
503 spin_unlock_irqrestore(&chip->spinlock, flags);