Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 25 of 33) sorted by relevance

12

/hal_espressif-latest/components/wpa_supplicant/src/utils/
Deloop.h90 int eloop_register_read_sock(int sock, eloop_sock_handler handler,
118 eloop_sock_handler handler,
154 eloop_event_handler handler,
182 eloop_timeout_handler handler, void *eloop_data,
185 #define eloop_register_timeout(secs, usecs, handler, eloop_data, user_data) \ argument
186 eloop_register_timeout_debug(secs, usecs, handler, eloop_data, user_data, __func__, __LINE__)
189 eloop_timeout_handler handler,
205 int eloop_cancel_timeout_debug(eloop_timeout_handler handler, void *eloop_data,
207 #define eloop_cancel_timeout(handler, eloop_data, user_data) \ argument
208 eloop_cancel_timeout_debug(handler, eloop_data, user_data, __func__, __LINE__)
[all …]
/hal_espressif-latest/components/esp_event/
Desp_event_private.c29 esp_event_handler_node_t* handler; in esp_event_is_handler_registered() local
32 SLIST_FOREACH(handler, &(loop_node->handlers), next) { in esp_event_is_handler_registered()
33 …base == ESP_EVENT_ANY_BASE && event_id == ESP_EVENT_ANY_ID && handler->handler_ctx->handler == eve… in esp_event_is_handler_registered()
42 SLIST_FOREACH(handler, &(base_node->handlers), next) { in esp_event_is_handler_registered()
43 … if(event_id == ESP_EVENT_ANY_ID && handler->handler_ctx->handler == event_handler) in esp_event_is_handler_registered()
52 SLIST_FOREACH(handler, &(id_node->handlers), next) { in esp_event_is_handler_registered()
53 if(handler->handler_ctx->handler == event_handler) in esp_event_is_handler_registered()
Desp_event.c117 static void handler_execute(esp_event_loop_instance_t* loop, esp_event_handler_node_t *handler, esp… in handler_execute() argument
119 …ndler %p and context %p on loop %p", post.base, post.id, handler->handler_ctx->handler, &handler->… in handler_execute()
137 (*(handler->handler_ctx->handler))(handler->handler_ctx->arg, post.base, post.id, data_ptr); in handler_execute()
139 (*(handler->handler_ctx->handler))(handler->handler_ctx->arg, post.base, post.id, post.data); in handler_execute()
154 if(handler_node == handler) { in handler_execute()
155 handler->invoked++; in handler_execute()
156 handler->time += diff; in handler_execute()
178 context->handler = event_handler; in handler_instances_add()
190 if(event_handler == it->handler_ctx->handler) { in handler_instances_add()
331 if (it->handler_ctx->handler == handler_ctx->handler) { in handler_instances_remove()
[all …]
DKconfig9 … loop queue, run time of event handlers, and number of times/run time of each event handler.
/hal_espressif-latest/components/wpa_supplicant/port/
Deloop.c26 eloop_timeout_handler handler; member
83 eloop_timeout_handler handler, void *eloop_data, in eloop_register_timeout_debug() argument
87 eloop_timeout_handler handler, in eloop_register_timeout_debug()
120 timeout->handler = handler; in eloop_register_timeout_debug()
145 timeout->func_name, line, timeout->handler, count); in eloop_register_timeout_debug()
195 int eloop_cancel_timeout_debug(eloop_timeout_handler handler, void *eloop_data, in eloop_cancel_timeout_debug() argument
198 int eloop_cancel_timeout(eloop_timeout_handler handler, in eloop_cancel_timeout_debug()
207 if (timeout->handler == handler && in eloop_cancel_timeout_debug()
218 func, line, handler, removed); in eloop_cancel_timeout_debug()
224 int eloop_cancel_timeout_one(eloop_timeout_handler handler, in eloop_cancel_timeout_one() argument
[all …]
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/include/
Dmesh_timer.h54 k_work_handler_t handler; member
61 .handler = work_handler, \
223 if (work && work->handler) { in k_work_submit()
224 work->handler(work); in k_work_submit()
238 static inline void k_work_init(struct k_work *work, k_work_handler_t handler) in k_work_init() argument
240 work->handler = handler; in k_work_init()
247 int k_delayed_work_init(struct k_delayed_work *work, k_work_handler_t handler);
/hal_espressif-latest/components/esp_system/
Desp_system.c23 esp_err_t esp_register_shutdown_handler(shutdown_handler_t handler) in esp_register_shutdown_handler() argument
26 if (shutdown_handlers[i] == handler) { in esp_register_shutdown_handler()
29 shutdown_handlers[i] = handler; in esp_register_shutdown_handler()
36 esp_err_t esp_unregister_shutdown_handler(shutdown_handler_t handler) in esp_unregister_shutdown_handler() argument
39 if (shutdown_handlers[i] == handler) { in esp_unregister_shutdown_handler()
DKconfig13 prompt "Panic handler behaviour"
16 If FreeRTOS detects unexpected behaviour or an unhandled exception, the panic handler is
17 invoked. Configure the panic handler's action here.
57 After the panic handler executes, you can specify a number of seconds to
147 …If enabled, the permission control module watches all the memory access and fires the panic handler
392 … interrupt handler did not return. It will try to invoke the panic handler first and failing that
439 bool "Invoke panic handler on Task Watchdog timeout"
444 trigger the panic handler when it times out. This can also be configured
501 bool "Place panic handler code in IRAM"
504 … If this option is disabled (default), the panic handler code is placed in flash not IRAM.
[all …]
/hal_espressif-latest/components/riscv/
Dinterrupt.c26 intr_handler_t handler; member
37 .handler = fn, in intr_handler_set()
44 return s_intr_handlers[rv_int_num].handler; in intr_handler_get()
56 if (it.handler) { in _global_interrupt_handler()
57 (*it.handler)(it.arg); in _global_interrupt_handler()
/hal_espressif-latest/components/esp_hw_support/
Drtc_module.c57 intr_handler_t handler; member
75 (*it->handler)(it->handler_arg); in rtc_isr()
104 esp_err_t rtc_isr_register(intr_handler_t handler, void* handler_arg, uint32_t rtc_intr_mask, uint3… in rtc_isr_register() argument
119 item->handler = handler; in rtc_isr_register()
135 esp_err_t rtc_isr_deregister(intr_handler_t handler, void* handler_arg) in rtc_isr_deregister() argument
146 if (it->handler == handler && it->handler_arg == handler_arg) { in rtc_isr_deregister()
Dintr_alloc.c469 …tus(int source, int flags, uint32_t intrstatusreg, uint32_t intrstatusmask, intr_handler_t handler, in esp_intr_alloc_intrstatus() argument
480 if ((flags & ESP_INTR_FLAG_HIGH) && (handler)) { in esp_intr_alloc_intrstatus()
484 if ((flags & ESP_INTR_FLAG_SHARED) && (!handler || source<0)) { in esp_intr_alloc_intrstatus()
495 …if ((flags & ESP_INTR_FLAG_IRAM) && handler && !esp_ptr_in_iram(handler) && !esp_ptr_in_rtc_iram_f… in esp_intr_alloc_intrstatus()
566 sh_vec->isr = handler; in esp_intr_alloc_intrstatus()
578 if (handler) { in esp_intr_alloc_intrstatus()
586 ns_isr_arg->isr = handler; in esp_intr_alloc_intrstatus()
591 esp_cpu_intr_set_handler(intr, (esp_cpu_intr_handler_t)handler, arg); in esp_intr_alloc_intrstatus()
655 esp_err_t esp_intr_alloc(int source, int flags, intr_handler_t handler, void *arg, intr_handle_t *r… in esp_intr_alloc() argument
662 return esp_intr_alloc_intrstatus(source, flags, 0, 0, handler, arg, ret_handle); in esp_intr_alloc()
/hal_espressif-latest/components/xtensa/
Dxtensa_intr.c104 void * handler; member
122 return (_xt_interrupt_table[intr*portNUM_PROCESSORS+cpu].handler != xt_unhandled_interrupt); in xt_int_has_handler()
145 old = entry->handler; in xt_set_interrupt_handler()
148 entry->handler = f; in xt_set_interrupt_handler()
152 entry->handler = &xt_unhandled_interrupt; in xt_set_interrupt_handler()
/hal_espressif-latest/components/esp_hw_support/include/esp_private/
Drtc_ctrl.h39 esp_err_t rtc_isr_register(intr_handler_t handler, void* handler_arg,
50 esp_err_t rtc_isr_deregister(intr_handler_t handler, void* handler_arg);
/hal_espressif-latest/components/bt/controller/esp32/
Dhli_api.c20 intr_handler_t handler; member
54 esp_err_t hli_intr_register(intr_handler_t handler, void* arg, uint32_t intr_reg, uint32_t intr_mas… in hli_intr_register() argument
59 if (hip->handler == NULL) { in hli_intr_register()
63 hip->handler = handler; /* set last, indicates the entry as valid */ in hli_intr_register()
79 if (hip->handler == NULL) { in hli_c_handler()
92 (*hip->handler)(hip->arg); in hli_c_handler()
Dhli_api.h47 esp_err_t hli_intr_register(intr_handler_t handler, void* arg, uint32_t intr_reg, uint32_t intr_mas…
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/
Dmesh_timer.c64 int k_delayed_work_init(struct k_delayed_work *work, k_work_handler_t handler) in k_delayed_work_init() argument
73 k_work_init(&work->work, handler); in k_delayed_work_init()
77 alarm = osi_alarm_new("bt_mesh", (osi_alarm_callback_t)handler, (void *)&work->work, 0); in k_delayed_work_init()
/hal_espressif-latest/components/esp_hw_support/include/
Desp_intr_alloc.h154 esp_err_t esp_intr_alloc(int source, int flags, intr_handler_t handler, void *arg, intr_handle_t *r…
192 …t flags, uint32_t intrstatusreg, uint32_t intrstatusmask, intr_handler_t handler, void *arg, intr_…
Desp_cpu.h336 FORCE_INLINE_ATTR void esp_cpu_intr_set_handler(int intr_num, esp_cpu_intr_handler_t handler, void … in esp_cpu_intr_set_handler() argument
340 xt_set_interrupt_handler(intr_num, (xt_handler)handler, handler_arg); in esp_cpu_intr_set_handler()
342 intr_handler_set(intr_num, (intr_handler_t)handler, handler_arg); in esp_cpu_intr_set_handler()
/hal_espressif-latest/components/esp_hw_support/include/hal/
Dinterrupt_controller_hal.h176 void interrupt_controller_hal_set_int_handler(uint8_t intr, interrupt_handler_t handler, void *arg) in interrupt_controller_hal_set_int_handler() argument
178 esp_cpu_intr_set_handler(intr, (esp_cpu_intr_handler_t)handler, arg); in interrupt_controller_hal_set_int_handler()
/hal_espressif-latest/components/esp_event/private_include/
Desp_event_internal.h30 esp_event_handler_t handler; /**< event handler function*/ member
/hal_espressif-latest/components/esp_netif/
DREADME.md14 start |************| event handler |*********| DHCP |
70 * event handler
/hal_espressif-latest/components/bt/controller/esp32c2/
Dbt.c91 …int (*_esp_intr_alloc)(int source, int flags, intr_handler_t handler, void *arg, void **ret_handle…
182 static int esp_intr_alloc_wrapper(int source, int flags, intr_handler_t handler,
551 static int esp_intr_alloc_wrapper(int source, int flags, intr_handler_t handler, void *arg, void **… in esp_intr_alloc_wrapper() argument
554 int rc = esp_intr_alloc(source, flags, handler, arg, (intr_handle_t *)ret_handle_in); in esp_intr_alloc_wrapper()
556 …int rc = esp_intr_alloc(source, flags | ESP_INTR_FLAG_IRAM, handler, arg, (intr_handle_t *)ret_han… in esp_intr_alloc_wrapper()
/hal_espressif-latest/components/esp_app_format/
DKconfig.projbuild46 if it needs to be printed by the panic handler code.
/hal_espressif-latest/components/esp_adc/
DKconfig15 Ensure the ADC continuous mode ISR is IRAM-Safe. When enabled, the ISR handler
/hal_espressif-latest/zephyr/esp32c3/src/bt/
Desp_bt_adapter.c124 …int (* _interrupt_alloc)(int cpu_id, int source, isr_handler_t handler, void *arg, void **ret_hand…
240 static int interrupt_alloc_wrapper(int cpu_id, int source, isr_handler_t handler, void *arg, void *…
443 static int interrupt_alloc_wrapper(int cpu_id, int source, isr_handler_t handler, void *arg, void *… in interrupt_alloc_wrapper() argument
448 p.fn = (void *)handler; in interrupt_alloc_wrapper()

12