Searched refs:lx_nand_flash_pages_per_block (Results 1 – 12 of 12) sorted by relevance
/LevelX-v6.3.0/common/src/ |
D | lx_nand_flash_sector_write.c | 205 …mapped_block_list_remove(nand_flash, logical_sector / nand_flash -> lx_nand_flash_pages_per_block); in _lx_nand_flash_sector_write() 208 … -> lx_nand_flash_pages_per_block), block, block_status, new_block, &new_block_status, (logical_se… in _lx_nand_flash_sector_write() 279 …D_BLOCK_STATUS_PAGE_NUMBER_MASK) != (logical_sector % nand_flash -> lx_nand_flash_pages_per_block)) in _lx_nand_flash_sector_write() 290 if (page == nand_flash -> lx_nand_flash_pages_per_block) in _lx_nand_flash_sector_write() 301 …k && ((logical_sector % nand_flash -> lx_nand_flash_pages_per_block) < (nand_flash -> lx_nand_flas… in _lx_nand_flash_sector_write() 305 …ock_status, (nand_flash -> lx_nand_flash_pages_per_block - 1) - (logical_sector % nand_flash -> lx… in _lx_nand_flash_sector_write() 424 …sh_mapped_block_list_add(nand_flash, logical_sector / nand_flash -> lx_nand_flash_pages_per_block); in _lx_nand_flash_sector_write()
|
D | lx_nand_flash_sector_release.c | 147 …es = block_status & LX_NAND_BLOCK_STATUS_FULL ? nand_flash -> lx_nand_flash_pages_per_block : bloc… in _lx_nand_flash_sector_release() 198 if (logical_sector % nand_flash -> lx_nand_flash_pages_per_block < available_pages) in _lx_nand_flash_sector_release() 237 …mapped_block_list_remove(nand_flash, logical_sector / nand_flash -> lx_nand_flash_pages_per_block); in _lx_nand_flash_sector_release() 240 … -> lx_nand_flash_pages_per_block), block, block_status, new_block, &new_block_status, (logical_se… in _lx_nand_flash_sector_release() 259 …if (logical_sector % nand_flash -> lx_nand_flash_pages_per_block < nand_flash -> lx_nand_flash_pag… in _lx_nand_flash_sector_release() 263 …ock_status, (nand_flash -> lx_nand_flash_pages_per_block - 1) - (logical_sector % nand_flash -> lx… in _lx_nand_flash_sector_release() 394 …sh_mapped_block_list_add(nand_flash, logical_sector / nand_flash -> lx_nand_flash_pages_per_block); in _lx_nand_flash_sector_release() 444 if (available_pages == nand_flash -> lx_nand_flash_pages_per_block) in _lx_nand_flash_sector_release()
|
D | lx_nand_flash_block_data_move.c | 110 …sh_block_find(nand_flash, block_mapping_index * nand_flash -> lx_nand_flash_pages_per_block, &bloc… in _lx_nand_flash_block_data_move() 124 …nand_flash -> lx_nand_flash_pages_per_block, block, block_status, new_block, &new_block_status, na… in _lx_nand_flash_block_data_move() 172 …k_mapping_set(nand_flash, block_mapping_index * nand_flash -> lx_nand_flash_pages_per_block, new_b… in _lx_nand_flash_block_data_move()
|
D | lx_nand_flash_data_page_copy.c | 106 …rc_block_status & LX_NAND_BLOCK_STATUS_FULL) ? (nand_flash -> lx_nand_flash_pages_per_block) : (sr… in _lx_nand_flash_data_page_copy() 171 … if ((destination_page) != (logical_sector + i % nand_flash -> lx_nand_flash_pages_per_block)) in _lx_nand_flash_data_page_copy() 181 if (destination_page == nand_flash -> lx_nand_flash_pages_per_block) in _lx_nand_flash_data_page_copy() 197 source_page = (LONG)(logical_sector % nand_flash -> lx_nand_flash_pages_per_block); in _lx_nand_flash_data_page_copy() 237 if (destination_page == nand_flash -> lx_nand_flash_pages_per_block) in _lx_nand_flash_data_page_copy()
|
D | lx_nand_flash_sector_read.c | 135 …es = block_status & LX_NAND_BLOCK_STATUS_FULL ? nand_flash -> lx_nand_flash_pages_per_block : bloc… in _lx_nand_flash_sector_read() 184 if (logical_sector % nand_flash -> lx_nand_flash_pages_per_block < available_pages) in _lx_nand_flash_sector_read() 189 …pages_read)(nand_flash, block, logical_sector % nand_flash -> lx_nand_flash_pages_per_block, (UCHA… in _lx_nand_flash_sector_read() 191 …lash_driver_pages_read)(block, logical_sector % nand_flash -> lx_nand_flash_pages_per_block, (UCHA… in _lx_nand_flash_sector_read()
|
D | lx_nand_flash_open.c | 122 …if (nand_flash -> lx_nand_flash_pages_per_block > LX_NAND_MAX_PAGE_PER_BLOCK || nand_flash -> lx_n… in _lx_nand_flash_open() 147 …lock = (nand_flash -> lx_nand_flash_words_per_page * nand_flash -> lx_nand_flash_pages_per_block); in _lx_nand_flash_open() 150 …l_pages = nand_flash -> lx_nand_flash_total_blocks * nand_flash -> lx_nand_flash_pages_per_block; in _lx_nand_flash_open() 277 for (page = 0; page < nand_flash -> lx_nand_flash_pages_per_block ; page++) in _lx_nand_flash_open() 374 page = nand_flash -> lx_nand_flash_pages_per_block; in _lx_nand_flash_open() 409 if (page == nand_flash -> lx_nand_flash_pages_per_block) in _lx_nand_flash_open()
|
D | lx_nand_flash_format.c | 117 …if (nand_flash -> lx_nand_flash_pages_per_block > LX_NAND_MAX_PAGE_PER_BLOCK || nand_flash -> lx_n… in _lx_nand_flash_format() 136 …block = (nand_flash -> lx_nand_flash_words_per_page * nand_flash -> lx_nand_flash_pages_per_block); in _lx_nand_flash_format() 139 …tal_pages = nand_flash -> lx_nand_flash_total_blocks * nand_flash -> lx_nand_flash_pages_per_block; in _lx_nand_flash_format()
|
D | lx_nand_flash_block_find.c | 91 block_mapping_index = logical_sector / nand_flash -> lx_nand_flash_pages_per_block; in _lx_nand_flash_block_find()
|
D | lx_nand_flash_block_mapping_set.c | 86 block_mapping_index = logical_sector / nand_flash -> lx_nand_flash_pages_per_block; in _lx_nand_flash_block_mapping_set()
|
D | lx_nand_flash_metadata_allocate.c | 99 if (page < nand_flash -> lx_nand_flash_pages_per_block) in _lx_nand_flash_metadata_allocate()
|
D | lx_nand_flash_simulator.c | 151 nand_flash -> lx_nand_flash_pages_per_block = PHYSICAL_PAGES_PER_BLOCK; in _lx_nand_flash_simulator_initialize()
|
/LevelX-v6.3.0/common/inc/ |
D | lx_api.h | 300 #define LX_NAND_ERASE_COUNT_WRITE_SIZE (nand_flash -> lx_nand_flash_pages_per_block + … 417 ULONG lx_nand_flash_pages_per_block; member
|