Searched refs:mux_lock (Results 1 – 2 of 2) sorted by relevance
98 SemaphoreHandle_t mux_lock; member265 xSemaphoreTake(p_usbh_obj->constant.mux_lock, portMAX_DELAY); in handle_pipe_halt_and_flush()277 xSemaphoreGive(p_usbh_obj->constant.mux_lock); in handle_pipe_halt_and_flush()283 xSemaphoreTake(p_usbh_obj->constant.mux_lock, portMAX_DELAY); in handle_dev_free()295 xSemaphoreGive(p_usbh_obj->constant.mux_lock); in handle_dev_free()311 SemaphoreHandle_t mux_lock = xSemaphoreCreateMutex(); in usbh_install() local312 if (usbh_obj == NULL || mux_lock == NULL) { in usbh_install()330 usbh_obj->constant.mux_lock = mux_lock; in usbh_install()349 if (mux_lock != NULL) { in usbh_install()350 vSemaphoreDelete(mux_lock); in usbh_install()[all …]
149 SemaphoreHandle_t mux_lock; member233 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() local371 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()[all …]