Lines Matching defs:spinlock
118 spinlock_t spinlock; /* protects member variables */
282 /* chip->spinlock is already locked */
310 spin_lock_irqsave(&chip->spinlock, flags);
332 spin_unlock_irqrestore(&chip->spinlock, flags);
373 /* chip->spinlock is already locked */
413 spin_lock_irqsave(&chip->spinlock, flags);
416 spin_unlock_irqrestore(&chip->spinlock, flags);
434 spin_lock_irqsave(&chip->spinlock, flags);
439 spin_unlock_irqrestore(&chip->spinlock, flags);
455 spin_lock_irqsave(&chip->spinlock, flags);
464 spin_unlock_irqrestore(&chip->spinlock, flags);
540 spin_lock_init(&chip->spinlock);