Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/drivers/st/fmc/
Dstm32_fmc2_nand.c356 uint16_t xor_ecc_1b, xor_ecc_2b, xor_ecc_3b; in stm32_fmc2_ham_correct() local
372 xor_ecc_1b = ecc[0] ^ eccbuffer[0]; in stm32_fmc2_ham_correct()
379 xor_ecc.bytes[0] = xor_ecc_1b; in stm32_fmc2_ham_correct()
391 bit_address = ((xor_ecc_1b >> 1) & BIT(0)) | in stm32_fmc2_ham_correct()
392 ((xor_ecc_1b >> 2) & BIT(1)) | in stm32_fmc2_ham_correct()
393 ((xor_ecc_1b >> 3) & BIT(2)); in stm32_fmc2_ham_correct()
395 byte_address = ((xor_ecc_1b >> 7) & BIT(0)) | in stm32_fmc2_ham_correct()