Searched refs:ecc1 (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/mtd/nand/raw/ |
D | r852.c | 441 uint32_t ecc1, ecc2; in r852_ecc_calculate() local 449 ecc1 = r852_read_reg_dword(dev, R852_DATALINE); in r852_ecc_calculate() 452 oob->ecc1[0] = (ecc1) & 0xFF; in r852_ecc_calculate() 453 oob->ecc1[1] = (ecc1 >> 8) & 0xFF; in r852_ecc_calculate() 454 oob->ecc1[2] = (ecc1 >> 16) & 0xFF; in r852_ecc_calculate()
|
D | sm_common.h | 20 uint8_t ecc1[3]; member
|
D | fsmc_nand.c | 801 uint32_t ecc1, ecc2, ecc3, ecc4; in fsmc_bch8_correct_data() local 846 ecc1 = readl_relaxed(host->regs_va + ECC1); in fsmc_bch8_correct_data() 851 err_idx[0] = (ecc1 >> 0) & 0x1FFF; in fsmc_bch8_correct_data() 852 err_idx[1] = (ecc1 >> 13) & 0x1FFF; in fsmc_bch8_correct_data() 853 err_idx[2] = (((ecc2 >> 0) & 0x7F) << 6) | ((ecc1 >> 26) & 0x3F); in fsmc_bch8_correct_data()
|
/Linux-v4.19/include/linux/mtd/ |
D | doc2000.h | 218 int doc_decode_ecc(unsigned char sector[512], unsigned char ecc1[6]);
|
/Linux-v4.19/drivers/mtd/ |
D | sm_ftl.c | 225 if (__nand_correct_data(buffer, ecc, oob->ecc1, SM_SMALL_PAGE) < 0) in sm_correct_sector() 397 SM_SMALL_PAGE, oob.ecc1); in sm_write_block()
|
/Linux-v4.19/Documentation/mtd/ |
D | nand_ecc.txt | 189 void ecc1(const unsigned char *buf, unsigned char *code)
|