Home
last modified time | relevance | path

Searched refs:eccsteps (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/mtd/nand/
A Decc-sw-bch.c298 int eccsteps = nand->ecc.ctx.nsteps; in nand_ecc_sw_bch_prepare_io_req() local
320 eccsteps; in nand_ecc_sw_bch_prepare_io_req()
321 eccsteps--, i += eccbytes, data += eccsize) in nand_ecc_sw_bch_prepare_io_req()
336 int eccsteps = nand->ecc.ctx.nsteps; in nand_ecc_sw_bch_finish_io_req() local
364 for (i = 0; eccsteps; eccsteps--, i += eccbytes, data += eccsize) in nand_ecc_sw_bch_finish_io_req()
368 for (eccsteps = nand->ecc.ctx.nsteps, i = 0, data = req->databuf.in; in nand_ecc_sw_bch_finish_io_req()
369 eccsteps; in nand_ecc_sw_bch_finish_io_req()
370 eccsteps--, i += eccbytes, data += eccsize) { in nand_ecc_sw_bch_finish_io_req()
A Decc-sw-hamming.c552 int eccsteps = nand->ecc.ctx.nsteps; in nand_ecc_sw_hamming_prepare_io_req() local
574 eccsteps; in nand_ecc_sw_hamming_prepare_io_req()
575 eccsteps--, i += eccbytes, data += eccsize) in nand_ecc_sw_hamming_prepare_io_req()
590 int eccsteps = nand->ecc.ctx.nsteps; in nand_ecc_sw_hamming_finish_io_req() local
618 for (i = 0; eccsteps; eccsteps--, i += eccbytes, data += eccsize) in nand_ecc_sw_hamming_finish_io_req()
622 for (eccsteps = nand->ecc.ctx.nsteps, i = 0, data = req->databuf.in; in nand_ecc_sw_hamming_finish_io_req()
623 eccsteps; in nand_ecc_sw_hamming_finish_io_req()
624 eccsteps--, i += eccbytes, data += eccsize) { in nand_ecc_sw_hamming_finish_io_req()
/linux/drivers/mtd/nand/raw/
A Dstm32_fmc2_nand.c681 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()
[all …]
A Dnand_base.c2948 int eccsteps = chip->ecc.steps; in nand_read_page_swecc() local
2956 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) in nand_read_page_swecc()
2964 eccsteps = chip->ecc.steps; in nand_read_page_swecc()
2967 for (i = 0 ; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_swecc()
3117 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_hwecc()
3137 eccsteps = chip->ecc.steps; in nand_read_page_hwecc()
3140 for (i = 0 ; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_hwecc()
3189 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_read_page_syndrome()
3935 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) in nand_write_page_swecc()
3967 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_write_page_hwecc()
[all …]
A Dmtk_nand.c1154 u32 eccsteps; in mtk_nfc_ooblayout_free() local
1156 eccsteps = mtd->writesize / chip->ecc.size; in mtk_nfc_ooblayout_free()
1158 if (section >= eccsteps) in mtk_nfc_ooblayout_free()
1172 u32 eccsteps; in mtk_nfc_ooblayout_ecc() local
1177 eccsteps = mtd->writesize / chip->ecc.size; in mtk_nfc_ooblayout_ecc()
1178 oob_region->offset = mtk_nand->fdm.reg_size * eccsteps; in mtk_nfc_ooblayout_ecc()
1226 u32 eccsteps, i, closest_spare = 0; in mtk_nfc_set_spare_per_sector() local
1228 eccsteps = mtd->writesize / nand->ecc.size; in mtk_nfc_set_spare_per_sector()
1229 *sps = mtd->oobsize / eccsteps; in mtk_nfc_set_spare_per_sector()
A Ddavinci_nand.c394 int eccsteps = chip->ecc.steps; in nand_davinci_read_page_hwecc_oob_first() local
414 for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) { in nand_davinci_read_page_hwecc_oob_first()
A Dnandsim.c2211 unsigned int eccsteps, eccbytes; in ns_attach_chip() local
2225 eccsteps = nsmtd->writesize / 512; in ns_attach_chip()
2229 if (nsmtd->oobsize < 64 || !eccsteps) { in ns_attach_chip()
2234 if (((eccbytes * eccsteps) + 2) > nsmtd->oobsize) { in ns_attach_chip()
A Dfsmc_nand.c711 int eccsteps = chip->ecc.steps; in fsmc_read_page_hwecc() local
725 for (i = 0, s = 0; s < eccsteps; s++, i += eccbytes, p += eccsize) { in fsmc_read_page_hwecc()
A Domap2.c1362 int eccsteps = info->nsteps_per_eccpg; in omap_elm_correct_data() local
1398 for (i = 0; i < eccsteps ; i++) { in omap_elm_correct_data()
1460 for (i = 0; i < eccsteps; i++) { in omap_elm_correct_data()

Completed in 37 milliseconds