Home
last modified time | relevance | path

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

/LevelX-v6.3.0/common/src/
Dlx_nand_flash_256byte_ecc_check.c90 USHORT byte; in _lx_nand_flash_256byte_ecc_check() local
150 byte = 0; in _lx_nand_flash_256byte_ecc_check()
159 byte = (USHORT) ((byte | ((correction_code >> (21+2)) & 1) << 6) & 0xFFFF); in _lx_nand_flash_256byte_ecc_check()
160 byte = (USHORT) ((byte | ((correction_code >> (19+2)) & 1) << 5) & 0xFFFF); in _lx_nand_flash_256byte_ecc_check()
161 byte = (USHORT) ((byte | ((correction_code >> (17+2)) & 1) << 4) & 0xFFFF); in _lx_nand_flash_256byte_ecc_check()
162 byte = (USHORT) ((byte | ((correction_code >> (15+2)) & 1) << 3) & 0xFFFF); in _lx_nand_flash_256byte_ecc_check()
163 byte = (USHORT) ((byte | ((correction_code >> (13+2)) & 1) << 2) & 0xFFFF); in _lx_nand_flash_256byte_ecc_check()
164 byte = (USHORT) ((byte | ((correction_code >> (11+2)) & 1) << 1) & 0xFFFF); in _lx_nand_flash_256byte_ecc_check()
165 byte = (USHORT) ((byte | ((correction_code >> (9+2)) & 1) << 0) & 0xFFFF); in _lx_nand_flash_256byte_ecc_check()
172 data[byte] = (USHORT) ((data[byte] ^ (1 << bit)) & 0xFFFF); in _lx_nand_flash_256byte_ecc_check()