Home
last modified time | relevance | path

Searched refs:LX_NOR_SECTOR_SIZE (Results 1 – 12 of 12) sorted by relevance

/LevelX-v6.2.1/common/src/
Dlx_nor_flash_driver_read.c117 cache_entry_end = cache_entry_start + LX_NOR_SECTOR_SIZE; in _lx_nor_flash_driver_read()
161 cache_offset = cache_offset & ~((ULONG) (LX_NOR_SECTOR_SIZE-1)); in _lx_nor_flash_driver_read()
168 LX_NOR_SECTOR_SIZE); in _lx_nor_flash_driver_read()
172 LX_NOR_SECTOR_SIZE); in _lx_nor_flash_driver_read()
Dlx_nor_flash_extended_cache_enable.c118 if ((memory) && (size < LX_NOR_SECTOR_SIZE)) in _lx_nor_flash_extended_cache_enable()
293 while (cache_size >= LX_NOR_SECTOR_SIZE) in _lx_nor_flash_extended_cache_enable()
302 cache_memory = cache_memory + LX_NOR_SECTOR_SIZE; in _lx_nor_flash_extended_cache_enable()
305 cache_size = cache_size - LX_NOR_SECTOR_SIZE; in _lx_nor_flash_extended_cache_enable()
Dlx_nor_flash_block_reclaim.c328 …_sector_address >= block_word_ptr) && (new_sector_address < (block_word_ptr + LX_NOR_SECTOR_SIZE))) in _lx_nor_flash_block_reclaim()
346 … (i * LX_NOR_SECTOR_SIZE), LX_NOR_SECTOR_SIZE); in _lx_nor_flash_block_reclaim()
363 … (i * LX_NOR_SECTOR_SIZE), nor_flash -> lx_nor_flash_sector_buffer, in _lx_nor_flash_block_reclaim()
364LX_NOR_SECTOR_SIZE); in _lx_nor_flash_block_reclaim()
378 …_write(nor_flash, new_sector_address, nor_flash -> lx_nor_flash_sector_buffer, LX_NOR_SECTOR_SIZE); in _lx_nor_flash_block_reclaim()
Dlx_nor_flash_sector_read.c119 status = _lx_nor_flash_driver_read(nor_flash, sector_address, buffer, LX_NOR_SECTOR_SIZE); in _lx_nor_flash_sector_read()
152 … status = _lx_nor_flash_driver_read(nor_flash, sector_address, buffer, LX_NOR_SECTOR_SIZE); in _lx_nor_flash_sector_read()
Dlx_nor_flash_open.c158 sectors_per_block = (nor_flash -> lx_nor_flash_words_per_block / LX_NOR_SECTOR_SIZE) - 1; in _lx_nor_flash_open()
176 if (total_header_words <= LX_NOR_SECTOR_SIZE) in _lx_nor_flash_open()
180 total_header_words = LX_NOR_SECTOR_SIZE; in _lx_nor_flash_open()
186 header_sectors = (total_header_words-1)/LX_NOR_SECTOR_SIZE; in _lx_nor_flash_open()
192 total_header_words = header_sectors * LX_NOR_SECTOR_SIZE; in _lx_nor_flash_open()
776 …ock_word_ptr + (nor_flash -> lx_nor_flash_block_physical_sector_offset) + (j * LX_NOR_SECTOR_SIZE); in _lx_nor_flash_open()
779 for (k = 0; k < LX_NOR_SECTOR_SIZE; k++) in _lx_nor_flash_open()
Dlx_nor_flash_driver_block_erase.c109 cache_entry_end = cache_entry_start + LX_NOR_SECTOR_SIZE; in _lx_nor_flash_driver_block_erase()
Dlx_nor_flash_driver_write.c110 cache_entry_end = cache_entry_start + LX_NOR_SECTOR_SIZE; in _lx_nor_flash_driver_write()
Dlx_nor_flash_logical_sector_find.c451 …block_word_ptr + nor_flash -> lx_nor_flash_block_physical_sector_offset + (j * LX_NOR_SECTOR_SIZE); in _lx_nor_flash_logical_sector_find()
494 …block_word_ptr + nor_flash -> lx_nor_flash_block_physical_sector_offset + (j * LX_NOR_SECTOR_SIZE); in _lx_nor_flash_logical_sector_find()
Dfx_nor_flash_simulator_driver.c431 if (media_ptr -> fx_media_bytes_per_sector != (LX_NOR_SECTOR_SIZE) * sizeof(ULONG)) in _fx_nor_flash_simulator_driver()
Dlx_nor_flash_physical_sector_allocate.c306 …+ (nor_flash -> lx_nor_flash_block_physical_sector_offset) + (((j * 32) + k) * LX_NOR_SECTOR_SIZE); in _lx_nor_flash_physical_sector_allocate()
Dlx_nor_flash_sector_write.c156 … status = _lx_nor_flash_driver_write(nor_flash, new_sector_address, buffer, LX_NOR_SECTOR_SIZE); in _lx_nor_flash_sector_write()
/LevelX-v6.2.1/common/inc/
Dlx_api.h247 #ifndef LX_NOR_SECTOR_SIZE
248 #define LX_NOR_SECTOR_SIZE (512/sizeof(ULONG)) macro