Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 25 of 481) sorted by relevance

12345678910>>...20

/hal_espressif-3.6.0/components/esp_https_ota/src/
Desp_https_ota.c166 esp_err_t esp_https_ota_begin(esp_https_ota_config_t *ota_config, esp_https_ota_handle_t *handle) in esp_https_ota_begin() argument
170 if (handle == NULL || ota_config == NULL || ota_config->http_config == NULL) { in esp_https_ota_begin()
172 if (handle) { in esp_https_ota_begin()
173 *handle = NULL; in esp_https_ota_begin()
183 *handle = NULL; in esp_https_ota_begin()
191 *handle = NULL; in esp_https_ota_begin()
277 *handle = (esp_https_ota_handle_t)https_ota_handle; in esp_https_ota_begin()
285 *handle = NULL; in esp_https_ota_begin()
289 static esp_err_t read_header(esp_https_ota_t *handle) in read_header() argument
301 while (data_read_size > 0 && !esp_http_client_is_complete_data_received(handle->http_client)) { in read_header()
[all …]
/hal_espressif-3.6.0/components/esp_serial_slave_link/
Dessl.c53 esp_err_t essl_init(essl_handle_t handle, uint32_t wait_ms) in essl_init() argument
55 CHECK_EXECUTE_CMD(handle, init, wait_ms); in essl_init()
58 esp_err_t essl_wait_for_ready(essl_handle_t handle, uint32_t wait_ms) in essl_wait_for_ready() argument
60 CHECK_EXECUTE_CMD(handle, wait_for_ready, wait_ms); in essl_wait_for_ready()
63 esp_err_t essl_send_packet(essl_handle_t handle, const void *start, size_t length, uint32_t wait_ms) in essl_send_packet() argument
65 if (handle == NULL || start == NULL || length == 0) { in essl_send_packet()
68 if (handle->send_packet == NULL) { in essl_send_packet()
81 err = handle->send_packet(handle->args, start, length, remain_wait_ms); in essl_send_packet()
92 esp_err_t essl_get_packet(essl_handle_t handle, void *out_data, size_t size, size_t *out_length, ui… in essl_get_packet() argument
94 if (handle == NULL) { in essl_get_packet()
[all …]
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_core/storage/
Dsettings_nvs.c25 bt_mesh_nvs_handle_t handle; member
63 int bt_mesh_settings_nvs_open(const char* name, bt_mesh_nvs_handle_t *handle) in bt_mesh_settings_nvs_open() argument
66 return nvs_open_from_partition(CONFIG_BLE_MESH_PARTITION_NAME, name, NVS_READWRITE, handle); in bt_mesh_settings_nvs_open()
68 return nvs_open(name, NVS_READWRITE, handle); in bt_mesh_settings_nvs_open()
72 void bt_mesh_settings_nvs_close(bt_mesh_nvs_handle_t handle) in bt_mesh_settings_nvs_close() argument
74 nvs_close(handle); in bt_mesh_settings_nvs_close()
110 err = bt_mesh_settings_nvs_open(ctx->nvs_name, &ctx->handle); in bt_mesh_settings_init_foreach()
150 bt_mesh_settings_nvs_close(ctx->handle); in bt_mesh_settings_deinit_foreach()
159 int bt_mesh_settings_direct_open(bt_mesh_nvs_handle_t *handle) in bt_mesh_settings_direct_open() argument
175 err = bt_mesh_settings_nvs_open(ctx->nvs_name, &ctx->handle); in bt_mesh_settings_direct_open()
[all …]
/hal_espressif-3.6.0/components/wear_levelling/
Dwear_levelling.cpp60 static esp_err_t check_handle(wl_handle_t handle, const char *func);
171 esp_err_t wl_unmount(wl_handle_t handle) in wl_unmount() argument
175 result = check_handle(handle, __func__); in wl_unmount()
178 result = s_instances[handle].instance->flush(); in wl_unmount()
180 Flash_Access *drv = s_instances[handle].instance->get_drv(); in wl_unmount()
183 s_instances[handle].instance->~WL_Flash(); in wl_unmount()
184 free(s_instances[handle].instance); in wl_unmount()
185 s_instances[handle].instance = NULL; in wl_unmount()
186 _lock_close(&s_instances[handle].lock); // also zeroes the lock variable in wl_unmount()
192 esp_err_t wl_erase_range(wl_handle_t handle, size_t start_addr, size_t size) in wl_erase_range() argument
[all …]
/hal_espressif-3.6.0/components/nvs_flash/test_nvs_host/
Dtest_nvs_cxx_api.cpp34 shared_ptr<nvs::NVSHandle> handle; variable
39 handle = nvs::open_nvs_handle_from_partition(nullptr, "ns_1", NVS_READWRITE, &result);
41 CHECK(!handle);
43 handle = nvs::open_nvs_handle_from_partition("test", nullptr, NVS_READWRITE, &result);
45 CHECK(!handle);
54 shared_ptr<nvs::NVSHandle> handle; variable
56 handle = nvs::open_nvs_handle_from_partition("test", "ns_1", NVS_READWRITE, &result);
59 CHECK(!handle);
68 shared_ptr<nvs::NVSHandle> handle; variable
75 handle = nvs::open_nvs_handle_from_partition("test", "ns_1", NVS_READWRITE, &result);
[all …]
Dtest_nvs_handle.cpp41 NVSHandleSimple *handle; variable
42 …REQUIRE(NVSPartitionManager::get_instance()->open_handle("test", "ns_1", NVS_READWRITE, &handle) =…
46 delete handle;
137 NVSHandleSimple *handle; variable
138 …ger::get_instance()->open_handle(NVS_DEFAULT_PART_NAME, "ns_1", NVS_READWRITE, &handle) == ESP_OK);
143 CHECK(handle->set_item("key", test_e) == ESP_OK);
145 CHECK(handle->get_item("key", test_e_read) == ESP_OK);
148 delete handle;
169 NVSHandleSimple *handle; variable
170 …ger::get_instance()->open_handle(NVS_DEFAULT_PART_NAME, "ns_1", NVS_READWRITE, &handle) == ESP_OK);
[all …]
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/rfcomm/
Dport_api.c231 int RFCOMM_RemoveConnection (UINT16 handle) in RFCOMM_RemoveConnection() argument
235 RFCOMM_TRACE_API ("RFCOMM_RemoveConnection() handle:%d", handle); in RFCOMM_RemoveConnection()
238 if ((handle == 0) || (handle > MAX_RFC_PORTS)) { in RFCOMM_RemoveConnection()
239 RFCOMM_TRACE_ERROR ("RFCOMM_RemoveConnection() BAD handle:%d", handle); in RFCOMM_RemoveConnection()
242 p_port = &rfc_cb.port.port[handle - 1]; in RFCOMM_RemoveConnection()
245 RFCOMM_TRACE_EVENT ("RFCOMM_RemoveConnection() Not opened:%d", handle); in RFCOMM_RemoveConnection()
265 int RFCOMM_RemoveServer (UINT16 handle) in RFCOMM_RemoveServer() argument
269 RFCOMM_TRACE_API ("RFCOMM_RemoveServer() handle:%d", handle); in RFCOMM_RemoveServer()
272 if ((handle == 0) || (handle > MAX_RFC_PORTS)) { in RFCOMM_RemoveServer()
273 RFCOMM_TRACE_ERROR ("RFCOMM_RemoveServer() BAD handle:%d", handle); in RFCOMM_RemoveServer()
[all …]
/hal_espressif-3.6.0/components/freertos/test/
Dtest_freertos_backported_functions.c97 …QueueHandle_t handle = xQueueCreateStatic(NO_OF_ITEMS, ITEM_SIZE,(uint8_t*) &queue_storage_area, &… variable
98 TEST_ASSERT_EQUAL(pdTRUE, xQueueSendToBack(handle, &queue_item_to_send, DELAY_TICKS));
100 TEST_ASSERT_EQUAL(pdTRUE, xQueueReceive(handle, queue_item_received, DELAY_TICKS));
105 …vQueueDelete(handle); //Technically not needed as deleting static queue/semphr doesn't clear sta…
108 handle = xSemaphoreCreateBinaryStatic(&queue_buffer); //Queue and Semphr handles are the same
109 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreGive(handle));
111 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreTake(handle, DELAY_TICKS));
113 vSemaphoreDelete(handle);
116 handle = xSemaphoreCreateCountingStatic(NO_OF_ITEMS, 0, &queue_buffer);
118 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreGive(handle));
[all …]
/hal_espressif-3.6.0/components/wear_levelling/test/
Dtest_wl.c25 wl_handle_t handle; variable
29 TEST_ESP_OK(wl_mount(partition, &handle));
30 wl_unmount(handle);
46 wl_handle_t handle; variable
56 TEST_ESP_ERR(ESP_ERR_INVALID_ARG, wl_mount(&fake_partition, &handle));
70 TEST_ESP_OK(wl_mount(&fake_partition, &handle));
71 wl_unmount(handle);
90 wl_handle_t handle; member
100 .handle = handle_ \
111 err = wl_write(args->handle, args->offset + i * sizeof(val), &val, sizeof(val)); in read_write_task()
[all …]
/hal_espressif-3.6.0/components/driver/test/
Dtest_spi_bus_lock.c39 spi_device_handle_t handle; member
58 spi_device_handle_t handle = ((task_context_t*)arg)->handle; in spi_task1() local
60 TEST_ESP_OK(spi_device_polling_transmit( handle, &t )); in spi_task1()
63 TEST_ESP_OK(spi_device_acquire_bus( handle, portMAX_DELAY )); in spi_task1()
65 TEST_ESP_OK(spi_device_polling_transmit( handle, &t )); in spi_task1()
68 spi_device_release_bus(handle); in spi_task1()
84 spi_device_handle_t handle = ((task_context_t*)arg)->handle; in spi_task2() local
85 TEST_ESP_OK(spi_device_acquire_bus( handle, portMAX_DELAY )); in spi_task2()
88 TEST_ESP_OK(spi_device_polling_transmit(handle, &t)); in spi_task2()
93 TEST_ESP_OK(spi_device_queue_trans(handle, &t, portMAX_DELAY)); in spi_task2()
[all …]
/hal_espressif-3.6.0/components/nvs_flash/include/
Dnvs.h188 esp_err_t nvs_set_i8 (nvs_handle_t handle, const char* key, int8_t value);
195 esp_err_t nvs_set_u8 (nvs_handle_t handle, const char* key, uint8_t value);
202 esp_err_t nvs_set_i16 (nvs_handle_t handle, const char* key, int16_t value);
209 esp_err_t nvs_set_u16 (nvs_handle_t handle, const char* key, uint16_t value);
216 esp_err_t nvs_set_i32 (nvs_handle_t handle, const char* key, int32_t value);
223 esp_err_t nvs_set_u32 (nvs_handle_t handle, const char* key, uint32_t value);
230 esp_err_t nvs_set_i64 (nvs_handle_t handle, const char* key, int64_t value);
237 esp_err_t nvs_set_u64 (nvs_handle_t handle, const char* key, uint64_t value);
266 esp_err_t nvs_set_str (nvs_handle_t handle, const char* key, const char* value);
296 esp_err_t nvs_set_blob(nvs_handle_t handle, const char* key, const void* value, size_t length);
[all …]
/hal_espressif-3.6.0/examples/peripherals/rmt/step_motor/components/step_motor/src/
Dstep_motor.c9 esp_err_t step_motor_init(step_motor_t *handle) in step_motor_init() argument
11 return handle->init(handle); in step_motor_init()
14 esp_err_t step_motor_deinit(step_motor_t *handle) in step_motor_deinit() argument
16 return handle->deinit(handle); in step_motor_deinit()
19 esp_err_t step_motor_step(step_motor_t *handle, uint32_t n, uint32_t speed) in step_motor_step() argument
21 return handle->step(handle, n, speed); in step_motor_step()
24 esp_err_t step_motor_smooth_step(step_motor_t *handle, uint32_t n, uint32_t speed_steps, uint32_t s… in step_motor_smooth_step() argument
26 return handle->smooth_step(handle, n, speed_steps, speed_min, speed_max); in step_motor_smooth_step()
29 esp_err_t step_motor_set_step(step_motor_t *handle, uint16_t microstep, bool direction) in step_motor_set_step() argument
31 return handle->set_step(handle, microstep, direction); in step_motor_set_step()
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/jv/
Dbta_jv_api.c85 bta_jv_cb.pm_cb[i].handle = BTA_JV_PM_HANDLE_CLEAR; in BTA_JvEnable()
335 tBTA_JV_STATUS BTA_JvDeleteRecord(UINT32 handle) in BTA_JvDeleteRecord() argument
343 p_msg->handle = handle; in BTA_JvDeleteRecord()
470 tBTA_JV_STATUS BTA_JvL2capClose(UINT32 handle) in BTA_JvL2capClose() argument
477 if (handle < BTA_JV_MAX_L2C_CONN && bta_jv_cb.l2c_cb[handle].p_cback && in BTA_JvL2capClose()
480 p_msg->handle = handle; in BTA_JvL2capClose()
481 p_msg->p_cb = &bta_jv_cb.l2c_cb[handle]; in BTA_JvL2capClose()
500 tBTA_JV_STATUS BTA_JvL2capCloseLE(UINT32 handle) in BTA_JvL2capCloseLE() argument
509 p_msg->handle = handle; in BTA_JvL2capCloseLE()
691 tBTA_JV_STATUS BTA_JvL2capRead(UINT32 handle, UINT32 req_id, UINT8 *p_data, UINT16 len) in BTA_JvL2capRead() argument
[all …]
Dbta_jv_act.c60 uint16_t handle; member
164 if (bta_jv_cb.rfc_cb[i].handle ) { in get_rfc_cb_used()
209 if (0 == bta_jv_cb.rfc_cb[i].handle ) { in bta_jv_alloc_rfc_cb()
212 p_cb->handle = (i + 1) | BTA_JV_RFCOMM_MASK; in bta_jv_alloc_rfc_cb()
221 port_handle, p_cb->handle); in bta_jv_alloc_rfc_cb()
224 p_pcb->handle = p_cb->handle; in bta_jv_alloc_rfc_cb()
252 && bta_jv_cb.port_cb[port_handle - 1].handle) { in bta_jv_rfc_port_to_pcb()
271 UINT32 handle; in bta_jv_rfc_port_to_cb() local
274 && bta_jv_cb.port_cb[port_handle - 1].handle) { in bta_jv_rfc_port_to_cb()
275 handle = bta_jv_cb.port_cb[port_handle - 1].handle; in bta_jv_rfc_port_to_cb()
[all …]
/hal_espressif-3.6.0/examples/peripherals/sdio/host/main/
Dapp_main.c99 esp_err_t slave_reset(essl_handle_t handle) in slave_reset() argument
103 ret = essl_write_reg(handle, 0, JOB_RESET, NULL, TIMEOUT_MAX); in slave_reset()
107 ret = essl_send_slave_intr(handle, BIT(SLAVE_INTR_NOTIFY), TIMEOUT_MAX); in slave_reset()
113 ret = essl_wait_for_ready(handle, TIMEOUT_MAX); in slave_reset()
162 esp_err_t slave_init(essl_handle_t* handle) in slave_init() argument
256 err = essl_sdio_init_dev(handle, &ser_config); in slave_init()
259 esp_err_t ret = essl_init(*handle, TIMEOUT_MAX); in slave_init()
296 static esp_err_t get_intr(essl_handle_t handle, uint32_t* out_raw, uint32_t* out_st) in get_intr() argument
300 ret = essl_wait_int(handle, 0); in get_intr()
306 ret = essl_get_intr(handle, out_raw, out_st, TIMEOUT_MAX); in get_intr()
[all …]
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/include/bta/
Dbta_jv_api.h184 UINT32 handle; /* The SDP handle */ member
191 UINT32 handle; /* The connection handle */ member
199 UINT32 handle; /* The connection handle */ member
206 UINT32 handle; /* The connection handle */ member
213 UINT32 handle; /* The connection handle */ member
220 UINT32 handle; /* The connection handle */ member
227 UINT32 handle; /* The connection handle */ member
237 UINT32 handle; /* The connection handle */ member
247 UINT32 handle; /* The connection handle */ member
256 UINT32 handle; /* The connection handle */ member
[all …]
/hal_espressif-3.6.0/components/esp_pm/
Dpm_locks.c84 esp_err_t esp_pm_lock_delete(esp_pm_lock_handle_t handle) in esp_pm_lock_delete() argument
90 if (handle == NULL) { in esp_pm_lock_delete()
94 if (handle->count > 0) { in esp_pm_lock_delete()
98 SLIST_REMOVE(&s_list, handle, esp_pm_lock, next); in esp_pm_lock_delete()
100 free(handle); in esp_pm_lock_delete()
104 esp_err_t IRAM_ATTR esp_pm_lock_acquire(esp_pm_lock_handle_t handle) in esp_pm_lock_acquire() argument
110 if (handle == NULL) { in esp_pm_lock_acquire()
114 portENTER_CRITICAL_SAFE(&handle->spinlock); in esp_pm_lock_acquire()
115 if (handle->count++ == 0) { in esp_pm_lock_acquire()
120 esp_pm_impl_switch_mode(handle->mode, MODE_LOCK, now); in esp_pm_lock_acquire()
[all …]
/hal_espressif-3.6.0/components/nvs_flash/src/
Dnvs_api.cpp34 NVSHandleEntry(nvs::NVSHandleSimple *handle, const char* part_name) in NVSHandleEntry() argument
35 : nvs_handle(handle), in NVSHandleEntry()
267 static esp_err_t nvs_find_ns_handle(nvs_handle_t c_handle, NVSHandleSimple** handle) in nvs_find_ns_handle() argument
275 *handle = it->nvs_handle; in nvs_find_ns_handle()
284 NVSHandleSimple *handle; in nvs_open_from_partition() local
285 …r_t result = NVSPartitionManager::get_instance()->open_handle(part_name, name, open_mode, &handle); in nvs_open_from_partition()
287 NVSHandleEntry *entry = new (std::nothrow) NVSHandleEntry(handle, part_name); in nvs_open_from_partition()
292 delete handle; in nvs_open_from_partition()
305 extern "C" void nvs_close(nvs_handle_t handle) in nvs_close() argument
308 ESP_LOGD(TAG, "%s %d", __func__, static_cast<int>(handle)); in nvs_close()
[all …]
Dnvs_handle_locked.cpp18 NVSHandleLocked::NVSHandleLocked(NVSHandleSimple *handle) : handle(handle) { } in NVSHandleLocked() argument
22 delete handle; in ~NVSHandleLocked()
27 return handle->set_string(key, str); in set_string()
32 return handle->set_blob(key, blob, len); in set_blob()
37 return handle->get_string(key, out_str, len); in get_string()
42 return handle->get_blob(key, out_blob, len); in get_blob()
47 return handle->get_item_size(datatype, key, size); in get_item_size()
52 return handle->erase_item(key); in erase_item()
57 return handle->erase_all(); in erase_all()
62 return handle->commit(); in commit()
[all …]
/hal_espressif-3.6.0/components/usb/
Dusb_phy.c86 esp_err_t usb_phy_otg_set_mode(usb_phy_handle_t handle, usb_otg_mode_t mode) in usb_phy_otg_set_mode() argument
88 ESP_RETURN_ON_FALSE(handle, ESP_ERR_INVALID_ARG, USBPHY_TAG, "handle argument is invalid"); in usb_phy_otg_set_mode()
90 …ESP_RETURN_ON_FALSE(handle->controller == USB_PHY_CTRL_OTG, ESP_FAIL, USBPHY_TAG, "phy source is n… in usb_phy_otg_set_mode()
92 handle->otg_mode = mode; in usb_phy_otg_set_mode()
98 if (handle->target == USB_PHY_TARGET_INT) { in usb_phy_otg_set_mode()
99 usb_phy_hal_int_load_conf_host(&(handle->hal_context)); in usb_phy_otg_set_mode()
111 esp_err_t usb_phy_otg_dev_set_speed(usb_phy_handle_t handle, usb_phy_speed_t speed) in usb_phy_otg_dev_set_speed() argument
113 ESP_RETURN_ON_FALSE(handle, ESP_ERR_INVALID_ARG, USBPHY_TAG, "handle argument is invalid"); in usb_phy_otg_dev_set_speed()
115 …ESP_RETURN_ON_FALSE(handle->controller == USB_PHY_CTRL_OTG, ESP_FAIL, USBPHY_TAG, "phy source is n… in usb_phy_otg_dev_set_speed()
116 …ESP_RETURN_ON_FALSE((handle->target == USB_PHY_TARGET_INT && handle->otg_mode == USB_OTG_MODE_DEVI… in usb_phy_otg_dev_set_speed()
[all …]
/hal_espressif-3.6.0/components/esp_serial_slave_link/include/esp_serial_slave_link/
Dessl.h37 esp_err_t essl_init(essl_handle_t handle, uint32_t wait_ms);
49 esp_err_t essl_wait_for_ready(essl_handle_t handle, uint32_t wait_ms);
62 esp_err_t essl_get_tx_buffer_num(essl_handle_t handle, uint32_t *out_tx_num, uint32_t wait_ms);
75 esp_err_t essl_get_rx_data_size(essl_handle_t handle, uint32_t *out_rx_size, uint32_t wait_ms);
87 esp_err_t essl_reset_cnt(essl_handle_t handle);
104 esp_err_t essl_send_packet(essl_handle_t handle, const void *start, size_t length, uint32_t wait_ms…
122 esp_err_t essl_get_packet(essl_handle_t handle, void *out_data, size_t size, size_t *out_length, ui…
138 esp_err_t essl_write_reg(essl_handle_t handle, uint8_t addr, uint8_t value, uint8_t *value_o, uint3…
151 esp_err_t essl_read_reg(essl_handle_t handle, uint8_t add, uint8_t *value_o, uint32_t wait_ms);
163 esp_err_t essl_wait_int(essl_handle_t handle, uint32_t wait_ms);
[all …]
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/hf_ag/
Dbta_ag_rfc.c93 static void bta_ag_port_cback(UINT32 code, UINT16 port_handle, UINT16 handle) in bta_ag_port_cback() argument
99 if ((p_scb = bta_ag_scb_by_idx(handle)) != NULL) { in bta_ag_port_cback()
103 port_handle, p_scb->conn_handle, handle); in bta_ag_port_cback()
109 p_buf->layer_specific = handle; in bta_ag_port_cback()
125 static void bta_ag_mgmt_cback(UINT32 code, UINT16 port_handle, UINT16 handle) in bta_ag_mgmt_cback() argument
134 code, port_handle, handle); in bta_ag_mgmt_cback()
136 if ((p_scb = bta_ag_scb_by_idx(handle)) != NULL) { in bta_ag_mgmt_cback()
170 p_buf->hdr.layer_specific = handle; in bta_ag_mgmt_cback()
187 static int bta_ag_data_cback(UINT16 port_handle, void *p_data, UINT16 len, UINT16 handle) in bta_ag_data_cback() argument
193 bta_ag_co_tx_write(handle, (UINT8 *) p_data, len); in bta_ag_data_cback()
[all …]
/hal_espressif-3.6.0/components/driver/
Dspi_master.c304 …ost_device_t host_id, const spi_device_interface_config_t *dev_config, spi_device_handle_t *handle) in spi_bus_add_device() argument
414 *handle = dev; in spi_bus_add_device()
429 esp_err_t spi_bus_remove_device(spi_device_handle_t handle) in spi_bus_remove_device() argument
431 SPI_CHECK(handle!=NULL, "invalid handle", ESP_ERR_INVALID_ARG); in spi_bus_remove_device()
434 …SPI_CHECK(uxQueueMessagesWaiting(handle->trans_queue)==0, "Have unfinished transactions", ESP_ERR_… in spi_bus_remove_device()
435 …SPI_CHECK(handle->host->cur_cs == DEV_NUM_MAX || handle->host->device[handle->host->cur_cs] != han… in spi_bus_remove_device()
436 …SPI_CHECK(uxQueueMessagesWaiting(handle->ret_queue)==0, "Have unfinished transactions", ESP_ERR_IN… in spi_bus_remove_device()
439 int spics_io_num = handle->cfg.spics_io_num; in spi_bus_remove_device()
443 vQueueDelete(handle->trans_queue); in spi_bus_remove_device()
444 vQueueDelete(handle->ret_queue); in spi_bus_remove_device()
[all …]
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_core/
Dadv.c51 QueueHandle_t handle; member
111 TaskHandle_t handle; member
242 QueueSetMemberHandle_t handle = NULL; in adv_thread() local
256 xQueueReceive(adv_queue.handle, &msg, K_NO_WAIT); in adv_thread()
262 xQueueReceive(adv_queue.handle, &msg, K_WAIT(timeout)); in adv_thread()
267 xQueueReceive(adv_queue.handle, &msg, portMAX_DELAY); in adv_thread()
272 handle = xQueueSelectFromSet(mesh_queue_set, K_NO_WAIT); in adv_thread()
273 if (handle) { in adv_thread()
274 if (uxQueueMessagesWaiting(adv_queue.handle)) { in adv_thread()
275 xQueueReceive(adv_queue.handle, &msg, K_NO_WAIT); in adv_thread()
[all …]
/hal_espressif-3.6.0/components/esp_hw_support/
Dintr_alloc.c607 esp_err_t IRAM_ATTR esp_intr_set_in_iram(intr_handle_t handle, bool is_in_iram) in esp_intr_set_in_iram() argument
609 if (!handle) return ESP_ERR_INVALID_ARG; in esp_intr_set_in_iram()
610 vector_desc_t *vd = handle->vector_desc; in esp_intr_set_in_iram()
634 esp_err_t esp_intr_free(intr_handle_t handle) in esp_intr_free() argument
637 if (!handle) return ESP_ERR_INVALID_ARG; in esp_intr_free()
641 if (handle->vector_desc->cpu!=cpu_hal_get_core_id()) { in esp_intr_free()
642 …esp_err_t ret = esp_ipc_call_blocking(handle->vector_desc->cpu, &esp_intr_free_cb, (void *)handle); in esp_intr_free()
648 esp_intr_disable(handle); in esp_intr_free()
649 if (handle->vector_desc->flags&VECDESC_FL_SHARED) { in esp_intr_free()
651 shared_vector_desc_t *svd=handle->vector_desc->shared_vec_info; in esp_intr_free()
[all …]

12345678910>>...20