Searched refs:ecc (Results 1 – 5 of 5) sorted by relevance
37 goto ecc; in get_data_from_otp()87 ecc: in get_data_from_otp()92 nand_dev->ecc.max_bit_corr = 1U; in get_data_from_otp()96 nand_dev->ecc.max_bit_corr = 4U; in get_data_from_otp()100 nand_dev->ecc.max_bit_corr = 8U; in get_data_from_otp()104 nand_dev->ecc.mode = NAND_ECC_ONDIE; in get_data_from_otp()108 if (nand_dev->ecc.max_bit_corr == 0U) { in get_data_from_otp()132 device->nand_dev->ecc.mode = NAND_ECC_HW; in plat_get_raw_nand_data()133 device->nand_dev->ecc.size = SZ_512; in plat_get_raw_nand_data()
17 struct ecc { struct30 struct ecc ecc; argument
139 unsigned int ecc: 2; member
344 uint8_t *ecc) in stm32_fmc2_ham_correct()363 xor_ecc_1b = ecc[0] ^ eccbuffer[0]; in stm32_fmc2_ham_correct()364 xor_ecc_2b = ecc[1] ^ eccbuffer[1]; in stm32_fmc2_ham_correct()428 ecc[0] = heccr; in stm32_fmc2_ham_calculate()429 ecc[1] = heccr >> 8; in stm32_fmc2_ham_calculate()430 ecc[2] = heccr >> 16; in stm32_fmc2_ham_calculate()758 switch (nand->ecc.max_bit_corr) { in stm32_fmc2_setup()760 nand->ecc.bytes = 3; in stm32_fmc2_setup()765 nand->ecc.bytes = 13; in stm32_fmc2_setup()770 nand->ecc.bytes = 7; in stm32_fmc2_setup()[all …]
334 rawnand_dev.nand_dev->ecc.max_bit_corr = page.nb_ecc_bits; in nand_read_param_page()335 rawnand_dev.nand_dev->ecc.size = SZ_512; in nand_read_param_page()341 rawnand_dev.nand_dev->ecc.max_bit_corr, in nand_read_param_page()419 rawnand_dev.nand_dev->ecc.mode = NAND_ECC_NONE; in nand_raw_init()
Completed in 10 milliseconds