Lines Matching refs:mux_lock
149 SemaphoreHandle_t mux_lock; member
233 xSemaphoreTake(p_host_lib_obj->constant.mux_lock, portMAX_DELAY); in send_event_msg_to_clients()
256 xSemaphoreGive(p_host_lib_obj->constant.mux_lock); in send_event_msg_to_clients()
370 SemaphoreHandle_t mux_lock = xSemaphoreCreateMutex(); in usb_host_install() local
371 if (host_lib_obj == NULL || event_sem == NULL || mux_lock == NULL) { in usb_host_install()
378 host_lib_obj->constant.mux_lock = mux_lock; in usb_host_install()
445 if (mux_lock) { in usb_host_install()
446 vSemaphoreDelete(mux_lock); in usb_host_install()
482 vSemaphoreDelete(host_lib_obj->constant.mux_lock); in usb_host_uninstall()
643 xSemaphoreTake(p_host_lib_obj->constant.mux_lock, portMAX_DELAY); in usb_host_client_register()
648 xSemaphoreGive(p_host_lib_obj->constant.mux_lock); in usb_host_client_register()
673 xSemaphoreTake(p_host_lib_obj->constant.mux_lock, portMAX_DELAY); in usb_host_client_deregister()
712 xSemaphoreGive(p_host_lib_obj->constant.mux_lock); in usb_host_client_deregister()
833 xSemaphoreTake(p_host_lib_obj->constant.mux_lock, portMAX_DELAY); in usb_host_device_close()
867 xSemaphoreGive(p_host_lib_obj->constant.mux_lock); in usb_host_device_close()
1111 xSemaphoreTake(p_host_lib_obj->constant.mux_lock, portMAX_DELAY); in usb_host_interface_claim()
1123 xSemaphoreGive(p_host_lib_obj->constant.mux_lock); in usb_host_interface_claim()
1148 xSemaphoreTake(p_host_lib_obj->constant.mux_lock, portMAX_DELAY); in usb_host_interface_release()
1150 xSemaphoreGive(p_host_lib_obj->constant.mux_lock); in usb_host_interface_release()