Home
last modified time | relevance | path

Searched refs:os_func_data (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-3.4.0/components/spi_flash/
Dspi_flash_os_func_app.c242 chip->os_func_data = heap_caps_malloc(sizeof(spi1_app_func_arg_t), in esp_flash_init_os_functions()
244 if (chip->os_func_data == NULL) { in esp_flash_init_os_functions()
247 *(spi1_app_func_arg_t*) chip->os_func_data = (spi1_app_func_arg_t) { in esp_flash_init_os_functions()
256 chip->os_func_data = heap_caps_malloc(sizeof(app_func_arg_t), in esp_flash_init_os_functions()
258 if (chip->os_func_data == NULL) { in esp_flash_init_os_functions()
261 *(app_func_arg_t*) chip->os_func_data = (app_func_arg_t) { in esp_flash_init_os_functions()
278 if (chip->os_func_data) { in esp_flash_deinit_os_functions()
279 spi_bus_lock_dev_handle_t dev_lock = ((app_func_arg_t*)chip->os_func_data)->dev_lock; in esp_flash_deinit_os_functions()
284 free(chip->os_func_data); in esp_flash_deinit_os_functions()
287 chip->os_func_data = NULL; in esp_flash_deinit_os_functions()
[all …]
Desp_flash_spi_init.c161 chip->os_func->start(chip->os_func_data); in cs_initialize()
182 chip->os_func->end(chip->os_func_data); in cs_initialize()
Dspi_flash_chip_generic.c387 err = chip->os_func->check_yield(chip->os_func_data, flags, &request); in spi_flash_chip_generic_yield()
392 err = chip->os_func->yield(chip->os_func_data, &status); in spi_flash_chip_generic_yield()
419 chip->os_func->delay_us(chip->os_func_data, delay); in spi_flash_chip_generic_wait_idle()
443 chip->os_func->delay_us(chip->os_func_data, delay); in spi_flash_chip_generic_wait_idle()
Dspi_flash_os_func_noos.c118 chip->os_func_data = &spi_arg; in esp_flash_app_disable_os_functions()
Desp_flash_api.c66 …P->os_func->region_protected && CHIP->os_func->region_protected(CHIP->os_func_data, ADDR, SIZE)) {…
128 esp_err_t err = chip->os_func->start(chip->os_func_data); in spiflash_start_default()
143 esp_err_t end_err = chip->os_func->end(chip->os_func_data); in spiflash_end_default()
811 … temp_buffer = chip->os_func->get_temp_buffer(chip->os_func_data, read_chunk_size, &actual_len); in esp_flash_read()
851 chip->os_func->release_temp_buffer(chip->os_func_data, temp_buffer); in esp_flash_read()
/hal_espressif-3.4.0/tools/test_apps/system/panic/main/
Dtest_panic_main.c78 esp_flash_default_chip->os_func->start(esp_flash_default_chip->os_func_data); in test_abort_cache_disabled()
104 esp_flash_default_chip->os_func->start(esp_flash_default_chip->os_func_data); in test_cache_error()
110 esp_flash_default_chip->os_func->start(esp_flash_default_chip->os_func_data); in test_int_wdt_cache_disabled()
124 esp_flash_default_chip->os_func->start(esp_flash_default_chip->os_func_data); in test_assert_cache_disabled()
/hal_espressif-3.4.0/components/spi_flash/include/
Desp_flash.h100 …void *os_func_data; ///< Pointer to argument for os-specific hooks. Left N… member