Lines Matching refs:steps
542 for (i = 0; i < chip->ecc.steps; i++) { in lpc32xx_xfer()
546 mtd->writesize / chip->ecc.steps, dir); in lpc32xx_xfer()
551 if (i == chip->ecc.steps - 1) in lpc32xx_xfer()
583 host->ecc_buf[chip->ecc.steps - 1] = in lpc32xx_xfer()
626 status = lpc32xx_xfer(mtd, buf, chip->ecc.steps, 1); in lpc32xx_nand_read_page_syndrome()
632 lpc32xx_slc_ecc_copy(tmpecc, (uint32_t *) host->ecc_buf, chip->ecc.steps); in lpc32xx_nand_read_page_syndrome()
641 for (i = 0; i < chip->ecc.steps; i++) { in lpc32xx_nand_read_page_syndrome()
669 chip->read_buf(mtd, buf, chip->ecc.size * chip->ecc.steps); in lpc32xx_nand_read_page_raw_syndrome()
692 error = lpc32xx_xfer(mtd, (uint8_t *)buf, chip->ecc.steps, 0); in lpc32xx_nand_write_page_syndrome()
705 lpc32xx_slc_ecc_copy(pb, (uint32_t *)host->ecc_buf, chip->ecc.steps); in lpc32xx_nand_write_page_syndrome()
724 chip->ecc.size * chip->ecc.steps); in lpc32xx_nand_write_page_raw_syndrome()