Searched refs:hwecc (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/mtd/devices/ |
H A D | docg3.c | 643 static int doc_ecc_bch_fix_data(struct docg3 *docg3, void *buf, u8 *hwecc) in doc_ecc_bch_fix_data() argument 649 ecc[i] = bitrev8(hwecc[i]); in doc_ecc_bch_fix_data() 785 static void doc_get_bch_hw_ecc(struct docg3 *docg3, u8 *hwecc) in doc_get_bch_hw_ecc() argument 790 hwecc[i] = doc_register_readb(docg3, DOC_BCH_HW_ECC(i)); in doc_get_bch_hw_ecc() 873 u8 hwecc[DOC_ECC_BCH_SIZE], eccconf1; in doc_read_oob() local 926 doc_get_bch_hw_ecc(docg3, hwecc); in doc_read_oob() 936 doc_dbg("ECC HW_ECC: %*phC\n", 7, hwecc); in doc_read_oob() 947 ret = doc_ecc_bch_fix_data(docg3, buf, hwecc); in doc_read_oob() 1235 u8 hwecc[DOC_ECC_BCH_SIZE], hamming; in doc_write_page() local 1265 doc_get_bch_hw_ecc(docg3, hwecc); in doc_write_page() [all …]
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | sh_flctl.c | 755 if (flctl->hwecc) { in flctl_cmdfunc() 775 if (flctl->hwecc) { in flctl_cmdfunc() 793 if (flctl->hwecc) in flctl_cmdfunc() 863 if (flctl->hwecc) { in flctl_cmdfunc() 1029 if (flctl->hwecc) { in flctl_chip_attach_chip() 1158 flctl->hwecc = pdata->has_hwecc; in flctl_probe() 1161 flctl->flintdmacr_base = flctl->hwecc ? (STERINTE | ECERB) : STERINTE; in flctl_probe()
|
/openbmc/linux/include/linux/mtd/ |
H A D | sh_flctl.h | 153 unsigned hwecc:1; /* Hardware ECC (0 = disabled, 1 = enabled) */ member
|