Lines Matching full:oob
61 unsigned int oob; /* Non zero if operating on OOB data */ member
118 * ELBC may use HW ECC, so that OOB offsets, that NAND core uses for bbt,
120 * OOB {11, 5}, works for both SP and LP chips, with ECCM = 1 and ECCM = 0.
151 static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob) in set_addr() argument
170 (oob ? FPAR_LP_MS : 0) | column); in set_addr()
180 (oob ? FPAR_SP_MS : 0) | column); in set_addr()
187 /* for OOB data point to the second half of the buffer */ in set_addr()
188 if (oob) in set_addr()
275 static void fsl_elbc_do_read(struct nand_chip *chip, int oob) in fsl_elbc_do_read() argument
298 if (oob) in fsl_elbc_do_read()
352 /* READOOB reads only the OOB because no ECC is performed. */ in fsl_elbc_cmdfunc()
430 /* OOB area */ in fsl_elbc_cmdfunc()
432 elbc_fcm_ctrl->oob = 1; in fsl_elbc_cmdfunc()
435 elbc_fcm_ctrl->oob = 0; in fsl_elbc_cmdfunc()
462 if (elbc_fcm_ctrl->oob) in fsl_elbc_cmdfunc()
463 /* OOB area --> READOOB */ in fsl_elbc_cmdfunc()
471 set_addr(mtd, column, page_addr, elbc_fcm_ctrl->oob); in fsl_elbc_cmdfunc()
485 if (elbc_fcm_ctrl->oob || elbc_fcm_ctrl->column != 0 || in fsl_elbc_cmdfunc()
746 /* if HW ECC was chosen, setup ecc and oob layout */ in fsl_elbc_attach_chip()