Searched refs:ecc1 (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/mtd/nand/raw/ |
D | r852.c | 435 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()
|
D | sm_common.h | 17 uint8_t ecc1[3]; member
|
D | fsmc_nand.c | 751 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/ |
D | doc2000.h | 204 int doc_decode_ecc(unsigned char sector[512], unsigned char ecc1[6]);
|
/Linux-v5.4/drivers/mtd/ |
D | sm_ftl.c | 223 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/ |
D | nand_ecc.rst | 212 void ecc1(const unsigned char *buf, unsigned char *code)
|