Lines Matching full:oob
62 unsigned int oob; /* Non zero if operating on OOB data */ member
119 * ELBC may use HW ECC, so that OOB offsets, that NAND core uses for bbt,
121 * OOB {11, 5}, works for both SP and LP chips, with ECCM = 1 and ECCM = 0.
152 static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob) in set_addr() argument
171 (oob ? FPAR_LP_MS : 0) | column); in set_addr()
181 (oob ? FPAR_SP_MS : 0) | column); in set_addr()
188 /* for OOB data point to the second half of the buffer */ in set_addr()
189 if (oob) in set_addr()
276 static void fsl_elbc_do_read(struct nand_chip *chip, int oob) in fsl_elbc_do_read() argument
299 if (oob) in fsl_elbc_do_read()
353 /* READOOB reads only the OOB because no ECC is performed. */ in fsl_elbc_cmdfunc()
431 /* OOB area */ in fsl_elbc_cmdfunc()
433 elbc_fcm_ctrl->oob = 1; in fsl_elbc_cmdfunc()
436 elbc_fcm_ctrl->oob = 0; in fsl_elbc_cmdfunc()
463 if (elbc_fcm_ctrl->oob) in fsl_elbc_cmdfunc()
464 /* OOB area --> READOOB */ in fsl_elbc_cmdfunc()
472 set_addr(mtd, column, page_addr, elbc_fcm_ctrl->oob); in fsl_elbc_cmdfunc()
486 if (elbc_fcm_ctrl->oob || elbc_fcm_ctrl->column != 0 || in fsl_elbc_cmdfunc()