Lines Matching refs:eccsteps
700 int eccsteps = chip->ecc.steps; in stm32_fmc2_nfc_read_page() local
711 for (i = mtd->writesize + FMC2_BBM_LEN, s = 0; s < eccsteps; in stm32_fmc2_nfc_read_page()
862 int eccsteps = chip->ecc.steps; in stm32_fmc2_nfc_xfer() local
875 for_each_sg(nfc->dma_data_sg.sgl, sg, eccsteps, s) { in stm32_fmc2_nfc_xfer()
881 eccsteps, dma_data_dir); in stm32_fmc2_nfc_xfer()
886 eccsteps, dma_transfer_dir, in stm32_fmc2_nfc_xfer()
906 for_each_sg(nfc->dma_ecc_sg.sgl, sg, eccsteps, s) { in stm32_fmc2_nfc_xfer()
912 eccsteps, dma_data_dir); in stm32_fmc2_nfc_xfer()
920 eccsteps, dma_transfer_dir, in stm32_fmc2_nfc_xfer()
975 eccsteps, dma_data_dir); in stm32_fmc2_nfc_xfer()
978 dma_unmap_sg(nfc->dev, nfc->dma_data_sg.sgl, eccsteps, dma_data_dir); in stm32_fmc2_nfc_xfer()
1050 int eccsteps = chip->ecc.steps; in stm32_fmc2_nfc_seq_correct() local
1057 for (i = 0, s = 0; s < eccsteps; s++, i += eccbytes, dat += eccsize) { in stm32_fmc2_nfc_seq_correct()