Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mtd/nand/raw/
Ddavinci_nand.c163 unsigned int ecc24 = (ecc_val & 0x0fff) | ((ecc_val & 0x0fff0000) >> 4); in nand_davinci_calculate_1bit() local
166 ecc24 = ~ecc24; in nand_davinci_calculate_1bit()
167 ecc_code[0] = (u_char)(ecc24); in nand_davinci_calculate_1bit()
168 ecc_code[1] = (u_char)(ecc24 >> 8); in nand_davinci_calculate_1bit()
169 ecc_code[2] = (u_char)(ecc24 >> 16); in nand_davinci_calculate_1bit()