Searched refs:thermal_lock (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/thermal/
H A Dhisi_thermal.c53 struct mutex thermal_lock; /* protects register data */ member in struct:hisi_thermal_data
84 mutex_lock(&data->thermal_lock); hisi_thermal_get_sensor_temp()
104 mutex_unlock(&data->thermal_lock); hisi_thermal_get_sensor_temp()
114 mutex_lock(&data->thermal_lock); hisi_thermal_enable_bind_irq_sensor()
143 mutex_unlock(&data->thermal_lock); hisi_thermal_enable_bind_irq_sensor()
148 mutex_lock(&data->thermal_lock); hisi_thermal_disable_sensor()
155 mutex_unlock(&data->thermal_lock); hisi_thermal_disable_sensor()
177 mutex_lock(&data->thermal_lock); hisi_thermal_get_temp()
179 mutex_unlock(&data->thermal_lock); hisi_thermal_get_temp()
222 mutex_lock(&data->thermal_lock); hisi_thermal_alarm_irq_thread()
227 mutex_unlock(&data->thermal_lock); hisi_thermal_alarm_irq_thread()
293 mutex_init(&data->thermal_lock); hisi_thermal_probe()

Completed in 124 milliseconds