Lines Matching refs:eccpos
58 .eccpos = {0, 1, 2},
68 .eccpos = {0, 1, 2, 3, 6, 7},
76 .eccpos = {
87 .eccpos = {
1134 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_read_page_swecc() local
1142 ecc_code[i] = chip->oob_poi[eccpos[i]]; in nand_read_page_swecc()
1171 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_read_subpage() local
1203 if (eccpos[i + start_step * chip->ecc.bytes] + 1 != in nand_read_subpage()
1204 eccpos[i + start_step * chip->ecc.bytes + 1]) { in nand_read_subpage()
1217 aligned_pos = eccpos[index] & ~(busw - 1); in nand_read_subpage()
1219 if (eccpos[index] & (busw - 1)) in nand_read_subpage()
1221 if (eccpos[index + (num_steps * chip->ecc.bytes)] & (busw - 1)) in nand_read_subpage()
1230 chip->buffers->ecccode[i] = chip->oob_poi[eccpos[i + index]]; in nand_read_subpage()
1264 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_read_page_hwecc() local
1274 ecc_code[i] = chip->oob_poi[eccpos[i]]; in nand_read_page_hwecc()
1313 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_read_page_hwecc_oob_first() local
1322 ecc_code[i] = chip->oob_poi[eccpos[i]]; in nand_read_page_hwecc_oob_first()
1967 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_write_page_swecc() local
1974 chip->oob_poi[eccpos[i]] = ecc_calc[i]; in nand_write_page_swecc()
1993 uint32_t *eccpos = chip->ecc.layout->eccpos; in nand_write_page_hwecc() local
2002 chip->oob_poi[eccpos[i]] = ecc_calc[i]; in nand_write_page_hwecc()