Home
last modified time | relevance | path

Searched refs:mux_lock (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.6.0/components/usb/
Dusbh.c98 SemaphoreHandle_t mux_lock; member
265 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() local
312 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 …]
Dusb_host.c149 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()
[all …]