Home
last modified time | relevance | path

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

/LevelX-v6.3.0/common/src/
Dlx_nor_flash_driver_read.c118 cache_entry_end = cache_entry_start + LX_NOR_SECTOR_SIZE; in _lx_nor_flash_driver_read()
162 cache_offset = cache_offset & ~((ULONG) (LX_NOR_SECTOR_SIZE-1)); in _lx_nor_flash_driver_read()
169 LX_NOR_SECTOR_SIZE); in _lx_nor_flash_driver_read()
173 LX_NOR_SECTOR_SIZE); in _lx_nor_flash_driver_read()
Dlx_nor_flash_extended_cache_enable.c119 if ((memory) && (size < LX_NOR_SECTOR_SIZE)) in _lx_nor_flash_extended_cache_enable()
294 while (cache_size >= LX_NOR_SECTOR_SIZE) in _lx_nor_flash_extended_cache_enable()
303 cache_memory = cache_memory + LX_NOR_SECTOR_SIZE; in _lx_nor_flash_extended_cache_enable()
306 cache_size = cache_size - LX_NOR_SECTOR_SIZE; in _lx_nor_flash_extended_cache_enable()
Dlx_nor_flash_block_reclaim.c329 …_sector_address >= block_word_ptr) && (new_sector_address < (block_word_ptr + LX_NOR_SECTOR_SIZE))) in _lx_nor_flash_block_reclaim()
347 … (i * LX_NOR_SECTOR_SIZE), LX_NOR_SECTOR_SIZE); in _lx_nor_flash_block_reclaim()
364 … (i * LX_NOR_SECTOR_SIZE), nor_flash -> lx_nor_flash_sector_buffer, in _lx_nor_flash_block_reclaim()
365LX_NOR_SECTOR_SIZE); in _lx_nor_flash_block_reclaim()
379 …_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.c120 status = _lx_nor_flash_driver_read(nor_flash, sector_address, buffer, LX_NOR_SECTOR_SIZE); in _lx_nor_flash_sector_read()
153 … 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.c159 sectors_per_block = (nor_flash -> lx_nor_flash_words_per_block / LX_NOR_SECTOR_SIZE) - 1; in _lx_nor_flash_open()
177 if (total_header_words <= LX_NOR_SECTOR_SIZE) in _lx_nor_flash_open()
181 total_header_words = LX_NOR_SECTOR_SIZE; in _lx_nor_flash_open()
187 header_sectors = (total_header_words-1)/LX_NOR_SECTOR_SIZE; in _lx_nor_flash_open()
193 total_header_words = header_sectors * LX_NOR_SECTOR_SIZE; in _lx_nor_flash_open()
777 …ock_word_ptr + (nor_flash -> lx_nor_flash_block_physical_sector_offset) + (j * LX_NOR_SECTOR_SIZE); in _lx_nor_flash_open()
780 for (k = 0; k < LX_NOR_SECTOR_SIZE; k++) in _lx_nor_flash_open()
Dlx_nor_flash_driver_block_erase.c110 cache_entry_end = cache_entry_start + LX_NOR_SECTOR_SIZE; in _lx_nor_flash_driver_block_erase()
Dlx_nor_flash_driver_write.c111 cache_entry_end = cache_entry_start + LX_NOR_SECTOR_SIZE; in _lx_nor_flash_driver_write()
Dlx_nor_flash_logical_sector_find.c452 …block_word_ptr + nor_flash -> lx_nor_flash_block_physical_sector_offset + (j * LX_NOR_SECTOR_SIZE); in _lx_nor_flash_logical_sector_find()
495 …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.c432 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.c307 …+ (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.c157 … status = _lx_nor_flash_driver_write(nor_flash, new_sector_address, buffer, LX_NOR_SECTOR_SIZE); in _lx_nor_flash_sector_write()
/LevelX-v6.3.0/common/inc/
Dlx_api.h242 #ifndef LX_NOR_SECTOR_SIZE
243 #define LX_NOR_SECTOR_SIZE (512/sizeof(ULONG)) macro