Lines Matching full:steps
530 for (i = 0; i < ecc->steps; i++) { in rk_nfc_write_page_raw()
571 rk_nfc_buf_to_oob_ptr(chip, ecc->steps - 1), in rk_nfc_write_page_raw()
636 for (i = 0; i < ecc->steps; i++) { in rk_nfc_write_page_hwecc()
657 ecc->steps * oob_step, in rk_nfc_write_page_hwecc()
663 rk_nfc_xfer_start(nfc, NFC_WRITE, ecc->steps, dma_data, in rk_nfc_write_page_hwecc()
678 dma_unmap_single(nfc->dev, dma_oob, ecc->steps * oob_step, in rk_nfc_write_page_hwecc()
719 for (i = 0; i < ecc->steps; i++) { in rk_nfc_read_page_raw()
728 memcpy(rk_nfc_buf_to_oob_ptr(chip, ecc->steps - 1), in rk_nfc_read_page_raw()
773 ecc->steps * oob_step, in rk_nfc_read_page_hwecc()
790 rk_nfc_xfer_start(nfc, NFC_READ, ecc->steps, dma_data, in rk_nfc_read_page_hwecc()
805 dma_unmap_single(nfc->dev, dma_oob, ecc->steps * oob_step, in rk_nfc_read_page_hwecc()
814 for (i = 1; i < ecc->steps; i++) { in rk_nfc_read_page_hwecc()
826 for (i = 0; i < (ecc->steps / 2); i++) { in rk_nfc_read_page_hwecc()
980 ecc->steps = mtd->writesize / ecc->size; in rk_nfc_ecc_init()
986 max_strength = ((mtd->oobsize / ecc->steps) - 4) * 8 / in rk_nfc_ecc_init()
1003 ecc->steps = mtd->writesize / ecc->size; in rk_nfc_ecc_init()
1032 rknand->metadata_size = NFC_SYS_DATA_SIZE * ecc->steps; in rk_nfc_attach_chip()
1052 new_oob_len = ecc->steps * NFC_MAX_OOB_PER_STEP; in rk_nfc_attach_chip()