Lines Matching refs:eccsteps
681 int eccsteps = chip->ecc.steps; in stm32_fmc2_nfc_read_page() local
692 for (i = mtd->writesize + FMC2_BBM_LEN, s = 0; s < eccsteps; in stm32_fmc2_nfc_read_page()
843 int eccsteps = chip->ecc.steps; in stm32_fmc2_nfc_xfer() local
856 for_each_sg(nfc->dma_data_sg.sgl, sg, eccsteps, s) { in stm32_fmc2_nfc_xfer()
862 eccsteps, dma_data_dir); in stm32_fmc2_nfc_xfer()
867 eccsteps, dma_transfer_dir, in stm32_fmc2_nfc_xfer()
887 for_each_sg(nfc->dma_ecc_sg.sgl, sg, eccsteps, s) { in stm32_fmc2_nfc_xfer()
893 eccsteps, dma_data_dir); in stm32_fmc2_nfc_xfer()
899 eccsteps, dma_transfer_dir, in stm32_fmc2_nfc_xfer()
954 eccsteps, dma_data_dir); in stm32_fmc2_nfc_xfer()
957 dma_unmap_sg(nfc->dev, nfc->dma_data_sg.sgl, eccsteps, dma_data_dir); in stm32_fmc2_nfc_xfer()
1029 int eccsteps = chip->ecc.steps; in stm32_fmc2_nfc_seq_correct() local
1036 for (i = 0, s = 0; s < eccsteps; s++, i += eccbytes, dat += eccsize) { in stm32_fmc2_nfc_seq_correct()