Lines Matching refs:steps
529 for (i = 0; i < ecc->steps; i++) {
571 rk_nfc_buf_to_oob_ptr(chip, ecc->steps - 1),
643 for (i = 0; i < ecc->steps; i++) {
645 oob = chip->oob_poi + (ecc->steps - 1) * NFC_SYS_DATA_SIZE;
660 ecc->steps * oob_step,
666 rk_nfc_xfer_start(nfc, NFC_WRITE, ecc->steps, dma_data,
681 dma_unmap_single(nfc->dev, dma_oob, ecc->steps * oob_step,
722 for (i = 0; i < ecc->steps; i++) {
731 memcpy(rk_nfc_buf_to_oob_ptr(chip, ecc->steps - 1),
776 ecc->steps * oob_step,
793 rk_nfc_xfer_start(nfc, NFC_READ, ecc->steps, dma_data,
808 dma_unmap_single(nfc->dev, dma_oob, ecc->steps * oob_step,
817 for (i = 0; i < ecc->steps; i++) {
819 oob = chip->oob_poi + (ecc->steps - 1) * NFC_SYS_DATA_SIZE;
834 for (i = 0; i < (ecc->steps / 2); i++) {
984 ecc->steps = mtd->writesize / ecc->size;
990 max_strength = ((mtd->oobsize / ecc->steps) - 4) * 8 /
1007 ecc->steps = mtd->writesize / ecc->size;
1036 rknand->metadata_size = NFC_SYS_DATA_SIZE * ecc->steps;
1056 new_oob_len = ecc->steps * NFC_MAX_OOB_PER_STEP;