Home
last modified time | relevance | path

Searched refs:hwecc (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/devices/
H A Ddocg3.c624 * @hwecc: the hardware calculated ECC.
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()
783 * @hwecc: the array of 7 integers where the hardware ecc will be stored
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
924 doc_get_bch_hw_ecc(docg3, hwecc); in doc_read_oob()
934 doc_dbg("ECC HW_ECC: %*phC\n", 7, hwecc); in doc_read_oob()
945 ret = doc_ecc_bch_fix_data(docg3, buf, hwecc); in doc_read_oob()
1227 u8 hwecc[DOC_ECC_BCH_SIZE], hamming; doc_write_page() local
[all...]
/kernel/linux/linux-6.6/drivers/mtd/devices/
H A Ddocg3.c624 * @hwecc: the hardware calculated ECC.
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()
783 * @hwecc: the array of 7 integers where the hardware ecc will be stored
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; doc_write_page() local
[all...]
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dsh_flctl.c756 if (flctl->hwecc) { in flctl_cmdfunc()
757 /* read page with hwecc */ in flctl_cmdfunc()
776 if (flctl->hwecc) { in flctl_cmdfunc()
777 /* read page with hwecc */ in flctl_cmdfunc()
794 if (flctl->hwecc) in flctl_cmdfunc()
864 if (flctl->hwecc) { in flctl_cmdfunc()
865 /* write page with hwecc */ in flctl_cmdfunc()
1030 if (flctl->hwecc) { in flctl_chip_attach_chip()
1160 flctl->hwecc = pdata->has_hwecc; in flctl_probe()
1163 flctl->flintdmacr_base = flctl->hwecc in flctl_probe()
[all...]
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dsh_flctl.c755 if (flctl->hwecc) { in flctl_cmdfunc()
756 /* read page with hwecc */ in flctl_cmdfunc()
775 if (flctl->hwecc) { in flctl_cmdfunc()
776 /* read page with hwecc */ in flctl_cmdfunc()
793 if (flctl->hwecc) in flctl_cmdfunc()
863 if (flctl->hwecc) { in flctl_cmdfunc()
864 /* write page with 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 in flctl_probe()
[all...]
/kernel/linux/linux-5.10/include/linux/mtd/
H A Dsh_flctl.h153 unsigned hwecc:1; /* Hardware ECC (0 = disabled, 1 = enabled) */ member
/kernel/linux/linux-6.6/include/linux/mtd/
H A Dsh_flctl.h153 unsigned hwecc:1; /* Hardware ECC (0 = disabled, 1 = enabled) */ member

Completed in 10 milliseconds