Lines Matching refs:data_mutex

168 	err = k_mutex_lock(&ctrl->data_mutex, K_FOREVER);  in sip_svc_register()
180 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_register()
185 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_register()
200 err = k_mutex_lock(&ctrl->data_mutex, K_FOREVER); in sip_svc_unregister()
208 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_unregister()
213 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_unregister()
218 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_unregister()
223 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_unregister()
234 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_unregister()
288 ret = k_mutex_lock(&ctrl->data_mutex, K_NO_WAIT); in sip_svc_open()
297 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_open()
305 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_open()
313 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_open()
324 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_open()
332 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_open()
362 err = k_mutex_lock(&ctrl->data_mutex, K_FOREVER); in sip_svc_close()
370 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_close()
376 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_close()
389 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_close()
409 err = k_mutex_lock(&ctrl->data_mutex, K_FOREVER); in sip_svc_callback()
420 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_callback()
451 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_callback()
459 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_callback()
689 ret = k_mutex_lock(&ctrl->data_mutex, K_FOREVER); in sip_svc_send()
697 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_send()
702 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_send()
710 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_send()
719 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_send()
735 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_send()
745 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_send()
754 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_send()
760 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_send()
776 err = k_mutex_lock(&ctrl->data_mutex, K_FOREVER); in sip_svc_get_priv_data()
785 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_get_priv_data()
789 k_mutex_unlock(&ctrl->data_mutex); in sip_svc_get_priv_data()
930 k_mutex_init(&ctrl->data_mutex); in sip_svc_subsys_init()