Searched refs:ecc1 (Results 1 – 13 of 13) sorted by relevance
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | fsmc_nand.c | 199 u32 ecc1, ecc2, ecc3, ecc4; in fsmc_bch8_correct_data() local 233 ecc1 = readl(&fsmc_regs_p->ecc1); in fsmc_bch8_correct_data() 238 err_idx[0] = (ecc1 >> 0) & 0x1FFF; in fsmc_bch8_correct_data() 239 err_idx[1] = (ecc1 >> 13) & 0x1FFF; in fsmc_bch8_correct_data() 240 err_idx[2] = (((ecc2 >> 0) & 0x7F) << 6) | ((ecc1 >> 26) & 0x3F); in fsmc_bch8_correct_data() 279 ecc_tmp = readl(&fsmc_regs_p->ecc1); in fsmc_read_hwecc() 302 ecc_tmp = readl(&fsmc_regs_p->ecc1); in fsmc_read_hwecc()
|
/openbmc/u-boot/fs/yaffs2/ |
H A D | yaffs_mtdif.c | 53 spare->ecc1[0] = spare->ecc1[1] = spare->ecc1[2] = 0xff; in translate_oob2spare()
|
H A D | yaffs_tagscompat.c | 27 yaffs_ecc_calc(data, spare->ecc1); in yaffs_calc_ecc() 167 yaffs_ecc_correct(data, spare->ecc1, calc_ecc); in yaffs_rd_chunk_nand()
|
H A D | yaffs_guts.h | 219 u8 ecc1[3]; member
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A 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()
|
H A D | sm_common.h | 17 uint8_t ecc1[3]; member
|
H A D | fsmc_nand.c | 785 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()
|
H A D | rockchip-nand-controller.c | 148 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 = {
|
/openbmc/u-boot/include/linux/mtd/ |
H A D | fsmc_nand.h | 20 u32 ecc1; /* 0x54 */ member
|
H A D | doc2000.h | 196 int doc_decode_ecc(unsigned char sector[512], unsigned char ecc1[6]);
|
/openbmc/linux/include/linux/mtd/ |
H A D | doc2000.h | 204 int doc_decode_ecc(unsigned char sector[512], unsigned char ecc1[6]);
|
/openbmc/linux/drivers/mtd/ |
H A D | sm_ftl.c | 223 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()
|
/openbmc/linux/Documentation/driver-api/mtd/ |
H A D | nand_ecc.rst | 212 void ecc1(const unsigned char *buf, unsigned char *code)
|