Lines Matching refs:mutex
47 struct mutex mutex; member
117 mutex_lock(&data->mutex); in mma9551_read_raw()
119 mutex_unlock(&data->mutex); in mma9551_read_raw()
127 mutex_lock(&data->mutex); in mma9551_read_raw()
130 mutex_unlock(&data->mutex); in mma9551_read_raw()
235 mutex_lock(&data->mutex); in mma9551_write_event_config()
238 mutex_unlock(&data->mutex); in mma9551_write_event_config()
259 mutex_lock(&data->mutex); in mma9551_write_event_value()
265 mutex_unlock(&data->mutex); in mma9551_write_event_value()
285 mutex_lock(&data->mutex); in mma9551_read_event_value()
289 mutex_unlock(&data->mutex); in mma9551_read_event_value()
342 mutex_lock(&data->mutex); in mma9551_event_handler()
387 mutex_unlock(&data->mutex); in mma9551_event_handler()
463 mutex_init(&data->mutex); in mma9551_probe()
511 mutex_lock(&data->mutex); in mma9551_remove()
513 mutex_unlock(&data->mutex); in mma9551_remove()
522 mutex_lock(&data->mutex); in mma9551_runtime_suspend()
524 mutex_unlock(&data->mutex); in mma9551_runtime_suspend()
554 mutex_lock(&data->mutex); in mma9551_suspend()
556 mutex_unlock(&data->mutex); in mma9551_suspend()
567 mutex_lock(&data->mutex); in mma9551_resume()
569 mutex_unlock(&data->mutex); in mma9551_resume()