Lines Matching defs:spinlock
131 spinlock_t spinlock; /* protects member variables */
296 /* chip->spinlock is already locked */
325 spin_lock_irqsave(&chip->spinlock, flags);
363 spin_unlock_irqrestore(&chip->spinlock, flags);
405 /* chip->spinlock is already locked */
445 spin_lock_irqsave(&chip->spinlock, flags);
448 spin_unlock_irqrestore(&chip->spinlock, flags);
466 spin_lock_irqsave(&chip->spinlock, flags);
471 spin_unlock_irqrestore(&chip->spinlock, flags);
487 spin_lock_irqsave(&chip->spinlock, flags);
498 spin_unlock_irqrestore(&chip->spinlock, flags);
573 spin_lock_init(&chip->spinlock);