Home
last modified time | relevance | path

Searched refs:start_address (Results 1 – 11 of 11) sorted by relevance

/hal_espressif-latest/components/spi_flash/
Dspi_flash_chip_winbond.c31 …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 …]
Dmemspi_host_driver.c144 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()
Dspi_flash_chip_gd.c21 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);
Dspi_flash_chip_mxic_opi.c199 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()
Dspi_flash_chip_generic.c174 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/
Dspi_flash_hal_iram.c39 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/
Dmemspi_host_driver.h111 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);
Dspi_flash_chip_generic.h91 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/
Dspi_flash_types.h74 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/
Dspi_flash_hal.h134 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);
Dspi_flash_types.h155 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);