Home
last modified time | relevance | path

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

12345

/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H A Domap_gpmc.c593 uint32_t *eccpos = chip->ecc.layout->eccpos; in omap_read_page_bch() local
600 oob_pos = (eccsize * eccsteps) + chip->ecc.layout->eccpos[0]; in omap_read_page_bch()
601 oob += chip->ecc.layout->eccpos[0]; in omap_read_page_bch()
621 ecc_code[i] = chip->oob_poi[eccpos[i]]; in omap_read_page_bch()
752 ecclayout->eccpos[i] = i + 2; in omap_select_ecc_scheme()
754 ecclayout->eccpos[i] = i + 1; in omap_select_ecc_scheme()
787 ecclayout->eccpos[0] = BADBLOCK_MARKER_LENGTH; in omap_select_ecc_scheme()
790 ecclayout->eccpos[i] = in omap_select_ecc_scheme()
791 ecclayout->eccpos[i - 1] + 1; in omap_select_ecc_scheme()
793 ecclayout->eccpos[i] = in omap_select_ecc_scheme()
[all …]
H A Dzynq_nand.c179 .eccpos = {0, 1, 2},
187 .eccpos = {
198 .eccpos = {
569 u32 *eccpos = chip->ecc.layout->eccpos; in zynq_nand_write_page_hwecc() local
592 chip->oob_poi[eccpos[i]] = ~(ecc_calc[i]); in zynq_nand_write_page_hwecc()
629 u32 *eccpos = chip->ecc.layout->eccpos; in zynq_nand_write_page_swecc() local
636 chip->oob_poi[eccpos[i]] = ecc_calc[i]; in zynq_nand_write_page_swecc()
662 u32 *eccpos = chip->ecc.layout->eccpos; in zynq_nand_read_page_hwecc() local
702 ecc_code[i] = ~(chip->oob_poi[eccpos[i]]); in zynq_nand_read_page_hwecc()
735 u32 *eccpos = chip->ecc.layout->eccpos; in zynq_nand_read_page_swecc() local
[all …]
H A Ddavinci_nand.c268 .eccpos = {
278 .eccpos = {
291 .eccpos = {
311 .eccpos = {
325 .eccpos = {
428 uint32_t *eccpos; in nand_davinci_read_page_hwecc() local
440 eccpos = chip->ecc.layout->eccpos; in nand_davinci_read_page_hwecc()
448 ecc_code[i] = chip->oob_poi[eccpos[i]]; in nand_davinci_read_page_hwecc()
H A Datmel_nand.c100 layout->eccpos[i] = oobsize - ecc_len + i; in pmecc_config_ecc_layout()
471 pos = tmp + nand_chip->ecc.layout->eccpos[0]; in pmecc_correct_data()
535 uint32_t *eccpos = chip->ecc.layout->eccpos; in atmel_nand_pmecc_read_page() local
564 if (pmecc_correction(mtd, stat, buf, &oob[eccpos[0]]) != 0) in atmel_nand_pmecc_read_page()
575 uint32_t *eccpos = chip->ecc.layout->eccpos; in atmel_nand_pmecc_write_page() local
607 chip->oob_poi[eccpos[pos]] = in atmel_nand_pmecc_write_page()
673 pmecc_writel(host->pmecc, saddr, ecc_layout->eccpos[0]); in atmel_pmecc_core_init()
675 ecc_layout->eccpos[ecc_layout->eccbytes - 1]); in atmel_pmecc_core_init()
965 .eccpos = {60, 61, 62, 63},
978 .eccpos = {0, 1, 2, 3},
[all …]
H A Dlpc32xx_nand_slc.c75 .eccpos = { 10, 11, 12, 13, 14, 15, },
419 uint32_t *eccpos = chip->ecc.layout->eccpos; in lpc32xx_read_page_hwecc() local
435 ecc_code[i] = chip->oob_poi[eccpos[i]]; in lpc32xx_read_page_hwecc()
457 uint32_t *eccpos = chip->ecc.layout->eccpos; in lpc32xx_write_page_hwecc() local
471 chip->oob_poi[eccpos[i]] = ecc_calc[i]; in lpc32xx_write_page_hwecc()
H A Dnand_base.c53 .eccpos = {0, 1, 2},
63 .eccpos = {0, 1, 2, 3, 6, 7},
71 .eccpos = {
82 .eccpos = {
1860 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_read_page_swecc() local
1869 ecc_code[i] = chip->oob_poi[eccpos[i]]; in nand_read_page_swecc()
1902 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_read_subpage() local
1940 if (eccpos[i + index] + 1 != eccpos[i + index + 1]) { in nand_read_subpage()
1956 aligned_pos = eccpos[index] & ~(busw - 1); in nand_read_subpage()
1958 if (eccpos[index] & (busw - 1)) in nand_read_subpage()
[all …]
H A Dfsmc_nand.c32 .eccpos = { 2, 3, 4, 5, 6, 7, 8,
68 .eccpos = { 2, 3, 4, 5, 6, 7, 8,
121 .eccpos = { 0, 1, 2, 3, 6, 7, 8,
138 .eccpos = {2, 3, 4, 18, 19, 20, 34, 35, 36, 50, 51, 52,
H A Dfsl_ifc_nand.c65 .eccpos = {8, 9, 10, 11, 12, 13, 14, 15},
72 .eccpos = {8, 9, 10, 11, 12, 13, 14, 15},
79 .eccpos = {
91 .eccpos = {
107 .eccpos = {
131 .eccpos = {
155 .eccpos = {
H A Dfsl_elbc_nand.c82 .eccpos = {6, 7, 8},
89 .eccpos = {8, 9, 10},
96 .eccpos = {6, 7, 8, 22, 23, 24, 38, 39, 40, 54, 55, 56},
103 .eccpos = {8, 9, 10, 24, 25, 26, 40, 41, 42, 56, 57, 58},
H A Dpxa3xx_nand.c320 .eccpos = {
330 .eccpos = {
344 .eccpos = {
359 .eccpos = {
386 .eccpos = {
396 .eccpos = {},
H A Dmxc_nand.c54 .eccpos = {6, 7, 8, 9, 10},
60 .eccpos = {
73 .eccpos = {7, 8, 9, 10, 11, 12, 13, 14, 15},
79 .eccpos = {
H A Dnand_bch.c173 layout->eccpos[i] = mtd->oobsize-layout->eccbytes+i; in nand_bch_init()
H A Dvf610_nfc.c169 .eccpos = {19, 20, 21, 22, 23,
184 .eccpos = { 4, 5, 6, 7, 8, 9, 10, 11,
H A Drockchip_nand.c93 .eccpos = {
506 nand_oob_fix.eccpos[index] = index + ecc->prepad; in rockchip_nand_hw_ecc_ctrl_init()
H A Drockchip_nand_v9.c95 .eccpos = {
507 nand_oob_fix.eccpos[index] = index + ecc->prepad; in rockchip_nand_hw_ecc_ctrl_init()
H A Dlpc32xx_nand_mlc.c203 .eccpos = {24, 25, 26, 27, 28, 29, 30, 31, 32, 33,
H A Darasan_nfc.c216 .eccpos = {
1175 nand_oob.eccpos[i] = eccpos_start + i; in arasan_nand_ecc_init()
/OK3568_Linux_fs/kernel/drivers/mtd/
H A Dmtdchar.c464 u32 eccpos; in shrink_ecclayout() local
474 eccpos = oobregion.offset; in shrink_ecclayout()
476 eccpos < oobregion.offset + oobregion.length; i++) { in shrink_ecclayout()
477 to->eccpos[i] = eccpos++; in shrink_ecclayout()
510 for (i = 0; i < ARRAY_SIZE(to->eccpos);) { in get_oobinfo()
511 u32 eccpos; in get_oobinfo() local
521 if (oobregion.length + i > ARRAY_SIZE(to->eccpos)) in get_oobinfo()
524 eccpos = oobregion.offset; in get_oobinfo()
525 for (; eccpos < oobregion.offset + oobregion.length; i++) { in get_oobinfo()
526 to->eccpos[i] = eccpos++; in get_oobinfo()
/OK3568_Linux_fs/kernel/include/uapi/mtd/
H A Dmtd-abi.h217 __u32 eccpos[32]; member
237 __u32 eccpos[MTD_MAX_ECCPOS_ENTRIES]; member
/OK3568_Linux_fs/u-boot/include/mtd/
H A Dmtd-abi.h206 __u32 eccpos[32]; member
226 __u32 eccpos[MTD_MAX_ECCPOS_ENTRIES]; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/mtd/
H A Dmtd-abi.h216 __u32 eccpos[32]; member
236 __u32 eccpos[MTD_MAX_ECCPOS_ENTRIES]; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/mtd/
H A Dmtd-abi.h216 __u32 eccpos[32]; member
236 __u32 eccpos[MTD_MAX_ECCPOS_ENTRIES]; member
/OK3568_Linux_fs/u-boot/doc/
H A DREADME.omap3166 * CONFIG_SYS_NAND_ECCPOS (must be the same as .eccpos in
/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c931 layout->eccpos[idx1++] = i * sas + 6; in brcmnand_create_layout()
932 layout->eccpos[idx1++] = i * sas + 7; in brcmnand_create_layout()
933 layout->eccpos[idx1++] = i * sas + 8; in brcmnand_create_layout()
964 layout->eccpos[idx1] = i * sas + j; in brcmnand_create_layout()
/OK3568_Linux_fs/u-boot/include/linux/mtd/
H A Dmtd.h149 __u32 eccpos[MTD_MAX_ECCPOS_ENTRIES_LARGE]; member

12345