Home
last modified time | relevance | path

Searched refs:os_func (Results 1 – 6 of 6) sorted by relevance

/device/soc/esp/esp32/components/spi_flash/
Desp_flash_api.c51 …if (CHIP && CHIP->os_func->region_protected && CHIP->os_func->region_protected(CHIP->os_func_data,…
109 if (chip->os_func != NULL && chip->os_func->start != NULL) { in spiflash_start_default()
110 esp_err_t err = chip->os_func->start(chip->os_func_data); in spiflash_start_default()
123 if (chip->os_func != NULL in spiflash_end_default()
124 && chip->os_func->end != NULL) { in spiflash_end_default()
125 esp_err_t end_err = chip->os_func->end(chip->os_func_data); in spiflash_end_default()
641 if (chip->os_func->get_temp_buffer != NULL) { in esp_flash_read()
642 … temp_buffer = chip->os_func->get_temp_buffer(chip->os_func_data, read_chunk_size, &actual_len); in esp_flash_read()
681 if (chip->os_func->release_temp_buffer != NULL) { in esp_flash_read()
682 chip->os_func->release_temp_buffer(chip->os_func_data, temp_buffer); in esp_flash_read()
Dspi_flash_os_func_app.c247 chip->os_func = &esp_flash_spi1_default_os_functions; in esp_flash_init_os_functions()
261 chip->os_func = &esp_flash_spi23_default_os_functions; in esp_flash_init_os_functions()
292 chip->os_func = NULL; in esp_flash_deinit_os_functions()
317 chip->os_func = &esp_flash_spi1_default_os_functions; in esp_flash_app_enable_os_functions()
Desp_flash_spi_init.c133 chip->os_func->start(chip->os_func_data); in cs_initialize()
154 chip->os_func->end(chip->os_func_data); in cs_initialize()
257 .os_func = &esp_flash_noos_functions,
Dspi_flash_chip_generic.c314 if (chip->os_func->check_yield) { in spi_flash_chip_generic_yield()
317 err = chip->os_func->check_yield(chip->os_func_data, flags, &request); in spi_flash_chip_generic_yield()
322 err = chip->os_func->yield(chip->os_func_data, &status); in spi_flash_chip_generic_yield()
349 chip->os_func->delay_us(chip->os_func_data, delay); in spi_flash_chip_generic_wait_idle()
373 chip->os_func->delay_us(chip->os_func_data, delay); in spi_flash_chip_generic_wait_idle()
Dspi_flash_os_func_noos.c112 chip->os_func = &esp_flash_noos_functions; in esp_flash_app_disable_os_functions()
/device/soc/esp/esp32/components/spi_flash/include/
Desp_flash.h99 …const esp_flash_os_functions_t *os_func; ///< Pointer to os-specific hook structure. Call ``esp… member