Home
last modified time | relevance | path

Searched refs:fn (Results 1 – 25 of 45) sorted by relevance

12

/hal_espressif-3.7.0/components/esp_system/include/esp_private/
Dstartup_internal.h45 esp_err_t (*fn)(void); /*!< Pointer to the startup function */ member
71 …esp_system_init_fn_t esp_system_init_fn_##f = { .fn = ( __esp_system_init_fn_##f), .cores = (c) };…
/hal_espressif-3.7.0/components/riscv/
Dinterrupt.c32 void intr_handler_set(int int_no, intr_handler_t fn, void *arg) in intr_handler_set() argument
37 .handler = fn, in intr_handler_set()
/hal_espressif-3.7.0/components/driver/gpio/
Dgpio.c47 gpio_isr_t fn; /*!< isr function */ member
55 void (*fn)(void*); /*!< ISR function */ member
467 if (gpio_context.gpio_isr_func[gpio_num].fn != NULL) { in gpio_isr_loop()
468 gpio_context.gpio_isr_func[gpio_num].fn(gpio_context.gpio_isr_func[gpio_num].args); in gpio_isr_loop()
535 gpio_context.gpio_isr_func[gpio_num].fn = isr_handler; in gpio_isr_handler_add()
550 gpio_context.gpio_isr_func[gpio_num].fn = NULL; in gpio_isr_handler_remove()
582 p->ret = esp_intr_alloc(p->source, p->intr_alloc_flags, p->fn, p->arg, p->handle); in gpio_isr_register_on_core_static()
585 esp_err_t gpio_isr_register(void (*fn)(void *), void *arg, int intr_alloc_flags, gpio_isr_handle_t … in gpio_isr_register()
587 GPIO_CHECK(fn, "GPIO ISR null", ESP_ERR_INVALID_ARG); in gpio_isr_register()
594 p.fn = fn; in gpio_isr_register()
/hal_espressif-3.7.0/components/driver/touch_sensor/esp32/
Dtouch_sensor.c71 esp_err_t touch_pad_isr_handler_register(void (*fn)(void *), void *arg, int no_use, intr_handle_t *… in touch_pad_isr_handler_register()
73 ESP_RETURN_ON_FALSE(fn, ESP_ERR_INVALID_ARG, TOUCH_TAG, "Touch_Pad ISR null"); in touch_pad_isr_handler_register()
74 return rtc_isr_register(fn, arg, RTC_CNTL_TOUCH_INT_ST_M, 0); in touch_pad_isr_handler_register()
77 esp_err_t touch_pad_isr_register(intr_handler_t fn, void *arg) in touch_pad_isr_register() argument
79 ESP_RETURN_ON_FALSE(fn, ESP_ERR_INVALID_ARG, TOUCH_TAG, "Touch_Pad ISR null"); in touch_pad_isr_register()
80 return rtc_isr_register(fn, arg, RTC_CNTL_TOUCH_INT_ST_M, 0); in touch_pad_isr_register()
/hal_espressif-3.7.0/components/esp_wifi/include/
Desp_wifi_netif.h76 esp_err_t esp_wifi_register_if_rxcb(wifi_netif_driver_t ifx, esp_netif_receive_t fn, void * arg);
/hal_espressif-3.7.0/components/esp_system/
Dstartup.c222 ESP_LOGD(TAG, "calling init function: %p on core: %d", p->fn, core_id); in do_system_init_fn()
223 esp_err_t err = (*(p->fn))(); in do_system_init_fn()
225 ESP_LOGE(TAG, "init function %p has failed (0x%x), aborting", p->fn, err); in do_system_init_fn()
/hal_espressif-3.7.0/components/esp_wifi/src/
Dwifi_netif.c132 esp_err_t esp_wifi_register_if_rxcb(wifi_netif_driver_t ifx, esp_netif_receive_t fn, void * arg) in esp_wifi_register_if_rxcb() argument
139 s_wifi_rxcbs[wifi_interface] = fn; in esp_wifi_register_if_rxcb()
/hal_espressif-3.7.0/components/riscv/include/riscv/
Dinterrupt.h27 void intr_handler_set(int rv_int_num, intr_handler_t fn, void* arg);
/hal_espressif-3.7.0/components/driver/deprecated/
Dtimer_legacy.c38 timer_isr_t fn; /*!< isr function */ member
201 if (timer_obj == NULL || timer_obj->timer_isr_fun.fn == NULL) { in timer_isr_default()
213 is_awoken = timer_obj->timer_isr_fun.fn(timer_obj->timer_isr_fun.args); in timer_isr_default()
249 … void (*fn)(void *), void *arg, int intr_alloc_flags, timer_isr_handle_t *handle) in timer_isr_register()
253 ESP_RETURN_ON_FALSE(fn != NULL, ESP_ERR_INVALID_ARG, TIMER_TAG, TIMER_PARAM_ADDR_ERROR); in timer_isr_register()
259 TIMER_LL_EVENT_ALARM(timer_num), fn, arg, handle); in timer_isr_register()
270 p_timer_obj[group_num][timer_num]->timer_isr_fun.fn = isr_handler; in timer_isr_callback_add()
288 p_timer_obj[group_num][timer_num]->timer_isr_fun.fn = NULL; in timer_isr_callback_remove()
Dpcnt_legacy.c50 void(*fn)(void *args); /*!< isr function */ member
273 pcnt_isr_func[unit].fn = isr_handler; in _pcnt_isr_handler_add()
291 pcnt_isr_func[unit].fn = NULL; in _pcnt_isr_handler_remove()
311 if (pcnt_isr_func[unit].fn != NULL) { in pcnt_intr_service()
312 (pcnt_isr_func[unit].fn)(pcnt_isr_func[unit].args); in pcnt_intr_service()
/hal_espressif-3.7.0/components/esp_system/include/
Desp_debug_helpers.h44 void esp_set_breakpoint_if_jtag(void *fn);
/hal_espressif-3.7.0/components/driver/touch_sensor/include/driver/
Dtouch_sensor_common.h104 esp_err_t touch_pad_isr_deregister(void(*fn)(void *), void *arg);
/hal_espressif-3.7.0/components/driver/deprecated/driver/
Drmt.h469 esp_err_t rmt_isr_register(void (*fn)(void *), void *arg, int intr_alloc_flags, rmt_isr_handle_t *h…
616 esp_err_t rmt_translator_init(rmt_channel_t channel, sample_to_rmt_t fn);
Dpcnt.h213 esp_err_t pcnt_isr_register(void (*fn)(void *), void *arg, int intr_alloc_flags, pcnt_isr_handle_t …
Dtimer.h231 esp_err_t timer_isr_register(timer_group_t group_num, timer_idx_t timer_num, void (*fn)(void *), vo…
/hal_espressif-3.7.0/components/wpa_supplicant/esp_supplicant/src/
Desp_wifi_driver.h163 wifi_wpa2_fn_t fn; member
182 wifi_ipc_fn_t fn; member
243 int esp_wifi_register_tx_cb_internal(wifi_tx_cb_t fn, u8 id);
/hal_espressif-3.7.0/components/driver/touch_sensor/
Dtouch_sensor_common.c51 esp_err_t touch_pad_isr_deregister(intr_handler_t fn, void *arg) in touch_pad_isr_deregister() argument
53 return rtc_isr_deregister(fn, arg); in touch_pad_isr_deregister()
/hal_espressif-3.7.0/components/newlib/test_apps/newlib/main/
Dtest_newlib.c126 static bool fn_in_rom(void *fn) in fn_in_rom() argument
128 const int fnaddr = (int)fn; in fn_in_rom()
/hal_espressif-3.7.0/components/bt/porting/npl/freertos/src/
Dnpl_os_freertos.c83 IRAM_ATTR npl_freertos_event_init(struct ble_npl_event *ev, ble_npl_event_fn *fn, in npl_freertos_event_init() argument
100 event->fn = fn; in npl_freertos_event_init()
365 event->fn(ev); in npl_freertos_event_run()
561 event->fn(&callout->ev); in ble_npl_event_fn_wrapper()
596 event->fn(&callout->ev); in os_callout_timer_cb()
/hal_espressif-3.7.0/components/driver/touch_sensor/esp32/include/driver/
Dtouch_sensor.h118 esp_err_t touch_pad_isr_register(intr_handler_t fn, void *arg);
/hal_espressif-3.7.0/components/bt/porting/npl/freertos/include/nimble/
Dnpl_freertos.h37 ble_npl_event_fn *fn; member
Dnimble_npl_os.h184 IRAM_ATTR ble_npl_event_init(struct ble_npl_event *ev, ble_npl_event_fn *fn, in ble_npl_event_init() argument
187 return npl_funcs->p_ble_npl_event_init(ev, fn, arg); in ble_npl_event_init()
/hal_espressif-3.7.0/components/driver/touch_sensor/esp32s3/
Dtouch_sensor.c62 esp_err_t touch_pad_isr_register(intr_handler_t fn, void *arg, touch_pad_intr_mask_t intr_mask) in touch_pad_isr_register() argument
64 ESP_RETURN_ON_FALSE(fn, ESP_ERR_INVALID_ARG, TOUCH_TAG, TOUCH_PARAM_CHECK_STR("intr_mask")); in touch_pad_isr_register()
88 esp_err_t ret = rtc_isr_register(fn, arg, en_msk, 0); in touch_pad_isr_register()
/hal_espressif-3.7.0/components/bt/porting/nimble/include/nimble/
Dnimble_npl.h79 void ble_npl_event_init(struct ble_npl_event *ev, ble_npl_event_fn *fn,
/hal_espressif-3.7.0/components/driver/touch_sensor/esp32s2/
Dtouch_sensor.c82 esp_err_t touch_pad_isr_register(intr_handler_t fn, void *arg, touch_pad_intr_mask_t intr_mask) in touch_pad_isr_register() argument
85 ESP_RETURN_ON_FALSE(fn, ESP_ERR_INVALID_ARG, TOUCH_TAG, TOUCH_PARAM_CHECK_STR("intr_mask")); in touch_pad_isr_register()
109 esp_err_t ret = rtc_isr_register(fn, arg, en_msk, 0); in touch_pad_isr_register()

12