Home
last modified time | relevance | path

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

/linux/drivers/mtd/nand/raw/
H A Dr852.c438 uint32_t ecc1, ecc2; in r852_ecc_calculate() local
447 ecc2 = r852_read_reg_dword(dev, R852_DATALINE); in r852_ecc_calculate()
453 oob->ecc2[0] = (ecc2) & 0xFF; in r852_ecc_calculate()
454 oob->ecc2[1] = (ecc2 >> 8) & 0xFF; in r852_ecc_calculate()
455 oob->ecc2[2] = (ecc2 >> 16) & 0xFF; in r852_ecc_calculate()
H A Dsm_common.h15 uint8_t ecc2[3]; member
/linux/drivers/usb/storage/
H A Dalauda.c218 static unsigned char ecc2[256]; variable
240 ecc2[i] = ~(a ^ (a<<1) ^ (parity[i] ? 0xa8 : 0)); in nand_init_ecc()
266 ecc[2] = ecc2[par]; in nand_compute_ecc()
H A Dsddr09.c186 static unsigned char ecc2[256]; variable
207 ecc2[i] = ~(a ^ (a<<1) ^ (parity[i] ? 0xa8 : 0)); in nand_init_ecc()
232 ecc[2] = ecc2[par]; in nand_compute_ecc()
/linux/drivers/mtd/
H A Dsm_ftl.c228 if (ecc_sw_hamming_correct(buffer, ecc, oob->ecc2, SM_SMALL_PAGE, in sm_correct_sector()
403 SM_SMALL_PAGE, oob.ecc2, in sm_write_block()
/linux/Documentation/driver-api/mtd/
H A Dnand_ecc.rst323 void ecc2(const unsigned char *buf, unsigned char *code)