/hal_espressif-latest/components/spi_flash/ |
D | spi_flash_chip_winbond.c | 31 …tic esp_err_t spi_flash_command_winbond_erase_sector_4B(esp_flash_t *chip, uint32_t start_address); 32 static esp_err_t spi_flash_command_erase_block_4B(esp_flash_t *chip, uint32_t start_address); 99 esp_err_t spi_flash_chip_winbond_erase_sector(esp_flash_t *chip, uint32_t start_address) in spi_flash_chip_winbond_erase_sector() argument 107 err = spi_flash_command_winbond_erase_sector_4B(chip, start_address); in spi_flash_chip_winbond_erase_sector() 113 … err = chip->host->driver->flush_cache(chip->host, start_address, chip->chip_drv->sector_size); in spi_flash_chip_winbond_erase_sector() 123 esp_err_t spi_flash_chip_winbond_erase_block(esp_flash_t *chip, uint32_t start_address) in spi_flash_chip_winbond_erase_block() argument 131 err = spi_flash_command_erase_block_4B(chip, start_address); in spi_flash_chip_winbond_erase_block() 137 …err = chip->host->driver->flush_cache(chip->host, start_address, chip->chip_drv->block_erase_size); in spi_flash_chip_winbond_erase_block() 216 esp_err_t spi_flash_command_winbond_erase_sector_4B(esp_flash_t *chip, uint32_t start_address) in spi_flash_command_winbond_erase_sector_4B() argument 218 bool addr_4b = ADDR_32BIT(start_address); in spi_flash_command_winbond_erase_sector_4B() [all …]
|
D | memspi_host_driver.c | 144 void memspi_host_erase_sector(spi_flash_host_inst_t *host, uint32_t start_address) in memspi_host_erase_sector() argument 146 assert(start_address < 0x1000000); in memspi_host_erase_sector() 150 .address = start_address in memspi_host_erase_sector() 156 void memspi_host_erase_block(spi_flash_host_inst_t *host, uint32_t start_address) in memspi_host_erase_block() argument 158 assert(start_address < 0x1000000); in memspi_host_erase_block() 162 .address = start_address, in memspi_host_erase_block()
|
D | spi_flash_chip_gd.c | 21 extern esp_err_t spi_flash_chip_winbond_erase_sector(esp_flash_t *chip, uint32_t start_address); 22 extern esp_err_t spi_flash_chip_winbond_erase_block(esp_flash_t *chip, uint32_t start_address);
|
D | spi_flash_chip_mxic_opi.c | 199 esp_err_t spi_flash_chip_mxic_opi_erase_sector(esp_flash_t *chip, uint32_t start_address) in spi_flash_chip_mxic_opi_erase_sector() argument 210 .address = start_address, in spi_flash_chip_mxic_opi_erase_sector() 228 esp_err_t spi_flash_chip_mxic_opi_erase_block(esp_flash_t *chip, uint32_t start_address) in spi_flash_chip_mxic_opi_erase_block() argument 239 .address = start_address, in spi_flash_chip_mxic_opi_erase_block()
|
D | spi_flash_chip_generic.c | 174 esp_err_t spi_flash_chip_generic_erase_sector(esp_flash_t *chip, uint32_t start_address) in spi_flash_chip_generic_erase_sector() argument 183 chip->host->driver->erase_sector(chip->host, start_address); in spi_flash_chip_generic_erase_sector() 200 esp_err_t spi_flash_chip_generic_erase_block(esp_flash_t *chip, uint32_t start_address) in spi_flash_chip_generic_erase_block() argument 209 chip->host->driver->erase_block(chip->host, start_address); in spi_flash_chip_generic_erase_block()
|
/hal_espressif-latest/components/hal/ |
D | spi_flash_hal_iram.c | 39 void spi_flash_hal_erase_sector(spi_flash_host_inst_t *host, uint32_t start_address) in spi_flash_hal_erase_sector() argument 43 spi_flash_ll_set_address(dev, start_address & ADDRESS_MASK_24BIT); in spi_flash_hal_erase_sector() 56 void spi_flash_hal_erase_block(spi_flash_host_inst_t *host, uint32_t start_address) in spi_flash_hal_erase_block() argument 60 spi_flash_ll_set_address(dev, start_address & ADDRESS_MASK_24BIT); in spi_flash_hal_erase_block()
|
/hal_espressif-latest/components/spi_flash/include/ |
D | memspi_host_driver.h | 111 void memspi_host_erase_sector(spi_flash_host_inst_t *host, uint32_t start_address); 119 void memspi_host_erase_block(spi_flash_host_inst_t *host, uint32_t start_address);
|
D | spi_flash_chip_generic.h | 91 esp_err_t spi_flash_chip_generic_erase_sector(esp_flash_t *chip, uint32_t start_address); 104 esp_err_t spi_flash_chip_generic_erase_block(esp_flash_t *chip, uint32_t start_address);
|
/hal_espressif-latest/components/spi_flash/sim/stubs/soc/include/hal/ |
D | spi_flash_types.h | 74 void (*erase_sector)(spi_flash_host_inst_t *host, uint32_t start_address); 78 void (*erase_block)(spi_flash_host_inst_t *host, uint32_t start_address);
|
/hal_espressif-latest/components/hal/include/hal/ |
D | spi_flash_hal.h | 134 void spi_flash_hal_erase_sector(spi_flash_host_inst_t *host, uint32_t start_address); 143 void spi_flash_hal_erase_block(spi_flash_host_inst_t *host, uint32_t start_address);
|
D | spi_flash_types.h | 155 void (*erase_sector)(spi_flash_host_inst_t *host, uint32_t start_address); 159 void (*erase_block)(spi_flash_host_inst_t *host, uint32_t start_address);
|