Lines Matching refs:event_loop
110 esp_event_loop_handle_t event_loop = (esp_event_loop_handle_t) args; in esp_event_loop_run_task() local
112 ESP_LOGD(TAG, "running task for loop %p", event_loop); in esp_event_loop_run_task()
115 err = esp_event_loop_run(event_loop, portMAX_DELAY); in esp_event_loop_run_task()
121 ESP_LOGE(TAG, "suspended task for loop %p", event_loop); in esp_event_loop_run_task()
448 …vent_loop_create(const esp_event_loop_args_t* event_loop_args, esp_event_loop_handle_t* event_loop) in esp_event_loop_create() argument
455 if (event_loop == NULL) { in esp_event_loop_create()
519 *event_loop = (esp_event_loop_handle_t) loop; in esp_event_loop_create()
551 esp_err_t esp_event_loop_run(esp_event_loop_handle_t event_loop, TickType_t ticks_to_run) in esp_event_loop_run() argument
553 assert(event_loop); in esp_event_loop_run()
555 esp_event_loop_instance_t* loop = (esp_event_loop_instance_t*) event_loop; in esp_event_loop_run()
632 …D(TAG, "no handlers have been registered for event %s:%d posted to loop %p", base, id, event_loop); in esp_event_loop_run()
639 esp_err_t esp_event_loop_delete(esp_event_loop_handle_t event_loop) in esp_event_loop_delete() argument
641 assert(event_loop); in esp_event_loop_delete()
643 esp_event_loop_instance_t* loop = (esp_event_loop_instance_t*) event_loop; in esp_event_loop_delete()
688 ESP_LOGD(TAG, "deleted loop %p", (void*) event_loop); in esp_event_loop_delete()
693 esp_err_t esp_event_handler_register_with_internal(esp_event_loop_handle_t event_loop, esp_event_ba… in esp_event_handler_register_with_internal() argument
697 assert(event_loop); in esp_event_handler_register_with_internal()
705 esp_event_loop_instance_t* loop = (esp_event_loop_instance_t*) event_loop; in esp_event_handler_register_with_internal()
758 esp_err_t esp_event_handler_register_with(esp_event_loop_handle_t event_loop, esp_event_base_t even… in esp_event_handler_register_with() argument
761 …return esp_event_handler_register_with_internal(event_loop, event_base, event_id, event_handler, e… in esp_event_handler_register_with()
764 esp_err_t esp_event_handler_instance_register_with(esp_event_loop_handle_t event_loop, esp_event_ba… in esp_event_handler_instance_register_with() argument
768 …return esp_event_handler_register_with_internal(event_loop, event_base, event_id, event_handler, e… in esp_event_handler_instance_register_with()
771 esp_err_t esp_event_handler_unregister_with_internal(esp_event_loop_handle_t event_loop, esp_event_… in esp_event_handler_unregister_with_internal() argument
774 assert(event_loop); in esp_event_handler_unregister_with_internal()
786 esp_event_loop_instance_t* loop = (esp_event_loop_instance_t*) event_loop; in esp_event_handler_unregister_with_internal()
807 esp_err_t esp_event_handler_unregister_with(esp_event_loop_handle_t event_loop, esp_event_base_t ev… in esp_event_handler_unregister_with() argument
814 …return esp_event_handler_unregister_with_internal(event_loop, event_base, event_id, &local_handler… in esp_event_handler_unregister_with()
817 esp_err_t esp_event_handler_instance_unregister_with(esp_event_loop_handle_t event_loop, esp_event_… in esp_event_handler_instance_unregister_with() argument
822 …return esp_event_handler_unregister_with_internal(event_loop, event_base, event_id, (esp_event_han… in esp_event_handler_instance_unregister_with()
825 esp_err_t esp_event_post_to(esp_event_loop_handle_t event_loop, esp_event_base_t event_base, int32_… in esp_event_post_to() argument
828 assert(event_loop); in esp_event_post_to()
834 esp_event_loop_instance_t* loop = (esp_event_loop_instance_t*) event_loop; in esp_event_post_to()
902 esp_err_t esp_event_isr_post_to(esp_event_loop_handle_t event_loop, esp_event_base_t event_base, in… in esp_event_isr_post_to() argument
905 assert(event_loop); in esp_event_isr_post_to()
911 esp_event_loop_instance_t* loop = (esp_event_loop_instance_t*) event_loop; in esp_event_isr_post_to()