Home
last modified time | relevance | path

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

/u-boot/drivers/mtd/nand/raw/
A 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()
A Dam335x_spl_bch.c159 int eccsteps = ECCSTEPS; in nand_read_page() local
163 uint32_t oob_pos = eccsize * eccsteps + nand_ecc_pos[0]; in nand_read_page()
167 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page()
187 eccsteps = ECCSTEPS; in nand_read_page()
190 for (i = 0 ; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page()
A Domap_gpmc.c589 int eccsteps = chip->ecc.steps; in omap_read_page_bch() local
603 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize, in omap_read_page_bch()
623 eccsteps = chip->ecc.steps; in omap_read_page_bch()
626 for (i = 0 ; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in omap_read_page_bch()
716 int eccsteps = pagesize / SECTOR_BYTES; in omap_select_ecc_scheme() local
735 (3 * eccsteps) + BADBLOCK_MARKER_LENGTH)); in omap_select_ecc_scheme()
749 ecclayout->eccbytes = nand->ecc.bytes * eccsteps; in omap_select_ecc_scheme()
767 (13 * eccsteps) + BADBLOCK_MARKER_LENGTH)); in omap_select_ecc_scheme()
786 ecclayout->eccbytes = nand->ecc.bytes * eccsteps; in omap_select_ecc_scheme()
811 (14 * eccsteps) + BADBLOCK_MARKER_LENGTH)); in omap_select_ecc_scheme()
[all …]
A Dzynq_nand.c584 int i, eccsteps, eccsize = chip->ecc.size; in zynq_nand_write_page_hwecc() local
592 for (eccsteps = chip->ecc.steps; (eccsteps - 1); eccsteps--) { in zynq_nand_write_page_hwecc()
644 int eccsteps = chip->ecc.steps; in zynq_nand_write_page_swecc() local
650 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) in zynq_nand_write_page_swecc()
685 for (eccsteps = chip->ecc.steps; (eccsteps - 1); eccsteps--) { in zynq_nand_read_page_hwecc()
722 eccsteps = chip->ecc.steps; in zynq_nand_read_page_hwecc()
726 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in zynq_nand_read_page_hwecc()
749 int eccsteps = chip->ecc.steps; in zynq_nand_read_page_swecc() local
757 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) in zynq_nand_read_page_swecc()
763 eccsteps = chip->ecc.steps; in zynq_nand_read_page_swecc()
[all …]
A Dnand_bch.c115 unsigned int m, t, eccsteps, i; in nand_bch_init() local
151 eccsteps = mtd->writesize/eccsize; in nand_bch_init()
164 layout->eccbytes = eccsteps*eccbytes; in nand_bch_init()
188 if (layout->eccbytes != (eccsteps*eccbytes)) { in nand_bch_init()
A Dmxc_nand.c492 int eccsteps = chip->ecc.steps; local
500 for (n = 0; eccsteps; n++, eccsteps--, p += eccsize) {
536 eccsteps = chip->ecc.steps;
538 for (n = 0; eccsteps; n++, eccsteps--, p += eccsize) {
624 int eccsteps = chip->ecc.steps; local
631 eccsteps;
632 n++, eccsteps--, i += eccbytes, p += eccsize) {
A Dnand_base.c1870 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) in nand_read_page_swecc()
1876 eccsteps = chip->ecc.steps; in nand_read_page_swecc()
1879 for (i = 0 ; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_swecc()
2028 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_hwecc()
2045 eccsteps = chip->ecc.steps; in nand_read_page_hwecc()
2048 for (i = 0 ; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_hwecc()
2110 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_hwecc_oob_first()
2163 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_syndrome()
2897 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) in nand_write_page_swecc()
2926 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_write_page_hwecc()
[all …]
A Dcortina_nand.c595 int ret, i, j, k, n, step, eccsteps, max_bitflips = 0; in ca_do_bch_decode() local
601 for (i = 0, eccsteps = chip->ecc.steps; eccsteps; in ca_do_bch_decode()
602 i += chip->ecc.bytes, eccsteps--) { in ca_do_bch_decode()
689 int i, j, n, eccsteps, gen_index; in ca_do_bch_encode() local
693 for (i = 0, n = 0, eccsteps = chip->ecc.steps; eccsteps; in ca_do_bch_encode()
694 i += chip->ecc.bytes, eccsteps--, n++) { in ca_do_bch_encode()
A Ddavinci_nand.c428 int eccsteps = chip->ecc.steps; in nand_davinci_read_page_hwecc() local
451 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_davinci_read_page_hwecc()
A Datmel_nand.c1330 int eccsteps = ECCSTEPS; in nand_read_page() local
1335 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page()
1346 eccsteps = ECCSTEPS; in nand_read_page()
1349 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) in nand_read_page()
A 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()
A Docteontx_nand.c1609 int eccsteps = chip->ecc.steps; in octeontx_nand_hw_bch_read_page() local
1625 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in octeontx_nand_hw_bch_read_page()
1655 int eccsteps = chip->ecc.steps; in octeontx_nand_hw_bch_write_page() local
1670 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in octeontx_nand_hw_bch_write_page()
A Dstm32_fmc2_nand.c509 int eccsteps = chip->ecc.steps; in stm32_fmc2_nfc_read_page() local
516 for (i = mtd->writesize + FMC2_BBM_LEN, s = 0; s < eccsteps; in stm32_fmc2_nfc_read_page()
/u-boot/tools/
A 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()

Completed in 41 milliseconds