Searched refs:ecc1 (Results 1 – 5 of 5) sorted by relevance
/drivers/mtd/nand/ |
D | r852.c | 439 uint32_t ecc1, ecc2; in r852_ecc_calculate() local 447 ecc1 = r852_read_reg_dword(dev, R852_DATALINE); in r852_ecc_calculate() 450 oob->ecc1[0] = (ecc1) & 0xFF; in r852_ecc_calculate() 451 oob->ecc1[1] = (ecc1 >> 8) & 0xFF; in r852_ecc_calculate() 452 oob->ecc1[2] = (ecc1 >> 16) & 0xFF; in r852_ecc_calculate()
|
D | bf5xx_nand.c | 346 u16 ecc0, ecc1; in bf5xx_nand_calculate_ecc() local 352 ecc1 = bfin_read_NFC_ECC1(); in bf5xx_nand_calculate_ecc() 354 code[0] = (ecc0 & 0x7ff) | ((ecc1 & 0x7ff) << 11); in bf5xx_nand_calculate_ecc() 364 ecc1 = bfin_read_NFC_ECC3(); in bf5xx_nand_calculate_ecc() 365 code[1] = (ecc0 & 0x7ff) | ((ecc1 & 0x7ff) << 11); in bf5xx_nand_calculate_ecc()
|
D | sm_common.h | 20 uint8_t ecc1[3]; member
|
D | fsmc_nand.c | 639 uint32_t ecc1, ecc2, ecc3, ecc4; in fsmc_bch8_correct_data() local 684 ecc1 = readl_relaxed(FSMC_NAND_REG(regs, bank, ECC1)); in fsmc_bch8_correct_data() 689 err_idx[0] = (ecc1 >> 0) & 0x1FFF; in fsmc_bch8_correct_data() 690 err_idx[1] = (ecc1 >> 13) & 0x1FFF; in fsmc_bch8_correct_data() 691 err_idx[2] = (((ecc2 >> 0) & 0x7F) << 6) | ((ecc1 >> 26) & 0x3F); in fsmc_bch8_correct_data()
|
/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()
|