Lines Matching +full:1 +full:- +full:512

1 // SPDX-License-Identifier: GPL-2.0
21 #define XT26XXXD_STATUS_ECC_1_7_CORRECTED (1)
26 SPINAND_PAGE_READ_FROM_CACHE_QUADIO_OP(0, 1, NULL, 0),
27 SPINAND_PAGE_READ_FROM_CACHE_X4_OP(0, 1, NULL, 0),
28 SPINAND_PAGE_READ_FROM_CACHE_DUALIO_OP(0, 1, NULL, 0),
29 SPINAND_PAGE_READ_FROM_CACHE_X2_OP(0, 1, NULL, 0),
30 SPINAND_PAGE_READ_FROM_CACHE_FAST_OP(0, 1, NULL, 0),
31 SPINAND_PAGE_READ_FROM_CACHE_OP(0, 1, NULL, 0));
45 return -ERANGE; in xt26g0xa_ooblayout_ecc()
47 region->offset = 48; in xt26g0xa_ooblayout_ecc()
48 region->length = 16; in xt26g0xa_ooblayout_ecc()
57 return -ERANGE; in xt26g0xa_ooblayout_free()
59 region->offset = 1; in xt26g0xa_ooblayout_free()
60 region->length = 47; in xt26g0xa_ooblayout_free()
81 return -EBADMSG; in xt26g0xa_ecc_get_status()
88 return -EINVAL; in xt26g0xa_ecc_get_status()
90 /* (1 << 2) through (7 << 2) are 1-7 corrected errors */ in xt26g0xa_ecc_get_status()
98 return -ERANGE; in xt26xxxd_ooblayout_ecc()
100 region->offset = mtd->oobsize / 2; in xt26xxxd_ooblayout_ecc()
101 region->length = mtd->oobsize / 2; in xt26xxxd_ooblayout_ecc()
110 return -ERANGE; in xt26xxxd_ooblayout_free()
112 region->offset = 2; in xt26xxxd_ooblayout_free()
113 region->length = mtd->oobsize / 2 - 2; in xt26xxxd_ooblayout_free()
130 return -EBADMSG; in xt26xxxd_ecc_get_status()
139 return -EINVAL; in xt26xxxd_ecc_get_status()
144 NAND_MEMORG(1, 2048, 64, 64, 1024, 20, 1, 1, 1),
145 NAND_ECCREQ(8, 512),
154 NAND_MEMORG(1, 2048, 64, 64, 2048, 40, 1, 1, 1),
155 NAND_ECCREQ(8, 512),
164 NAND_MEMORG(1, 2048, 64, 128, 2048, 40, 1, 1, 1),
165 NAND_ECCREQ(8, 512),
174 NAND_MEMORG(1, 2048, 128, 64, 1024, 20, 1, 1, 1),
175 NAND_ECCREQ(8, 512),
184 NAND_MEMORG(1, 2048, 128, 64, 1024, 20, 1, 1, 1),
185 NAND_ECCREQ(8, 512),
194 NAND_MEMORG(1, 2048, 128, 64, 1024, 20, 1, 1, 1),
195 NAND_ECCREQ(8, 512),
204 NAND_MEMORG(1, 2048, 128, 64, 2048, 40, 1, 1, 1),
205 NAND_ECCREQ(8, 512),
214 NAND_MEMORG(1, 2048, 128, 64, 2048, 40, 1, 1, 1),
215 NAND_ECCREQ(8, 512),
224 NAND_MEMORG(1, 2048, 128, 64, 2048, 40, 1, 1, 1),
225 NAND_ECCREQ(8, 512),
234 NAND_MEMORG(1, 4096, 256, 64, 2048, 40, 1, 1, 1),
235 NAND_ECCREQ(8, 512),
244 NAND_MEMORG(1, 4096, 256, 64, 2048, 40, 1, 1, 1),
245 NAND_ECCREQ(8, 512),