Home
last modified time | relevance | path

Searched refs:eccpos (Results 1 – 23 of 23) sorted by relevance

/external/u-boot/drivers/mtd/nand/
Domap_gpmc.c592 uint32_t *eccpos = chip->ecc.layout->eccpos; in omap_read_page_bch() local
599 oob_pos = (eccsize * eccsteps) + chip->ecc.layout->eccpos[0]; in omap_read_page_bch()
600 oob += chip->ecc.layout->eccpos[0]; in omap_read_page_bch()
620 ecc_code[i] = chip->oob_poi[eccpos[i]]; in omap_read_page_bch()
751 ecclayout->eccpos[i] = i + 2; in omap_select_ecc_scheme()
753 ecclayout->eccpos[i] = i + 1; in omap_select_ecc_scheme()
786 ecclayout->eccpos[0] = BADBLOCK_MARKER_LENGTH; in omap_select_ecc_scheme()
789 ecclayout->eccpos[i] = in omap_select_ecc_scheme()
790 ecclayout->eccpos[i - 1] + 1; in omap_select_ecc_scheme()
792 ecclayout->eccpos[i] = in omap_select_ecc_scheme()
[all …]
Dzynq_nand.c178 .eccpos = {0, 1, 2},
186 .eccpos = {
197 .eccpos = {
568 u32 *eccpos = chip->ecc.layout->eccpos; in zynq_nand_write_page_hwecc() local
591 chip->oob_poi[eccpos[i]] = ~(ecc_calc[i]); in zynq_nand_write_page_hwecc()
628 u32 *eccpos = chip->ecc.layout->eccpos; in zynq_nand_write_page_swecc() local
635 chip->oob_poi[eccpos[i]] = ecc_calc[i]; in zynq_nand_write_page_swecc()
661 u32 *eccpos = chip->ecc.layout->eccpos; in zynq_nand_read_page_hwecc() local
701 ecc_code[i] = ~(chip->oob_poi[eccpos[i]]); in zynq_nand_read_page_hwecc()
734 u32 *eccpos = chip->ecc.layout->eccpos; in zynq_nand_read_page_swecc() local
[all …]
Ddavinci_nand.c267 .eccpos = {
277 .eccpos = {
290 .eccpos = {
310 .eccpos = {
324 .eccpos = {
427 uint32_t *eccpos; in nand_davinci_read_page_hwecc() local
439 eccpos = chip->ecc.layout->eccpos; in nand_davinci_read_page_hwecc()
447 ecc_code[i] = chip->oob_poi[eccpos[i]]; in nand_davinci_read_page_hwecc()
Datmel_nand.c99 layout->eccpos[i] = oobsize - ecc_len + i; in pmecc_config_ecc_layout()
470 pos = tmp + nand_chip->ecc.layout->eccpos[0]; in pmecc_correct_data()
534 uint32_t *eccpos = chip->ecc.layout->eccpos; in atmel_nand_pmecc_read_page() local
563 if (pmecc_correction(mtd, stat, buf, &oob[eccpos[0]]) != 0) in atmel_nand_pmecc_read_page()
574 uint32_t *eccpos = chip->ecc.layout->eccpos; in atmel_nand_pmecc_write_page() local
606 chip->oob_poi[eccpos[pos]] = in atmel_nand_pmecc_write_page()
672 pmecc_writel(host->pmecc, saddr, ecc_layout->eccpos[0]); in atmel_pmecc_core_init()
674 ecc_layout->eccpos[ecc_layout->eccbytes - 1]); in atmel_pmecc_core_init()
964 .eccpos = {60, 61, 62, 63},
977 .eccpos = {0, 1, 2, 3},
[all …]
Dlpc32xx_nand_slc.c81 .eccpos = {10, 11, 12, 13, 14, 15},
456 uint32_t *eccpos = chip->ecc.layout->eccpos; in lpc32xx_read_page_hwecc() local
472 ecc_code[i] = chip->oob_poi[eccpos[i]]; in lpc32xx_read_page_hwecc()
494 uint32_t *eccpos = chip->ecc.layout->eccpos; in lpc32xx_write_page_hwecc() local
508 chip->oob_poi[eccpos[i]] = ecc_calc[i]; in lpc32xx_write_page_hwecc()
Dfsl_ifc_nand.c64 .eccpos = {8, 9, 10, 11, 12, 13, 14, 15},
71 .eccpos = {8, 9, 10, 11, 12, 13, 14, 15},
78 .eccpos = {
90 .eccpos = {
106 .eccpos = {
130 .eccpos = {
154 .eccpos = {
261 int pos = chip->ecc.layout->eccpos[i]; in is_blank()
Dnand_base.c52 .eccpos = {0, 1, 2},
62 .eccpos = {0, 1, 2, 3, 6, 7},
70 .eccpos = {
81 .eccpos = {
1288 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_read_page_swecc() local
1297 ecc_code[i] = chip->oob_poi[eccpos[i]]; in nand_read_page_swecc()
1330 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_read_subpage() local
1365 if (eccpos[i + index] + 1 != eccpos[i + index + 1]) { in nand_read_subpage()
1378 aligned_pos = eccpos[index] & ~(busw - 1); in nand_read_subpage()
1380 if (eccpos[index] & (busw - 1)) in nand_read_subpage()
[all …]
Dfsmc_nand.c31 .eccpos = { 2, 3, 4, 5, 6, 7, 8,
67 .eccpos = { 2, 3, 4, 5, 6, 7, 8,
120 .eccpos = { 0, 1, 2, 3, 6, 7, 8,
137 .eccpos = {2, 3, 4, 18, 19, 20, 34, 35, 36, 50, 51, 52,
Dfsl_elbc_nand.c81 .eccpos = {6, 7, 8},
88 .eccpos = {8, 9, 10},
95 .eccpos = {6, 7, 8, 22, 23, 24, 38, 39, 40, 54, 55, 56},
102 .eccpos = {8, 9, 10, 24, 25, 26, 40, 41, 42, 56, 57, 58},
Dmxc_nand.c53 .eccpos = {6, 7, 8, 9, 10},
59 .eccpos = {
72 .eccpos = {7, 8, 9, 10, 11, 12, 13, 14, 15},
78 .eccpos = {
Dnand_bch.c173 layout->eccpos[i] = mtd->oobsize-layout->eccbytes+i; in nand_bch_init()
Dvf610_nfc.c163 .eccpos = {19, 20, 21, 22, 23,
178 .eccpos = { 4, 5, 6, 7, 8, 9, 10, 11,
Dpxa3xx_nand.c262 .eccpos = {
272 .eccpos = {
287 .eccpos = {
Dlpc32xx_nand_mlc.c198 .eccpos = {24, 25, 26, 27, 28, 29, 30, 31, 32, 33,
Darasan_nfc.c213 .eccpos = {
1175 nand_oob.eccpos[i] = eccpos_start + i; in arasan_nand_ecc_init()
Dsunxi_nand.c1498 layout->eccpos[(ecc->bytes * i) + j] = in sunxi_nand_hw_ecc_ctrl_init()
1535 layout->eccpos[i] = i; in sunxi_nand_hw_syndrome_ecc_ctrl_init()
Dtegra_nand.c51 .eccpos = {
/external/strace/
Dmtd.c197 for (i = 0; i < ARRAY_SIZE(ninfo.eccpos); ++i) { in decode_nand_oobinfo()
200 tprintf("%#x", ninfo.eccpos[i]); in decode_nand_oobinfo()
217 for (i = 0; i < ARRAY_SIZE(nlay.eccpos); ++i) { in decode_nand_ecclayout_user()
220 tprintf("%#x", nlay.eccpos[i]); in decode_nand_ecclayout_user()
/external/kernel-headers/original/uapi/mtd/
Dmtd-abi.h216 __u32 eccpos[32]; member
236 __u32 eccpos[MTD_MAX_ECCPOS_ENTRIES]; member
/external/u-boot/include/mtd/
Dmtd-abi.h205 __u32 eccpos[32]; member
225 __u32 eccpos[MTD_MAX_ECCPOS_ENTRIES]; member
/external/u-boot/doc/
DREADME.omap3166 * CONFIG_SYS_NAND_ECCPOS (must be the same as .eccpos in
/external/u-boot/include/linux/mtd/
Dmtd.h144 __u32 eccpos[MTD_MAX_ECCPOS_ENTRIES_LARGE]; member
/external/u-boot/drivers/mtd/onenand/
Donenand_base.c52 .eccpos = {
72 .eccpos = {
89 .eccpos = {