Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/mtd/nand/
Domap2.c1511 uint32_t *eccpos = chip->ecc.layout->eccpos; in omap_write_page_bch() local
1523 chip->oob_poi[eccpos[i]] = ecc_calc[i]; in omap_write_page_bch()
1550 uint32_t *eccpos = chip->ecc.layout->eccpos; in omap_read_page_bch() local
1551 uint8_t *oob = &chip->oob_poi[eccpos[0]]; in omap_read_page_bch()
1552 uint32_t oob_pos = mtd->writesize + chip->ecc.layout->eccpos[0]; in omap_read_page_bch()
1569 memcpy(ecc_code, &chip->oob_poi[eccpos[0]], chip->ecc.total); in omap_read_page_bch()
1848 ecclayout->eccpos[i] = oob_index; in omap_nand_probe()
1851 ecclayout->eccpos[ecclayout->eccbytes - 1] + 1; in omap_nand_probe()
1869 ecclayout->eccpos[i] = oob_index; in omap_nand_probe()
1875 ecclayout->eccpos[ecclayout->eccbytes - 1] + 1; in omap_nand_probe()
[all …]
Dsm_common.c17 .eccpos = {8, 9, 10, 13, 14, 15},
33 .eccpos = {0, 1, 2},
Dnand_base.c55 .eccpos = {0, 1, 2},
65 .eccpos = {0, 1, 2, 3, 6, 7},
73 .eccpos = {
84 .eccpos = {
1184 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_read_page_swecc() local
1193 ecc_code[i] = chip->oob_poi[eccpos[i]]; in nand_read_page_swecc()
1226 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_read_subpage() local
1261 if (eccpos[i + index] + 1 != eccpos[i + index + 1]) { in nand_read_subpage()
1274 aligned_pos = eccpos[index] & ~(busw - 1); in nand_read_subpage()
1276 if (eccpos[index] & (busw - 1)) in nand_read_subpage()
[all …]
Dfsl_ifc_nand.c74 .eccpos = {8, 9, 10, 11, 12, 13, 14, 15},
81 .eccpos = {8, 9, 10, 11, 12, 13, 14, 15},
88 .eccpos = {
100 .eccpos = {
116 .eccpos = {
140 .eccpos = {
164 .eccpos = {
269 int pos = chip->ecc.layout->eccpos[i]; in is_blank()
Datmel_nand.c77 .eccpos = {60, 61, 62, 63},
90 .eccpos = {0, 1, 2, 3},
486 layout->eccpos[i] = oobsize - ecc_len + i; in pmecc_config_ecc_layout()
836 pos = tmp + nand_chip->ecc.layout->eccpos[0]; in pmecc_correct_data()
925 uint32_t *eccpos = chip->ecc.layout->eccpos; in atmel_nand_pmecc_read_page() local
947 bitflips = pmecc_correction(mtd, stat, buf, &oob[eccpos[0]]); in atmel_nand_pmecc_read_page()
960 uint32_t *eccpos = chip->ecc.layout->eccpos; in atmel_nand_pmecc_write_page() local
983 chip->oob_poi[eccpos[pos]] = in atmel_nand_pmecc_write_page()
1046 pmecc_writel(host->ecc, SADDR, ecc_layout->eccpos[0]); in atmel_pmecc_core_init()
1048 ecc_layout->eccpos[ecc_layout->eccbytes - 1]); in atmel_pmecc_core_init()
[all …]
Dfsmc_nand.c44 .eccpos = {2, 3, 4, 18, 19, 20, 34, 35, 36, 50, 51, 52,
60 .eccpos = {2, 3, 4, 18, 19, 20, 34, 35, 36, 50, 51, 52},
71 .eccpos = {2, 3, 4},
84 .eccpos = { 2, 3, 4, 5, 6, 7, 8,
144 .eccpos = { 2, 3, 4, 5, 6, 7, 8,
180 .eccpos = { 2, 3, 4, 5, 6, 7, 8,
216 .eccpos = { 2, 3, 4, 5, 6, 7, 8,
240 .eccpos = { 0, 1, 2, 3, 6, 7, 8,
Dfsl_elbc_nand.c86 .eccpos = {6, 7, 8},
93 .eccpos = {8, 9, 10},
100 .eccpos = {6, 7, 8, 22, 23, 24, 38, 39, 40, 54, 55, 56},
107 .eccpos = {8, 9, 10, 24, 25, 26, 40, 41, 42, 56, 57, 58},
Dnand_bch.c182 layout->eccpos[i] = mtd->oobsize-layout->eccbytes+i; in nand_bch_init()
Dmxc_nand.c206 .eccpos = {6, 7, 8, 9, 10},
212 .eccpos = {6, 7, 8, 9, 10, 22, 23, 24, 25, 26,
220 .eccpos = {
231 .eccpos = {
248 .eccpos = {
Dlpc32xx_slc.c148 .eccpos = {10, 11, 12, 13, 14, 15},
621 oobecc = chip->oob_poi + chip->ecc.layout->eccpos[0]; in lpc32xx_nand_read_page_syndrome()
666 uint8_t *pb = chip->oob_poi + chip->ecc.layout->eccpos[0]; in lpc32xx_nand_write_page_syndrome()
Dsunxi_nand.c549 offset = mtd->writesize + layout->eccpos[i * ecc->bytes] - 4; in sunxi_nfc_hw_ecc_read_page()
636 offset = layout->eccpos[i * ecc->bytes] - 4 + mtd->writesize; in sunxi_nfc_hw_ecc_write_page()
1016 layout->eccpos[(ecc->bytes * i) + j] = in sunxi_nand_hw_ecc_ctrl_init()
1054 layout->eccpos[i] = i; in sunxi_nand_hw_syndrome_ecc_ctrl_init()
Ddavinci_nand.c492 .eccpos = { 0, 1, 2, 3, 4,
508 .eccpos = {
Dcafe_nand.c457 .eccpos = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13},
492 .eccpos = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13},
Dsh_flctl.c48 .eccpos = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9},
56 .eccpos = {
Dpxa3xx_nand.c290 .eccpos = {
300 .eccpos = {
315 .eccpos = {
Dbf5xx_nand.c114 .eccpos = {
Dlpc32xx_mlc.c144 .eccpos = { 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
Ds3c2410.c90 .eccpos = {0, 1, 2},
Ddocg4.c227 .eccpos = {7, 8, 9, 10, 11, 12, 13, 14, 15},
Ddiskonchip.c995 .eccpos = {0, 1, 2, 3, 4, 5},
/linux-4.1.27/include/uapi/mtd/
Dmtd-abi.h215 __u32 eccpos[32]; member
235 __u32 eccpos[MTD_MAX_ECCPOS_ENTRIES]; member
/linux-4.1.27/drivers/mtd/
Dmtdchar.c487 to->eccpos[i] = from->eccpos[i]; in shrink_ecclayout()
824 if (mtd->ecclayout->eccbytes > ARRAY_SIZE(oi.eccpos)) in mtdchar_ioctl()
828 memcpy(&oi.eccpos, mtd->ecclayout->eccpos, sizeof(oi.eccpos)); in mtdchar_ioctl()
/linux-4.1.27/arch/mips/jz4740/
Dboard-qi_lb60.c55 .eccpos = {
91 .eccpos = {
/linux-4.1.27/include/linux/mtd/
Dmtd.h107 __u32 eccpos[MTD_MAX_ECCPOS_ENTRIES_LARGE]; member
/linux-4.1.27/arch/arm/mach-pxa/
Dspitz.c769 .eccpos = {
/linux-4.1.27/drivers/staging/mt29f_spinand/
Dmt29f_spinand.c47 .eccpos = {
/linux-4.1.27/drivers/mtd/onenand/
Donenand_base.c73 .eccpos = {
101 .eccpos = {
122 .eccpos = {
139 .eccpos = {
/linux-4.1.27/drivers/mtd/nand/gpmi-nand/
Dgpmi-nand.c52 .eccpos = { 0, },
/linux-4.1.27/drivers/mtd/devices/
Ddocg3.c79 .eccpos = {7, 8, 9, 10, 11, 12, 13, 14},