Home
last modified time | relevance | path

Searched refs:eccsteps (Results 1 – 11 of 11) sorted by relevance

/external/u-boot/drivers/mtd/nand/
Dnand_spl_simple.c148 int eccsteps = ECCSTEPS; in nand_read_page() local
160 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page()
179 int eccsteps = ECCSTEPS; in nand_read_page() local
184 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page()
196 eccsteps = ECCSTEPS; in nand_read_page()
199 for (i = 0 ; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page()
Dam335x_spl_bch.c158 int eccsteps = ECCSTEPS; in nand_read_page() local
162 uint32_t oob_pos = eccsize * eccsteps + nand_ecc_pos[0]; in nand_read_page()
166 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page()
186 eccsteps = ECCSTEPS; in nand_read_page()
189 for (i = 0 ; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page()
Domap_gpmc.c588 int eccsteps = chip->ecc.steps; in omap_read_page_bch() local
599 oob_pos = (eccsize * eccsteps) + chip->ecc.layout->eccpos[0]; in omap_read_page_bch()
602 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize, in omap_read_page_bch()
622 eccsteps = chip->ecc.steps; in omap_read_page_bch()
625 for (i = 0 ; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in omap_read_page_bch()
715 int eccsteps = pagesize / SECTOR_BYTES; in omap_select_ecc_scheme() local
732 if ((3 * eccsteps) + BADBLOCK_MARKER_LENGTH > oobsize) { in omap_select_ecc_scheme()
734 (3 * eccsteps) + BADBLOCK_MARKER_LENGTH)); in omap_select_ecc_scheme()
748 ecclayout->eccbytes = nand->ecc.bytes * eccsteps; in omap_select_ecc_scheme()
764 if ((13 * eccsteps) + BADBLOCK_MARKER_LENGTH > oobsize) { in omap_select_ecc_scheme()
[all …]
Dzynq_nand.c565 int i, eccsteps, eccsize = chip->ecc.size; in zynq_nand_write_page_hwecc() local
573 for (eccsteps = chip->ecc.steps; (eccsteps - 1); eccsteps--) { in zynq_nand_write_page_hwecc()
625 int eccsteps = chip->ecc.steps; in zynq_nand_write_page_swecc() local
631 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) in zynq_nand_write_page_swecc()
656 int i, stat, eccsteps, eccsize = chip->ecc.size; in zynq_nand_read_page_hwecc() local
666 for (eccsteps = chip->ecc.steps; (eccsteps - 1); eccsteps--) { in zynq_nand_read_page_hwecc()
703 eccsteps = chip->ecc.steps; in zynq_nand_read_page_hwecc()
707 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in zynq_nand_read_page_hwecc()
730 int eccsteps = chip->ecc.steps; in zynq_nand_read_page_swecc() local
738 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) in zynq_nand_read_page_swecc()
[all …]
Dnand_bch.c113 unsigned int m, t, eccsteps, i; in nand_bch_init() local
149 eccsteps = mtd->writesize/eccsize; in nand_bch_init()
162 layout->eccbytes = eccsteps*eccbytes; in nand_bch_init()
186 if (layout->eccbytes != (eccsteps*eccbytes)) { in nand_bch_init()
Dnand_base.c1284 int eccsteps = chip->ecc.steps; in nand_read_page_swecc() local
1293 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) in nand_read_page_swecc()
1299 eccsteps = chip->ecc.steps; in nand_read_page_swecc()
1302 for (i = 0 ; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_swecc()
1434 int eccsteps = chip->ecc.steps; in nand_read_page_hwecc() local
1441 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_hwecc()
1451 eccsteps = chip->ecc.steps; in nand_read_page_hwecc()
1454 for (i = 0 ; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_hwecc()
1496 int eccsteps = chip->ecc.steps; in nand_read_page_hwecc_oob_first() local
1511 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_hwecc_oob_first()
[all …]
Dmxc_nand.c490 int eccsteps = chip->ecc.steps; local
498 for (n = 0; eccsteps; n++, eccsteps--, p += eccsize) {
534 eccsteps = chip->ecc.steps;
536 for (n = 0; eccsteps; n++, eccsteps--, p += eccsize) {
622 int eccsteps = chip->ecc.steps; local
629 eccsteps;
630 n++, eccsteps--, i += eccbytes, p += eccsize) {
Ddavinci_nand.c426 int eccsteps = chip->ecc.steps; in nand_davinci_read_page_hwecc() local
449 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_davinci_read_page_hwecc()
Datmel_nand.c1314 int eccsteps = ECCSTEPS; in nand_read_page() local
1319 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page()
1330 eccsteps = ECCSTEPS; in nand_read_page()
1333 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) in nand_read_page()
Dfsmc_nand.c342 int eccsteps = chip->ecc.steps; in fsmc_read_page_hwecc() local
355 for (i = 0, s = 0; s < eccsteps; s++, i += eccbytes, p += eccsize) { in fsmc_read_page_hwecc()
/external/u-boot/tools/
Dsunxi-spl-image-builder.c346 int eccbytes, eccsteps; in check_image_info() local
386 eccsteps = info->usable_page_size / info->ecc_step_size; in check_image_info()
389 info->usable_page_size + (eccsteps * eccbytes)) { in check_image_info()