Home
last modified time | relevance | path

Searched refs:cbs (Results 1 – 21 of 21) sorted by relevance

/hal_espressif-latest/components/esp_adc/
Dadc_continuous.c176 gdma_rx_event_callbacks_t cbs = { in adc_continuous_new_handle() local
179 gdma_register_rx_event_callbacks(adc_ctx->rx_dma_channel, &cbs, adc_ctx); in adc_continuous_new_handle()
302 if (adc_digi_ctx->cbs.on_conv_done) { in s_adc_dma_intr()
307 if (adc_digi_ctx->cbs.on_conv_done(adc_digi_ctx, &edata, adc_digi_ctx->user_data)) { in s_adc_dma_intr()
314 if (adc_digi_ctx->cbs.on_pool_ovf) { in s_adc_dma_intr()
316 if (adc_digi_ctx->cbs.on_pool_ovf(adc_digi_ctx, &edata, adc_digi_ctx->user_data)) { in s_adc_dma_intr()
580 …ent_callbacks(adc_continuous_handle_t handle, const adc_continuous_evt_cbs_t *cbs, void *user_data) in adc_continuous_register_event_callbacks() argument
582 ESP_RETURN_ON_FALSE(handle && cbs, ESP_ERR_INVALID_ARG, ADC_TAG, "invalid argument"); in adc_continuous_register_event_callbacks()
586 if (cbs->on_conv_done) { in adc_continuous_register_event_callbacks()
587 …ESP_RETURN_ON_FALSE(esp_ptr_in_iram(cbs->on_conv_done), ESP_ERR_INVALID_ARG, ADC_TAG, "on_conv_don… in adc_continuous_register_event_callbacks()
[all …]
Dadc_continuous_internal.h76 adc_continuous_evt_cbs_t cbs; //Callbacks member
/hal_espressif-latest/components/bt/common/btc/profile/esp/blufi/
Dblufi_prf.c47 esp_blufi_callbacks_t *store_p = blufi_env.cbs; in btc_blufi_profile_init()
56 blufi_env.cbs = store_p; /* if set callback prior, restore the point */ in btc_blufi_profile_init()
112 && (blufi_env.cbs && blufi_env.cbs->decrypt_func)) { in btc_blufi_recv_handler()
113 ret = blufi_env.cbs->decrypt_func(hdr->seq, hdr->data, hdr->data_len); in btc_blufi_recv_handler()
123 && (blufi_env.cbs && blufi_env.cbs->checksum_func)) { in btc_blufi_recv_handler()
124 checksum = blufi_env.cbs->checksum_func(hdr->seq, &hdr->seq, hdr->data_len + 2); in btc_blufi_recv_handler()
234 && (blufi_env.cbs && blufi_env.cbs->checksum_func)) { in btc_blufi_send_encap()
236 checksum = blufi_env.cbs->checksum_func(hdr->seq, &hdr->seq, hdr->data_len + 2); in btc_blufi_send_encap()
241 && (blufi_env.cbs && blufi_env.cbs->checksum_func)) { in btc_blufi_send_encap()
243 checksum = blufi_env.cbs->checksum_func(hdr->seq, &hdr->seq, hdr->data_len + 2); in btc_blufi_send_encap()
[all …]
Dblufi_protocol.c104 if (blufi_env.cbs && blufi_env.cbs->negotiate_data_handler) { in btc_blufi_protocol_handler()
105 … blufi_env.cbs->negotiate_data_handler(data, len, &output_data, &output_len, &need_free); in btc_blufi_protocol_handler()
/hal_espressif-latest/components/esp_hw_support/include/esp_private/
Dgdma.h241 …x_event_callbacks(gdma_channel_handle_t dma_chan, gdma_tx_event_callbacks_t *cbs, void *user_data);
255 …x_event_callbacks(gdma_channel_handle_t dma_chan, gdma_rx_event_callbacks_t *cbs, void *user_data);
Dsleep_retention.h137 …sleep_retention_module_callbacks_t cbs; /*!< The callbacks list of the initialize module */ member
/hal_espressif-latest/components/esp_hw_support/
Dsleep_retention.c31 …sleep_retention_module_callbacks_t cbs; /* A callback list that can extend more sleep rete… member
38 …ct_ctor(struct sleep_retention_module_object * const self, sleep_retention_module_callbacks_t *cbs) in sleep_retention_module_object_ctor() argument
40 self->cbs = *cbs; in sleep_retention_module_object_ctor()
48 self->cbs = (sleep_retention_module_callbacks_t) { .create = { .handle = NULL, .arg = NULL } }; in sleep_retention_module_object_dtor()
632 if (param == NULL || param->cbs.create.handle == NULL) { in sleep_retention_module_init()
641 sleep_retention_module_object_ctor(&s_retention.instance[module], &param->cbs); in sleep_retention_module_init()
693 sleep_retention_callback_t fn = s_retention.instance[module].cbs.create.handle; in sleep_retention_passive_module_allocate()
695 err = (*fn)(s_retention.instance[module].cbs.create.arg); in sleep_retention_passive_module_allocate()
723 sleep_retention_callback_t fn = s_retention.instance[module].cbs.create.handle; in sleep_retention_module_allocate()
725 err = (*fn)(s_retention.instance[module].cbs.create.arg); in sleep_retention_module_allocate()
Dsleep_clock.c129 .cbs = { .create = { .handle = sleep_clock_system_retention_init, .arg = NULL } },
136 .cbs = { .create = { .handle = sleep_clock_modem_retention_init, .arg = NULL } },
Dsleep_system_peripheral.c263 .cbs = { .create = { .handle = sleep_sys_periph_retention_init, .arg = NULL } },
/hal_espressif-latest/components/esp_hw_support/dma/
Dasync_memcpy_impl_gdma.c88 gdma_rx_event_callbacks_t cbs = { in async_memcpy_impl_init() local
91 ret = gdma_register_rx_event_callbacks(impl->rx_channel, &cbs, impl); in async_memcpy_impl_init()
Dgdma.c384 …tx_event_callbacks(gdma_channel_handle_t dma_chan, gdma_tx_event_callbacks_t *cbs, void *user_data) in gdma_register_tx_event_callbacks() argument
395 if (cbs->on_trans_eof) { in gdma_register_tx_event_callbacks()
396 …ESP_GOTO_ON_FALSE(esp_ptr_in_iram(cbs->on_trans_eof), ESP_ERR_INVALID_ARG, err, TAG, "on_trans_eof… in gdma_register_tx_event_callbacks()
408 …gdma_ll_tx_enable_interrupt(group->hal.dev, pair->pair_id, GDMA_LL_EVENT_TX_EOF, cbs->on_trans_eof… in gdma_register_tx_event_callbacks()
411 tx_chan->on_trans_eof = cbs->on_trans_eof; in gdma_register_tx_event_callbacks()
420 …rx_event_callbacks(gdma_channel_handle_t dma_chan, gdma_rx_event_callbacks_t *cbs, void *user_data) in gdma_register_rx_event_callbacks() argument
431 if (cbs->on_recv_eof) { in gdma_register_rx_event_callbacks()
432 …ESP_GOTO_ON_FALSE(esp_ptr_in_iram(cbs->on_recv_eof), ESP_ERR_INVALID_ARG, err, TAG, "on_recv_eof n… in gdma_register_rx_event_callbacks()
444 …gdma_ll_rx_enable_interrupt(group->hal.dev, pair->pair_id, GDMA_LL_EVENT_RX_SUC_EOF, cbs->on_recv_… in gdma_register_rx_event_callbacks()
447 rx_chan->on_recv_eof = cbs->on_recv_eof; in gdma_register_rx_event_callbacks()
Dgdma_sleep_retention.c59 .cbs = { .create = { .handle = sleep_gdma_channel_retention_init, .arg = &arg } }, in gdma_sleep_retention_init()
/hal_espressif-latest/components/driver/gpio/
Ddedic_gpio.c51 …dedic_gpio_isr_callback_t cbs[SOC_DEDIC_GPIO_IN_CHANNELS_NUM]; // array of callback function for… member
133 if (platform->cbs[channel]) { in dedic_gpio_default_isr()
134 …if (platform->cbs[channel](platform->in_bundles[channel], channel - platform->in_bundles[channel]-… in dedic_gpio_default_isr()
411 s_platform[core_id]->cbs[channel] = cb_isr; in dedic_gpio_bundle_set_interrupt_and_callback()
/hal_espressif-latest/components/esp_adc/include/esp_adc/
Dadc_continuous.h147 …nt_callbacks(adc_continuous_handle_t handle, const adc_continuous_evt_cbs_t *cbs, void *user_data);
/hal_espressif-latest/components/esp_phy/src/
Dbtbb_init.c65 .cbs = { .create = { .handle = btbb_sleep_retention_init, .arg = NULL } }, in esp_btbb_enable()
Dphy_init.c509 .cbs = { .create = { .handle = sleep_retention_wifi_bb_init, .arg = NULL } }, in esp_mac_bb_pd_mem_init()
/hal_espressif-latest/components/driver/deprecated/
Dadc_dma_legacy.c263 gdma_rx_event_callbacks_t cbs = { in adc_digi_initialize() local
266 gdma_register_rx_event_callbacks(s_adc_digi_ctx->rx_dma_channel, &cbs, s_adc_digi_ctx); in adc_digi_initialize()
/hal_espressif-latest/components/bt/common/btc/profile/esp/blufi/include/
Dblufi_int.h45 esp_blufi_callbacks_t *cbs; member
/hal_espressif-latest/components/esp_wifi/src/
Dwifi_init.c337 .cbs = { .create = { .handle = init_wifi_mac_sleep_retention, .arg = NULL } }, in esp_wifi_init()
/hal_espressif-latest/components/bt/controller/esp32c6/
Dbt.c606 … .cbs = { .create = { .handle = sleep_modem_ble_mac_retention_init, .arg = &retention_args } }, in sleep_modem_ble_mac_modem_state_init()
/hal_espressif-latest/components/bt/controller/esp32h2/
Dbt.c598 … .cbs = { .create = { .handle = sleep_modem_ble_mac_retention_init, .arg = &retention_args } }, in sleep_modem_ble_mac_modem_state_init()