Lines Matching refs:eccpos
592 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()
793 ecclayout->eccpos[i - 1] + 2; in omap_select_ecc_scheme()
829 ecclayout->eccpos[i] = i + BADBLOCK_MARKER_LENGTH; in omap_select_ecc_scheme()
862 ecclayout->eccpos[i] = i + BADBLOCK_MARKER_LENGTH; in omap_select_ecc_scheme()