Lines Matching refs:read_lock
164 struct mutex read_lock; member
458 mutex_lock(&data->read_lock); in sht15_update_status()
508 mutex_unlock(&data->read_lock); in sht15_update_status()
590 mutex_lock(&data->read_lock); in sht15_update_measurements()
606 mutex_unlock(&data->read_lock); in sht15_update_measurements()
714 mutex_lock(&data->read_lock); in sht15_status_store()
722 mutex_unlock(&data->read_lock); in sht15_status_store()
928 mutex_init(&data->read_lock); in sht15_probe()
1028 mutex_lock(&data->read_lock); in sht15_remove()
1030 mutex_unlock(&data->read_lock); in sht15_remove()
1040 mutex_unlock(&data->read_lock); in sht15_remove()