Lines Matching refs:fan_mutex
7997 static struct mutex fan_mutex; variable
8084 lockdep_assert_held(&fan_mutex); in fan_update_desired_level()
8139 if (mutex_lock_killable(&fan_mutex)) in fan_get_status_safe()
8144 mutex_unlock(&fan_mutex); in fan_get_status_safe()
8274 if (mutex_lock_killable(&fan_mutex)) in fan_set_level_safe()
8284 mutex_unlock(&fan_mutex); in fan_set_level_safe()
8296 if (mutex_lock_killable(&fan_mutex)) in fan_set_enable()
8340 mutex_unlock(&fan_mutex); in fan_set_enable()
8356 if (mutex_lock_killable(&fan_mutex)) in fan_set_disable()
8386 mutex_unlock(&fan_mutex); in fan_set_disable()
8397 if (mutex_lock_killable(&fan_mutex)) in fan_set_speed()
8415 mutex_unlock(&fan_mutex); in fan_set_speed()
8575 if (mutex_lock_killable(&fan_mutex)) in fan_pwm1_store()
8590 mutex_unlock(&fan_mutex); in fan_pwm1_store()
8728 mutex_init(&fan_mutex); in fan_init()