Lines Matching full:unit
51 #error "Erase unit must be a multiple of program unit"
66 /* increment a unit erase cycles counter */
94 /* -- per-unit statistics -- */
95 /* erase cycle count for unit */
223 /* check if any unit has been already programmed */ in flash_sim_write()
281 static void unit_erase(const uint32_t unit) in unit_erase() argument
284 (unit * FLASH_SIMULATOR_ERASE_UNIT); in unit_erase()
286 /* erase the memory unit by setting it to erase value */ in unit_erase()
300 /* erase operation must be aligned to the erase unit boundary */ in flash_sim_erase()
315 /* the first unit to be erased */ in flash_sim_erase()
412 /* erase the memory unit by pulling all bits to one */ in flash_mock_init()