Lines Matching refs:lock
231 k_mutex_lock(&drv_data->lock, K_FOREVER); in r502a_read_sys_param()
275 k_mutex_unlock(&drv_data->lock); in r502a_read_sys_param()
391 k_mutex_lock(&drv_data->lock, K_FOREVER); in fps_read_template_table()
424 k_mutex_unlock(&drv_data->lock); in fps_read_template_table()
552 k_mutex_lock(&drv_data->lock, K_FOREVER); in fps_store_model()
575 k_mutex_unlock(&drv_data->lock); in fps_store_model()
593 k_mutex_lock(&drv_data->lock, K_FOREVER); in fps_delete_model()
612 k_mutex_unlock(&drv_data->lock); in fps_delete_model()
628 k_mutex_lock(&drv_data->lock, K_FOREVER); in fps_empty_db()
649 k_mutex_unlock(&drv_data->lock); in fps_empty_db()
674 k_mutex_lock(&drv_data->lock, K_FOREVER); in fps_search()
709 k_mutex_unlock(&drv_data->lock); in fps_search()
726 k_mutex_lock(&drv_data->lock, K_FOREVER); in fps_load_template()
747 k_mutex_unlock(&drv_data->lock); in fps_load_template()
770 k_mutex_lock(&drv_data->lock, K_FOREVER); in fps_match_templates()
800 k_mutex_unlock(&drv_data->lock); in fps_match_templates()
809 k_mutex_lock(&drv_data->lock, K_FOREVER); in fps_capture()
829 k_mutex_unlock(&drv_data->lock); in fps_capture()
856 k_mutex_lock(&drv_data->lock, K_FOREVER); in fps_upload_char_buf()
896 k_mutex_unlock(&drv_data->lock); in fps_upload_char_buf()
923 k_mutex_lock(&drv_data->lock, K_FOREVER); in fps_download_char_buf()
961 k_mutex_unlock(&drv_data->lock); in fps_download_char_buf()
978 k_mutex_lock(&drv_data->lock, K_FOREVER); in fps_init()
995 k_mutex_unlock(&drv_data->lock); in fps_init()
1004 k_mutex_lock(&drv_data->lock, K_FOREVER); in grow_r502a_sample_fetch()
1006 k_mutex_unlock(&drv_data->lock); in grow_r502a_sample_fetch()
1056 k_mutex_lock(&drv_data->lock, K_FOREVER); in grow_r502a_attr_set()
1059 k_mutex_unlock(&drv_data->lock); in grow_r502a_attr_set()
1062 k_mutex_unlock(&drv_data->lock); in grow_r502a_attr_set()
1150 k_mutex_init(&drv_data->lock); in grow_r502a_init()