Lines Matching refs:event_sem

117         SemaphoreHandle_t event_sem;  member
148 SemaphoreHandle_t event_sem; member
193 xSemaphoreGiveFromISR(client_obj->constant.event_sem, &xTaskWoken); in _unblock_client()
196 xSemaphoreGive(client_obj->constant.event_sem); in _unblock_client()
219 xSemaphoreGiveFromISR(p_host_lib_obj->constant.event_sem, &xTaskWoken); in _unblock_lib()
222 xSemaphoreGive(p_host_lib_obj->constant.event_sem); in _unblock_lib()
369 SemaphoreHandle_t event_sem = xSemaphoreCreateBinary(); in usb_host_install() local
371 if (host_lib_obj == NULL || event_sem == NULL || mux_lock == NULL) { in usb_host_install()
377 host_lib_obj->constant.event_sem = event_sem; in usb_host_install()
448 if (event_sem) { in usb_host_install()
449 vSemaphoreDelete(event_sem); in usb_host_install()
483 vSemaphoreDelete(host_lib_obj->constant.event_sem); in usb_host_uninstall()
497 BaseType_t sem_ret = xSemaphoreTake(p_host_lib_obj->constant.event_sem, timeout_ticks); in usb_host_lib_handle_events()
626 SemaphoreHandle_t event_sem = xSemaphoreCreateBinary(); in usb_host_client_register() local
628 if (client_obj == NULL || event_sem == NULL || event_msg_queue == NULL) { in usb_host_client_register()
637 client_obj->constant.event_sem = event_sem; in usb_host_client_register()
659 if (event_sem) { in usb_host_client_register()
660 vSemaphoreDelete(event_sem); in usb_host_client_register()
708 vSemaphoreDelete(client_obj->constant.event_sem); in usb_host_client_deregister()
727 BaseType_t sem_ret = xSemaphoreTake(client_obj->constant.event_sem, timeout_ticks); in usb_host_client_handle_events()