Searched refs:total_sector_num (Results 1 – 1 of 1) sorted by relevance
617 int32_t total_sector_num; in esp_rom_spiflash_erase_area() local645 …total_sector_num = (0 == (area_len % g_rom_spiflash_chip.sector_size)) ? area_len / g_rom_spiflash… in esp_rom_spiflash_erase_area()651 head_sector_num = (head_sector_num >= total_sector_num) ? total_sector_num : head_sector_num; in esp_rom_spiflash_erase_area()655 total_sector_num -= head_sector_num; in esp_rom_spiflash_erase_area()665 while (total_sector_num > sector_num_per_block) { in esp_rom_spiflash_erase_area()670 total_sector_num -= sector_num_per_block; in esp_rom_spiflash_erase_area()674 while (0 < total_sector_num) { in esp_rom_spiflash_erase_area()679 total_sector_num--; in esp_rom_spiflash_erase_area()