Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mtd/nand/raw/
Dr852.c435 uint32_t ecc1, ecc2; in r852_ecc_calculate() local
443 ecc1 = r852_read_reg_dword(dev, R852_DATALINE); in r852_ecc_calculate()
446 oob->ecc1[0] = (ecc1) & 0xFF; in r852_ecc_calculate()
447 oob->ecc1[1] = (ecc1 >> 8) & 0xFF; in r852_ecc_calculate()
448 oob->ecc1[2] = (ecc1 >> 16) & 0xFF; in r852_ecc_calculate()
Dsm_common.h17 uint8_t ecc1[3]; member
Dfsmc_nand.c751 u32 ecc1, ecc2, ecc3, ecc4; in fsmc_bch8_correct_data() local
796 ecc1 = readl_relaxed(host->regs_va + ECC1); in fsmc_bch8_correct_data()
801 err_idx[0] = (ecc1 >> 0) & 0x1FFF; in fsmc_bch8_correct_data()
802 err_idx[1] = (ecc1 >> 13) & 0x1FFF; in fsmc_bch8_correct_data()
803 err_idx[2] = (((ecc2 >> 0) & 0x7F) << 6) | ((ecc1 >> 26) & 0x3F); in fsmc_bch8_correct_data()
/Linux-v5.4/include/linux/mtd/
Ddoc2000.h204 int doc_decode_ecc(unsigned char sector[512], unsigned char ecc1[6]);
/Linux-v5.4/drivers/mtd/
Dsm_ftl.c223 if (__nand_correct_data(buffer, ecc, oob->ecc1, SM_SMALL_PAGE, in sm_correct_sector()
398 oob.ecc1, in sm_write_block()
/Linux-v5.4/Documentation/driver-api/mtd/
Dnand_ecc.rst212 void ecc1(const unsigned char *buf, unsigned char *code)