Searched refs:eccbytes (Results 1 - 25 of 32) sorted by last modified time

12

/u-boot/drivers/mtd/onenand/
H A Donenand_base.c54 .eccbytes = 64,
74 .eccbytes = 20,
91 .eccbytes = 10,
/u-boot/drivers/mtd/nand/raw/
H A Dzynq_nand.c190 .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 Dvf610_nfc.c171 .eccbytes = 45,
186 .eccbytes = 60,
H A Dtegra_nand.c56 .eccbytes = 36,
H A Dstm32_fmc2_nand.c516 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 Dsunxi_nand.c1449 layout->eccbytes = (ecc->bytes * nsectors);
H A Dpxa3xx_nand.c368 .eccbytes = 0,
H A Drockchip_nfc.c871 ecc->layout->eccbytes = ecc->bytes * ecc->steps;
873 for (i = 0; i < ecc->layout->eccbytes; i++)
H A Domap_gpmc.c712 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 Dnand_spl_simple.c144 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 Dnand_bch.c103 * 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 Dnand_base.c53 .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 Dmxc_nand.c55 .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 Dlpc32xx_nand_slc.c79 .eccbytes = 6,
H A Dlpc32xx_nand_mlc.c204 .eccbytes = 40,
H A Dfsl_ifc_nand.c61 .eccbytes = 8,
68 .eccbytes = 8,
75 .eccbytes = 32,
87 .eccbytes = 64,
103 .eccbytes = 128,
127 .eccbytes = 128,
151 .eccbytes = 256,
H A Dfsl_elbc_nand.c86 .eccbytes = 3,
93 .eccbytes = 3,
100 .eccbytes = 12,
107 .eccbytes = 12,
H A Ddenali.c1328 nand_oob.eccbytes = denali->nand.ecc.bytes;
H A Ddavinci_nand.c269 .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 Dcortina_nand.c1250 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 Darasan_nfc.c223 .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 Datmel_nand.c100 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 Dam335x_spl_bch.c160 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 Dbrcmnand.c1148 layout->eccbytes = req * sectors;
/u-boot/include/linux/mtd/
H A Dmtd.h143 __u32 eccbytes; member in struct:nand_ecclayout

Completed in 169 milliseconds

12