Home
last modified time | relevance | path

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

/hal_espressif-3.7.0/components/bt/host/bluedroid/api/
Desp_bt_main.c34 future_t **future_p; in esp_bluedroid_enable() local
46 future_p = btc_main_get_future_p(BTC_MAIN_ENABLE_FUTURE); in esp_bluedroid_enable()
47 *future_p = future_new(); in esp_bluedroid_enable()
48 if (*future_p == NULL) { in esp_bluedroid_enable()
62 if (future_await(*future_p) == FUTURE_FAIL) { in esp_bluedroid_enable()
75 future_t **future_p; in esp_bluedroid_disable() local
82 future_p = btc_main_get_future_p(BTC_MAIN_DISABLE_FUTURE); in esp_bluedroid_disable()
83 *future_p = future_new(); in esp_bluedroid_disable()
84 if (*future_p == NULL) { in esp_bluedroid_disable()
98 if (future_await(*future_p) == FUTURE_FAIL) { in esp_bluedroid_disable()
[all …]
/hal_espressif-3.7.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()