Searched refs:ecc_value (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/mtd/nand/
H A Datmel_nand.c1313 unsigned int ecc_value; atmel_nand_calculate() local
1316 ecc_value = ecc_readl(host->ecc, PR); atmel_nand_calculate()
1318 ecc_code[0] = ecc_value & 0xFF; atmel_nand_calculate()
1319 ecc_code[1] = (ecc_value >> 8) & 0xFF; atmel_nand_calculate()
1322 ecc_value = ecc_readl(host->ecc, NPR) & ATMEL_ECC_NPARITY; atmel_nand_calculate()
1324 ecc_code[2] = ecc_value & 0xFF; atmel_nand_calculate()
1325 ecc_code[3] = (ecc_value >> 8) & 0xFF; atmel_nand_calculate()

Completed in 51 milliseconds