Home
last modified time | relevance | path

Searched refs:future_p (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.6.0/components/bt/host/bluedroid/api/
Desp_bt_main.c42 future_t **future_p; in esp_bluedroid_enable() local
54 future_p = btc_main_get_future_p(BTC_MAIN_ENABLE_FUTURE); in esp_bluedroid_enable()
55 *future_p = future_new(); in esp_bluedroid_enable()
56 if (*future_p == NULL) { in esp_bluedroid_enable()
70 if (future_await(*future_p) == FUTURE_FAIL) { in esp_bluedroid_enable()
83 future_t **future_p; in esp_bluedroid_disable() local
90 future_p = btc_main_get_future_p(BTC_MAIN_DISABLE_FUTURE); in esp_bluedroid_disable()
91 *future_p = future_new(); in esp_bluedroid_disable()
92 if (*future_p == NULL) { in esp_bluedroid_disable()
106 if (future_await(*future_p) == FUTURE_FAIL) { in esp_bluedroid_disable()
[all …]
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/gatt/
Dbtc_gatts.c224 future_t *future_p; in btc_gatts_act_create_attr_tab() local
254 future_p = future_new(); in btc_gatts_act_create_attr_tab()
255 if (future_p == NULL) { in btc_gatts_act_create_attr_tab()
259 btc_creat_tab_env.complete_future = future_p; in btc_gatts_act_create_attr_tab()
285 if (future_await(future_p) == FUTURE_FAIL) { in btc_gatts_act_create_attr_tab()
311 if (future_await(future_p) == FUTURE_FAIL) { in btc_gatts_act_create_attr_tab()
325 if (future_await(future_p) == FUTURE_FAIL) { in btc_gatts_act_create_attr_tab()
359 if (future_await(future_p) == FUTURE_FAIL) { in btc_gatts_act_create_attr_tab()
400 if (future_await(future_p) == FUTURE_FAIL) { in btc_gatts_act_create_attr_tab()
408 future_free(future_p); in btc_gatts_act_create_attr_tab()