Lines Matching defs:mutex
15 #include <linux/mutex.h>
126 struct mutex mutex; /* avoid parallel access */
176 * interrupt control functions are called while keeping chip->mutex
198 /* chip->mutex is always kept here */
269 * versions. Chip->mutex is kept when this is called.
299 /* chip->mutex is kept when this is called */
379 * Chip on / off functions are called while keeping mutex except probe
424 /* chip->mutex is kept when this is called */
447 /* chip->mutex is kept when this is called */
562 mutex_lock(&chip->mutex);
564 mutex_unlock(&chip->mutex);
574 mutex_lock(&chip->mutex);
611 mutex_unlock(&chip->mutex);
614 * Can't cancel work while keeping mutex since the work uses the
615 * same mutex.
641 mutex_lock(&chip->mutex);
668 mutex_unlock(&chip->mutex);
694 mutex_lock(&chip->mutex);
696 mutex_unlock(&chip->mutex);
719 mutex_lock(&chip->mutex);
735 mutex_unlock(&chip->mutex);
745 mutex_lock(&chip->mutex);
747 mutex_unlock(&chip->mutex);
757 mutex_lock(&chip->mutex);
762 mutex_unlock(&chip->mutex);
819 mutex_lock(&chip->mutex);
821 mutex_unlock(&chip->mutex);
837 mutex_lock(&chip->mutex);
839 mutex_unlock(&chip->mutex);
865 mutex_lock(&chip->mutex);
868 mutex_unlock(&chip->mutex);
948 mutex_lock(&chip->mutex);
950 mutex_unlock(&chip->mutex);
968 mutex_lock(&chip->mutex);
974 mutex_unlock(&chip->mutex);
982 mutex_unlock(&chip->mutex);
1021 mutex_lock(&chip->mutex);
1024 mutex_unlock(&chip->mutex);
1059 mutex_lock(&chip->mutex);
1069 mutex_unlock(&chip->mutex);
1178 mutex_init(&chip->mutex);