Home
last modified time | relevance | path

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

/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.c785 u32 ecc1, ecc2, ecc3, ecc4; in fsmc_bch8_correct_data() local
830 ecc1 = readl_relaxed(host->regs_va + ECC1); in fsmc_bch8_correct_data()
835 err_idx[0] = (ecc1 >> 0) & 0x1FFF; in fsmc_bch8_correct_data()
836 err_idx[1] = (ecc1 >> 13) & 0x1FFF; in fsmc_bch8_correct_data()
837 err_idx[2] = (((ecc2 >> 0) & 0x7F) << 6) | ((ecc1 >> 26) & 0x3F); in fsmc_bch8_correct_data()
Drockchip-nand-controller.c149 struct ecc_cnt_status ecc1; member
839 bch_st & BIT(nfc->cfg->ecc1.err_flag_bit)) { in rk_nfc_read_page_hwecc()
847 cnt = ECC_ERR_CNT(bch_st, nfc->cfg->ecc1); in rk_nfc_read_page_hwecc()
1266 .ecc1 = {
1303 .ecc1 = {
1340 .ecc1 = {
/drivers/mtd/
Dsm_ftl.c223 if (ecc_sw_hamming_correct(buffer, ecc, oob->ecc1, SM_SMALL_PAGE, in sm_correct_sector()
401 SM_SMALL_PAGE, oob.ecc1, in sm_write_block()