Home
last modified time | relevance | path

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

/Linux-v6.6/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.c148 struct ecc_cnt_status ecc1; member
838 bch_st & BIT(nfc->cfg->ecc1.err_flag_bit)) { in rk_nfc_read_page_hwecc()
846 cnt = ECC_ERR_CNT(bch_st, nfc->cfg->ecc1); in rk_nfc_read_page_hwecc()
1263 .ecc1 = {
1300 .ecc1 = {
1337 .ecc1 = {
/Linux-v6.6/include/linux/mtd/
Ddoc2000.h204 int doc_decode_ecc(unsigned char sector[512], unsigned char ecc1[6]);
/Linux-v6.6/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()
/Linux-v6.6/Documentation/driver-api/mtd/
Dnand_ecc.rst212 void ecc1(const unsigned char *buf, unsigned char *code)