/u-boot/drivers/mtd/onenand/ |
H A D | onenand_base.c | 54 .eccbytes = 64, 74 .eccbytes = 20, 91 .eccbytes = 10,
|
/u-boot/drivers/mtd/nand/raw/ |
H A D | zynq_nand.c | 190 .eccbytes = 3, 198 .eccbytes = 12, 208 .eccbytes = 32, 643 int eccbytes = chip->ecc.bytes; local 650 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) 676 int eccbytes = chip->ecc.bytes; local 726 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { 748 int eccbytes = chip->ecc.bytes; local 757 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) 766 for (i = 0; eccsteps; eccsteps--, i += eccbytes, [all...] |
H A D | vf610_nfc.c | 171 .eccbytes = 45, 186 .eccbytes = 60,
|
H A D | tegra_nand.c | 56 .eccbytes = 36,
|
H A D | stm32_fmc2_nand.c | 516 int eccbytes = chip->ecc.bytes; local 525 s++, i += eccbytes, p += eccsize) { 534 chip->read_buf(mtd, ecc_code, eccbytes); 541 ecc_code, eccbytes, 1030 ecclayout->eccbytes = chip->ecc.bytes * 1033 for (i = 0; i < ecclayout->eccbytes; i++, oob_index++)
|
H A D | sunxi_nand.c | 1449 layout->eccbytes = (ecc->bytes * nsectors);
|
H A D | pxa3xx_nand.c | 368 .eccbytes = 0,
|
H A D | rockchip_nfc.c | 871 ecc->layout->eccbytes = ecc->bytes * ecc->steps; 873 for (i = 0; i < ecc->layout->eccbytes; i++)
|
H A D | omap_gpmc.c | 712 int eccbytes = chip->ecc.bytes; local 726 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize, 727 oob += eccbytes) { 737 chip->read_buf(mtd, oob, eccbytes); 742 oob_pos += eccbytes; 752 for (i = 0 ; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { 875 ecclayout->eccbytes = nand->ecc.bytes * eccsteps; 876 for (i = 0; i < ecclayout->eccbytes; i++) { 883 ecclayout->oobfree[0].length = oobsize - ecclayout->eccbytes - 913 ecclayout->eccbytes [all...] |
H A D | nand_spl_simple.c | 144 int eccbytes = CFG_SYS_NAND_ECCBYTES; local 157 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { 175 int eccbytes = CFG_SYS_NAND_ECCBYTES; local 181 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { 196 for (i = 0 ; eccsteps; eccsteps--, i += eccbytes, p += eccsize) {
|
H A D | nand_bch.c | 103 * Initialize NAND BCH error correction. Parameters @eccsize and @eccbytes 105 * correction capability). @eccbytes should be equal to the number of bytes 110 * @eccbytes = 7 (7 bytes are required to store m*t = 13*4 = 52 bits) 120 unsigned int eccbytes = nand->ecc.bytes; local 123 if (!eccbytes && eccstrength) { 124 eccbytes = DIV_ROUND_UP(eccstrength * fls(8 * eccsize), 8); 125 nand->ecc.bytes = eccbytes; 128 if (!eccsize || !eccbytes) { 134 t = (eccbytes*8)/m; 144 /* verify that eccbytes ha [all...] |
H A D | nand_base.c | 53 .eccbytes = 3, 63 .eccbytes = 6, 71 .eccbytes = 24, 82 .eccbytes = 48, 1786 int eccbytes = chip->ecc.bytes; local 1806 ret = nand_read_data_op(chip, oob, eccbytes, false); 1810 oob += eccbytes; 1844 int eccbytes = chip->ecc.bytes; local 1854 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) 1863 for (i = 0 ; eccsteps; eccsteps--, i += eccbytes, 2003 int eccbytes = chip->ecc.bytes; local 2073 int eccbytes = chip->ecc.bytes; local 2140 int eccbytes = chip->ecc.bytes; local 2816 int eccbytes = chip->ecc.bytes; local 2874 int eccbytes = chip->ecc.bytes; local 2903 int eccbytes = chip->ecc.bytes; local 3015 int eccbytes = chip->ecc.bytes; local [all...] |
H A D | mxc_nand.c | 55 .eccbytes = 5, 61 .eccbytes = 20, 74 .eccbytes = 9, 80 .eccbytes = 36, 446 int eccbytes = chip->ecc.bytes; local 447 int eccpitch = eccbytes + chip->ecc.prepad + chip->ecc.postpad; 466 chip->read_buf(mtd, oob, eccbytes); 467 oob += eccbytes; 491 int eccbytes = chip->ecc.bytes; local 492 int eccpitch = eccbytes 583 int eccbytes = chip->ecc.bytes; local 623 int eccbytes = chip->ecc.bytes; local [all...] |
H A D | lpc32xx_nand_slc.c | 79 .eccbytes = 6,
|
H A D | lpc32xx_nand_mlc.c | 204 .eccbytes = 40,
|
H A D | fsl_ifc_nand.c | 61 .eccbytes = 8, 68 .eccbytes = 8, 75 .eccbytes = 32, 87 .eccbytes = 64, 103 .eccbytes = 128, 127 .eccbytes = 128, 151 .eccbytes = 256,
|
H A D | fsl_elbc_nand.c | 86 .eccbytes = 3, 93 .eccbytes = 3, 100 .eccbytes = 12, 107 .eccbytes = 12,
|
H A D | denali.c | 1328 nand_oob.eccbytes = denali->nand.ecc.bytes;
|
H A D | davinci_nand.c | 269 .eccbytes = 40, 293 .eccbytes = 80, 313 .eccbytes = 40, 327 .eccbytes = 80, 429 int eccbytes = chip->ecc.bytes; local 453 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) {
|
H A D | cortina_nand.c | 1250 eccoob.eccbytes = mtd->writesize / nand->ecc.size * nand->ecc.bytes; 1252 if (mtd->oobsize < eccoob.eccbytes) { 1261 ecc_start_offset = mtd->oobsize - eccoob.eccbytes; 1263 for (i = 0; i < eccoob.eccbytes; ++i) 1271 eccoob.oobavail = nand->ecc.bytes - eccoob.eccbytes - 2; 1274 mtd->oobsize - eccoob.eccbytes - eccoob.oobfree[0].offset - 1;
|
H A D | arasan_nfc.c | 223 .eccbytes = 32, 1209 nand_oob.eccbytes = ecc_matrix[found].eccsize; 1210 eccpos_start = mtd->oobsize - nand_oob.eccbytes; 1212 for (i = 0; i < nand_oob.eccbytes; i++)
|
H A D | atmel_nand.c | 100 layout->eccbytes = ecc_len; 682 ecc_layout->eccpos[ecc_layout->eccbytes - 1]); 978 .eccbytes = 4, 991 .eccbytes = 4, 1039 int eccbytes = chip->ecc.bytes; local 1063 chip->read_buf(mtd, ecc_pos, eccbytes); 1327 int eccbytes = CFG_SYS_NAND_ECCBYTES; local 1333 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { 1347 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize)
|
H A D | am335x_spl_bch.c | 160 int eccbytes = CFG_SYS_NAND_ECCBYTES; local 169 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { 177 this->read_buf(mtd, oob, eccbytes); 181 oob_pos += eccbytes; 182 oob += eccbytes; 192 for (i = 0 ; eccsteps; eccsteps--, i += eccbytes, p += eccsize) {
|
/u-boot/drivers/mtd/nand/raw/brcmnand/ |
H A D | brcmnand.c | 1148 layout->eccbytes = req * sectors;
|
/u-boot/include/linux/mtd/ |
H A D | mtd.h | 143 __u32 eccbytes; member in struct:nand_ecclayout
|