Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/docs/en/api-reference/protocols/
Dicmp_echo.rst83 esp_ping_callbacks_t cbs;
84 cbs.on_ping_success = test_on_ping_success;
85 cbs.on_ping_timeout = test_on_ping_timeout;
86 cbs.on_ping_end = test_on_ping_end;
87 cbs.cb_args = "foo"; // arguments that will feed to all callback functions, can be NULL
88 cbs.cb_args = eth_event_group;
91 esp_ping_new_session(&ping_config, &cbs, &ping);
/hal_espressif-2.7.6/components/bt/host/bluedroid/btc/profile/esp/blufi/
Dblufi_prf.c337 esp_blufi_callbacks_t *store_p = blufi_env.cbs; in btc_blufi_profile_init()
345 blufi_env.cbs = store_p; /* if set callback prior, restore the point */ in btc_blufi_profile_init()
406 && (blufi_env.cbs && blufi_env.cbs->decrypt_func)) { in btc_blufi_recv_handler()
407 ret = blufi_env.cbs->decrypt_func(hdr->seq, hdr->data, hdr->data_len); in btc_blufi_recv_handler()
417 && (blufi_env.cbs && blufi_env.cbs->checksum_func)) { in btc_blufi_recv_handler()
418 checksum = blufi_env.cbs->checksum_func(hdr->seq, &hdr->seq, hdr->data_len + 2); in btc_blufi_recv_handler()
506 && (blufi_env.cbs && blufi_env.cbs->checksum_func)) { in btc_blufi_send_encap()
508 checksum = blufi_env.cbs->checksum_func(hdr->seq, &hdr->seq, hdr->data_len + 2); in btc_blufi_send_encap()
513 && (blufi_env.cbs && blufi_env.cbs->checksum_func)) { in btc_blufi_send_encap()
515 checksum = blufi_env.cbs->checksum_func(hdr->seq, &hdr->seq, hdr->data_len + 2); in btc_blufi_send_encap()
[all …]
Dblufi_protocol.c122 if (blufi_env.cbs && blufi_env.cbs->negotiate_data_handler) { in btc_blufi_protocol_handler()
123 … blufi_env.cbs->negotiate_data_handler(data, len, &output_data, &output_len, &need_free); in btc_blufi_protocol_handler()
/hal_espressif-2.7.6/components/driver/include/esp_private/
Dgdma.h231 …x_event_callbacks(gdma_channel_handle_t dma_chan, gdma_tx_event_callbacks_t *cbs, void *user_data);
245 …x_event_callbacks(gdma_channel_handle_t dma_chan, gdma_rx_event_callbacks_t *cbs, void *user_data);
/hal_espressif-2.7.6/components/esp_system/port/
Dasync_memcpy_impl_gdma.c70 gdma_rx_event_callbacks_t cbs = { in async_memcpy_impl_init() local
73 ret = gdma_register_rx_event_callbacks(impl->rx_channel, &cbs, impl); in async_memcpy_impl_init()
/hal_espressif-2.7.6/components/lwip/apps/ping/
Dping_sock.c215 esp_err_t esp_ping_new_session(const esp_ping_config_t *config, const esp_ping_callbacks_t *cbs, es… in esp_ping_new_session() argument
234 if (cbs) { in esp_ping_new_session()
235 ep->cb_args = cbs->cb_args; in esp_ping_new_session()
236 ep->on_ping_end = cbs->on_ping_end; in esp_ping_new_session()
237 ep->on_ping_timeout = cbs->on_ping_timeout; in esp_ping_new_session()
238 ep->on_ping_success = cbs->on_ping_success; in esp_ping_new_session()
Dping.c289 esp_ping_callbacks_t cbs = { in ping_init() local
295 esp_ping_new_session(&config, &cbs, &ping); in ping_init()
/hal_espressif-2.7.6/components/esp_eth/test/
Dtest_emac.c361 esp_ping_callbacks_t cbs; variable
362 cbs.on_ping_success = test_on_ping_success;
363 cbs.on_ping_timeout = test_on_ping_timeout;
364 cbs.on_ping_end = test_on_ping_end;
365 cbs.cb_args = eth_event_group;
368 TEST_ESP_OK(esp_ping_new_session(&ping_config, &cbs, &ping));
/hal_espressif-2.7.6/components/driver/
Ddedic_gpio.c65 …dedic_gpio_isr_callback_t cbs[SOC_DEDIC_GPIO_IN_CHANNELS_NUM]; // array of callback function for… member
140 if (platform->cbs[channel]) { in dedic_gpio_default_isr()
141 …if (platform->cbs[channel](platform->in_bundles[channel], channel - platform->in_bundles[channel]-… in dedic_gpio_default_isr()
395 s_platform[core_id]->cbs[channel] = cb_isr; in dedic_gpio_bundle_set_interrupt_and_callback()
Dgdma.c310 …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
325 …gdma_ll_enable_interrupt(group->hal.dev, pair->pair_id, GDMA_LL_EVENT_TX_EOF, cbs->on_trans_eof !=… in gdma_register_tx_event_callbacks()
328 tx_chan->on_trans_eof = cbs->on_trans_eof; in gdma_register_tx_event_callbacks()
337 …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
352 …gdma_ll_enable_interrupt(group->hal.dev, pair->pair_id, GDMA_LL_EVENT_RX_SUC_EOF, cbs->on_recv_eof… in gdma_register_rx_event_callbacks()
355 rx_chan->on_recv_eof = cbs->on_recv_eof; in gdma_register_rx_event_callbacks()
/hal_espressif-2.7.6/components/lwip/include/apps/ping/
Dping_sock.h123 esp_err_t esp_ping_new_session(const esp_ping_config_t *config, const esp_ping_callbacks_t *cbs, es…
/hal_espressif-2.7.6/examples/protocols/icmp_echo/main/
Decho_example_main.c139 esp_ping_callbacks_t cbs = { in do_ping_cmd() local
146 esp_ping_new_session(&config, &cbs, &ping); in do_ping_cmd()
/hal_espressif-2.7.6/examples/bluetooth/nimble/bleprph_wifi_coex/main/
Dmain.c244 esp_ping_callbacks_t cbs = { in do_ping_cmd() local
251 esp_ping_new_session(&config, &cbs, &ping); in do_ping_cmd()
/hal_espressif-2.7.6/components/bt/host/bluedroid/btc/profile/esp/blufi/include/
Dblufi_int.h42 esp_blufi_callbacks_t *cbs; member
/hal_espressif-2.7.6/components/driver/esp32c3/
Dadc.c217 gdma_rx_event_callbacks_t cbs = { in adc_digi_initialize() local
220 gdma_register_rx_event_callbacks(s_adc_digi_ctx->rx_dma_channel, &cbs, s_adc_digi_ctx); in adc_digi_initialize()