Lines Matching refs:steps
531 for (i = 0; i < chip->ecc.steps; i++) { in lpc32xx_xfer()
535 mtd->writesize / chip->ecc.steps, dir); in lpc32xx_xfer()
540 if (i == chip->ecc.steps - 1) in lpc32xx_xfer()
572 host->ecc_buf[chip->ecc.steps - 1] = in lpc32xx_xfer()
615 status = lpc32xx_xfer(mtd, buf, chip->ecc.steps, 1); in lpc32xx_nand_read_page_syndrome()
621 lpc32xx_slc_ecc_copy(tmpecc, (uint32_t *) host->ecc_buf, chip->ecc.steps); in lpc32xx_nand_read_page_syndrome()
630 for (i = 0; i < chip->ecc.steps; i++) { in lpc32xx_nand_read_page_syndrome()
659 chip->legacy.read_buf(chip, buf, chip->ecc.size * chip->ecc.steps); in lpc32xx_nand_read_page_raw_syndrome()
682 error = lpc32xx_xfer(mtd, (uint8_t *)buf, chip->ecc.steps, 0); in lpc32xx_nand_write_page_syndrome()
695 lpc32xx_slc_ecc_copy(pb, (uint32_t *)host->ecc_buf, chip->ecc.steps); in lpc32xx_nand_write_page_syndrome()
715 chip->ecc.size * chip->ecc.steps); in lpc32xx_nand_write_page_raw_syndrome()