Searched refs:list_word (Results 1 – 4 of 4) sorted by relevance
| /LevelX-v6.2.1/common/src/ |
| D | lx_nor_flash_physical_sector_allocate.c | 93 ULONG list_word; in _lx_nor_flash_physical_sector_allocate() local 223 list_word = *(list_word_ptr); in _lx_nor_flash_physical_sector_allocate() 225 … status = _lx_nor_flash_driver_read(nor_flash, list_word_ptr, &list_word, 1); in _lx_nor_flash_physical_sector_allocate() 240 if (list_word & LX_NOR_PHYSICAL_SECTOR_VALID) in _lx_nor_flash_physical_sector_allocate() 244 list_word = list_word & LX_NOR_LOGICAL_SECTOR_MASK; in _lx_nor_flash_physical_sector_allocate() 247 if (list_word < min_logical_sector) in _lx_nor_flash_physical_sector_allocate() 248 min_logical_sector = list_word; in _lx_nor_flash_physical_sector_allocate() 251 if (list_word != LX_NOR_LOGICAL_SECTOR_MASK) in _lx_nor_flash_physical_sector_allocate() 253 if (list_word > max_logical_sector) in _lx_nor_flash_physical_sector_allocate() 254 max_logical_sector = list_word; in _lx_nor_flash_physical_sector_allocate()
|
| D | lx_nor_flash_block_reclaim.c | 97 ULONG list_word; in _lx_nor_flash_block_reclaim() local 272 list_word = *(list_word_ptr); in _lx_nor_flash_block_reclaim() 274 status = _lx_nor_flash_driver_read(nor_flash, list_word_ptr, &list_word, 1); in _lx_nor_flash_block_reclaim() 289 if (list_word == LX_NOR_PHYSICAL_SECTOR_FREE) in _lx_nor_flash_block_reclaim() 298 if (list_word & LX_NOR_PHYSICAL_SECTOR_VALID) in _lx_nor_flash_block_reclaim() 302 logical_sector = list_word & LX_NOR_LOGICAL_SECTOR_MASK; in _lx_nor_flash_block_reclaim() 395 list_word = list_word & ~((ULONG) LX_NOR_PHYSICAL_SECTOR_SUPERCEDED); in _lx_nor_flash_block_reclaim() 398 … status = _lx_nor_flash_driver_write(nor_flash, list_word_ptr, &list_word, 1); in _lx_nor_flash_block_reclaim() 447 list_word = list_word & ~((ULONG) LX_NOR_PHYSICAL_SECTOR_VALID); in _lx_nor_flash_block_reclaim() 450 … status = _lx_nor_flash_driver_write(nor_flash, list_word_ptr, &list_word, 1); in _lx_nor_flash_block_reclaim()
|
| D | lx_nor_flash_next_block_to_erase_find.c | 96 ULONG list_word; in _lx_nor_flash_next_block_to_erase_find() local 288 list_word = *(list_word_ptr); in _lx_nor_flash_next_block_to_erase_find() 290 status = _lx_nor_flash_driver_read(nor_flash, list_word_ptr, &list_word, 1); in _lx_nor_flash_next_block_to_erase_find() 305 if (list_word == LX_NOR_PHYSICAL_SECTOR_FREE) in _lx_nor_flash_next_block_to_erase_find() 314 if ((list_word & LX_NOR_PHYSICAL_SECTOR_VALID) == 0) in _lx_nor_flash_next_block_to_erase_find() 444 list_word = *(list_word_ptr); in _lx_nor_flash_next_block_to_erase_find() 446 status = _lx_nor_flash_driver_read(nor_flash, list_word_ptr, &list_word, 1); in _lx_nor_flash_next_block_to_erase_find() 461 if (list_word == LX_NOR_PHYSICAL_SECTOR_FREE) in _lx_nor_flash_next_block_to_erase_find() 470 if ((list_word & LX_NOR_PHYSICAL_SECTOR_VALID) != 0) in _lx_nor_flash_next_block_to_erase_find()
|
| D | lx_nor_flash_logical_sector_find.c | 101 ULONG list_word; in _lx_nor_flash_logical_sector_find() local 389 list_word = *(list_word_ptr); in _lx_nor_flash_logical_sector_find() 391 status = _lx_nor_flash_driver_read(nor_flash, list_word_ptr, &list_word, 1); in _lx_nor_flash_logical_sector_find() 406 if (list_word == LX_NOR_PHYSICAL_SECTOR_FREE) in _lx_nor_flash_logical_sector_find() 435 …if ((list_word & (LX_NOR_PHYSICAL_SECTOR_VALID | LX_NOR_PHYSICAL_SECTOR_MAPPING_NOT_VALID)) == LX_… in _lx_nor_flash_logical_sector_find() 442 if ((list_word & LX_NOR_LOGICAL_SECTOR_MASK) == logical_sector) in _lx_nor_flash_logical_sector_find() 489 else if (list_word & LX_NOR_PHYSICAL_SECTOR_SUPERCEDED) in _lx_nor_flash_logical_sector_find()
|