Home
last modified time | relevance | path

Searched refs:ecc (Results 1 – 25 of 139) sorted by relevance

123456

/drivers/mtd/nand/
A Decc-mtk.c146 dec = readw(ecc->regs + ecc->caps->ecc_regs[ECC_DECIRQ_STA]) in mtk_ecc_irq()
149 dec = readw(ecc->regs + ecc->caps->ecc_regs[ECC_DECDONE]); in mtk_ecc_irq()
155 readw(ecc->regs + ecc->caps->ecc_regs[ECC_DECIRQ_STA]); in mtk_ecc_irq()
162 enc = readl(ecc->regs + ecc->caps->ecc_regs[ECC_ENCIRQ_STA]) in mtk_ecc_irq()
274 if (!ecc) { in mtk_ecc_get()
282 return ecc; in mtk_ecc_get()
299 return ecc; in of_mtk_ecc_get()
362 readw(ecc->regs + ecc->caps->ecc_regs[ECC_DECDONE]); in mtk_ecc_disable()
422 ecc->regs + ecc->caps->ecc_regs[ECC_ENCPAR00], in mtk_ecc_encode()
529 ecc = devm_kzalloc(dev, sizeof(*ecc), GFP_KERNEL); in mtk_ecc_probe()
[all …]
A Decc-sw-bch.c189 conf->step_size = nand->ecc.user_conf.step_size; in nand_ecc_sw_bch_init_ctx()
190 conf->strength = nand->ecc.user_conf.strength; in nand_ecc_sw_bch_init_ctx()
246 nand->ecc.ctx.priv = engine_conf; in nand_ecc_sw_bch_init_ctx()
247 nand->ecc.ctx.nsteps = nsteps; in nand_ecc_sw_bch_init_ctx()
248 nand->ecc.ctx.total = nsteps * code_size; in nand_ecc_sw_bch_init_ctx()
296 int eccsize = nand->ecc.ctx.conf.step_size; in nand_ecc_sw_bch_prepare_io_req()
298 int eccsteps = nand->ecc.ctx.nsteps; in nand_ecc_sw_bch_prepare_io_req()
299 int total = nand->ecc.ctx.total; in nand_ecc_sw_bch_prepare_io_req()
333 int eccsize = nand->ecc.ctx.conf.step_size; in nand_ecc_sw_bch_finish_io_req()
334 int total = nand->ecc.ctx.total; in nand_ecc_sw_bch_finish_io_req()
[all …]
A Decc.c114 if (!nand->ecc.engine || !nand->ecc.engine->ops->init_ctx) in nand_ecc_init_ctx()
127 if (nand->ecc.engine && nand->ecc.engine->ops->cleanup_ctx) in nand_ecc_cleanup_ctx()
140 if (!nand->ecc.engine || !nand->ecc.engine->ops->prepare_io_req) in nand_ecc_prepare_io_req()
155 if (!nand->ecc.engine || !nand->ecc.engine->ops->finish_io_req) in nand_ecc_finish_io_req()
213 .ecc = nand_ooblayout_ecc_sp,
254 .ecc = nand_ooblayout_ecc_lp,
328 .ecc = nand_ooblayout_ecc_lp_hamming,
443 nand->ecc.user_conf.step_size = size; in of_get_nand_ecc_user_config()
599 algo = nand->ecc.defaults.algo; in nand_ecc_get_sw_engine()
616 return nand->ecc.ondie_engine; in nand_ecc_get_on_die_hw_engine()
[all …]
A Decc-sw-hamming.c366 unsigned int step_size = nand->ecc.ctx.conf.step_size; in nand_ecc_sw_hamming_calculate()
469 struct nand_ecc_props *conf = &nand->ecc.ctx.conf; in nand_ecc_sw_hamming_init_ctx()
492 conf->step_size = nand->ecc.user_conf.step_size; in nand_ecc_sw_hamming_init_ctx()
515 nand->ecc.ctx.priv = engine_conf; in nand_ecc_sw_hamming_init_ctx()
517 nand->ecc.ctx.total = nand->ecc.ctx.nsteps * engine_conf->code_size; in nand_ecc_sw_hamming_init_ctx()
550 int eccsize = nand->ecc.ctx.conf.step_size; in nand_ecc_sw_hamming_prepare_io_req()
552 int eccsteps = nand->ecc.ctx.nsteps; in nand_ecc_sw_hamming_prepare_io_req()
553 int total = nand->ecc.ctx.total; in nand_ecc_sw_hamming_prepare_io_req()
587 int eccsize = nand->ecc.ctx.conf.step_size; in nand_ecc_sw_hamming_finish_io_req()
588 int total = nand->ecc.ctx.total; in nand_ecc_sw_hamming_finish_io_req()
[all …]
/drivers/mtd/nand/raw/ingenic/
A Dingenic_ecc.c32 return ecc->ops->calculate(ecc, params, buf, ecc_code); in ingenic_ecc_calculate()
52 return ecc->ops->correct(ecc, params, buf, ecc_code); in ingenic_ecc_correct()
83 return ecc; in ingenic_ecc_get()
114 return ecc; in of_ingenic_ecc_get()
124 put_device(ecc->dev); in ingenic_ecc_release()
132 ecc = devm_kzalloc(dev, sizeof(*ecc), GFP_KERNEL); in ingenic_ecc_probe()
133 if (!ecc) in ingenic_ecc_probe()
137 if (!ecc->ops) in ingenic_ecc_probe()
141 if (IS_ERR(ecc->base)) in ingenic_ecc_probe()
144 ecc->ops->disable(ecc); in ingenic_ecc_probe()
[all …]
A Dingenic_nand_drv.c44 struct ingenic_ecc *ecc; member
75 struct nand_ecc_ctrl *ecc = &chip->ecc; in qi_lb60_ooblayout_ecc() local
90 struct nand_ecc_ctrl *ecc = &chip->ecc; in qi_lb60_ooblayout_free() local
110 struct nand_ecc_ctrl *ecc = &chip->ecc; in jz4725b_ooblayout_ecc() local
125 struct nand_ecc_ctrl *ecc = &chip->ecc; in jz4725b_ooblayout_free() local
193 chip->ecc.bytes = fls((1 + 8) * chip->ecc.size) * in ingenic_nand_attach_chip()
199 if (!nfc->ecc) { in ingenic_nand_attach_chip()
211 chip->ecc.strength, chip->ecc.size, chip->ecc.bytes); in ingenic_nand_attach_chip()
227 eccbytes = mtd->writesize / chip->ecc.size * chip->ecc.bytes; in ingenic_nand_attach_chip()
503 if (nfc->ecc) in ingenic_nand_probe()
[all …]
A Djz4740_ecc.c50 writel(0, ecc->base + JZ_REG_NAND_IRQ_STAT); in jz4740_ecc_reset()
53 reg = readl(ecc->base + JZ_REG_NAND_ECC_CTRL); in jz4740_ecc_reset()
62 writel(reg, ecc->base + JZ_REG_NAND_ECC_CTRL); in jz4740_ecc_reset()
73 jz4740_ecc_reset(ecc, true); in jz4740_ecc_calculate()
82 reg = readl(ecc->base + JZ_REG_NAND_ECC_CTRL); in jz4740_ecc_calculate()
84 writel(reg, ecc->base + JZ_REG_NAND_ECC_CTRL); in jz4740_ecc_calculate()
125 jz4740_ecc_reset(ecc, false); in jz4740_ecc_correct()
130 reg = readl(ecc->base + JZ_REG_NAND_ECC_CTRL); in jz4740_ecc_correct()
132 writel(reg, ecc->base + JZ_REG_NAND_ECC_CTRL); in jz4740_ecc_correct()
141 reg = readl(ecc->base + JZ_REG_NAND_ECC_CTRL); in jz4740_ecc_correct()
[all …]
A Dingenic_ecc.h29 int ingenic_ecc_calculate(struct ingenic_ecc *ecc,
32 int ingenic_ecc_correct(struct ingenic_ecc *ecc,
36 void ingenic_ecc_release(struct ingenic_ecc *ecc);
39 static inline int ingenic_ecc_calculate(struct ingenic_ecc *ecc, in ingenic_ecc_calculate() argument
46 static inline int ingenic_ecc_correct(struct ingenic_ecc *ecc, in ingenic_ecc_correct() argument
53 static inline void ingenic_ecc_release(struct ingenic_ecc *ecc) in ingenic_ecc_release() argument
64 void (*disable)(struct ingenic_ecc *ecc);
65 int (*calculate)(struct ingenic_ecc *ecc,
68 int (*correct)(struct ingenic_ecc *ecc,
/drivers/dma/ti/
A Dedma.c392 struct edma_cc *ecc = echan->ecc; in edma_set_chmap() local
403 struct edma_cc *ecc = echan->ecc; in edma_setup_interrupt() local
548 struct edma_cc *ecc = echan->ecc; in edma_start() local
575 struct edma_cc *ecc = echan->ecc; in edma_stop() local
621 struct edma_cc *ecc = echan->ecc; in edma_trigger_channel() local
634 struct edma_cc *ecc = echan->ecc; in edma_clean_channel() local
653 struct edma_cc *ecc = echan->ecc; in edma_assign_channel_eventq() local
671 struct edma_cc *ecc = echan->ecc; in edma_alloc_channel() local
720 struct edma_cc *ecc = echan->ecc; in edma_execute() local
1538 struct edma_cc *ecc = echan->ecc; in edma_error_handler() local
[all …]
/drivers/mtd/nand/raw/
A Dnand_base.c3777 int chunk = chip->ecc.bytes + chip->ecc.prepad + chip->ecc.postpad; in nand_read_oob_syndrome()
3844 int chunk = chip->ecc.bytes + chip->ecc.prepad + chip->ecc.postpad; in nand_write_oob_syndrome()
5784 chip->ecc.total = base->ecc.ctx.total; in rawnand_sw_hamming_init()
5838 chip->ecc.total = base->ecc.ctx.total; in rawnand_sw_bch_init()
5894 if (!ecc->write_subpage && ecc->hwctl && ecc->calculate) in nand_set_ecc_on_host_ops()
5899 if ((!ecc->calculate || !ecc->correct || !ecc->hwctl) && in nand_set_ecc_on_host_ops()
6441 if (ecc->correct || ecc->calculate) { in nand_scan_tail()
6452 ecc->read_oob_raw = ecc->read_oob; in nand_scan_tail()
6454 ecc->write_oob_raw = ecc->write_oob; in nand_scan_tail()
6471 base->ecc.ctx.nsteps = ecc->steps; in nand_scan_tail()
[all …]
A Dsunxi_nand.c763 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_correct() local
803 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_read_chunk() local
882 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_read_extra_oob() local
910 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_read_chunks_dma() local
1038 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_write_chunk() local
1076 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_write_extra_oob() local
1097 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_read_page() local
1156 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_read_subpage() local
1212 struct nand_ecc_ctrl *ecc = &nand->ecc; in sunxi_nfc_hw_ecc_write_page() local
1690 ecc->bytes = ALIGN(ecc->bytes, 2); in sunxi_nand_hw_ecc_ctrl_init()
[all …]
A Dnand_micron.c66 struct micron_on_die_ecc ecc; member
172 if (micron->ecc.forced) in micron_nand_on_die_ecc_setup()
183 micron->ecc.enabled = enable; in micron_nand_on_die_ecc_setup()
251 offs = step * chip->ecc.size; in micron_nand_on_die_ecc_status_4()
355 if (chip->ecc.strength == 4) in micron_nand_read_page_on_die_ecc()
519 micron->ecc.forced = true; in micron_nand_init()
520 micron->ecc.enabled = true; in micron_nand_init()
535 if (!micron->ecc.rawbuf) { in micron_nand_init()
549 chip->ecc.size = 512; in micron_nand_init()
569 kfree(micron->ecc.rawbuf); in micron_nand_init()
[all …]
A Drockchip-nand-controller.c265 struct nand_ecc_ctrl *ecc = &chip->ecc; in rk_nfc_select_chip() local
512 struct nand_ecc_ctrl *ecc = &chip->ecc; in rk_nfc_write_page_raw() local
594 struct nand_ecc_ctrl *ecc = &chip->ecc; in rk_nfc_write_page_hwecc() local
713 struct nand_ecc_ctrl *ecc = &chip->ecc; in rk_nfc_read_page_raw() local
767 struct nand_ecc_ctrl *ecc = &chip->ecc; in rk_nfc_read_page_hwecc() local
989 struct nand_ecc_ctrl *ecc = &chip->ecc; in rk_nfc_ecc_init() local
996 if (!ecc->size || !ecc->strength || in rk_nfc_ecc_init()
999 ecc->steps = mtd->writesize / ecc->size; in rk_nfc_ecc_init()
1022 ecc->steps = mtd->writesize / ecc->size; in rk_nfc_ecc_init()
1023 ecc->bytes = DIV_ROUND_UP(ecc->strength * fls(8 * chip->ecc.size), 8); in rk_nfc_ecc_init()
[all …]
A Domap2.c1233 struct nand_ecc_ctrl *ecc = &info->nand.ecc; in omap_elm_correct_data() local
1384 data += ecc->size; in omap_elm_correct_data()
1774 off += chip->ecc.total; in omap_ooblayout_free()
1952 chip->ecc.bytes = 3; in omap_nand_attach_chip()
1953 chip->ecc.size = 512; in omap_nand_attach_chip()
1969 chip->ecc.size = 512; in omap_nand_attach_chip()
1970 chip->ecc.bytes = 7; in omap_nand_attach_chip()
1989 chip->ecc.size = 512; in omap_nand_attach_chip()
2006 chip->ecc.size = 512; in omap_nand_attach_chip()
2061 chip->ecc.steps = mtd->writesize / chip->ecc.size; in omap_nand_attach_chip()
[all …]
A Dfsmc_nand.c392 u8 *ecc) in fsmc_read_hwecc_ecc4() argument
411 ecc[0] = ecc_tmp; in fsmc_read_hwecc_ecc4()
412 ecc[1] = ecc_tmp >> 8; in fsmc_read_hwecc_ecc4()
417 ecc[4] = ecc_tmp; in fsmc_read_hwecc_ecc4()
418 ecc[5] = ecc_tmp >> 8; in fsmc_read_hwecc_ecc4()
423 ecc[8] = ecc_tmp; in fsmc_read_hwecc_ecc4()
424 ecc[9] = ecc_tmp >> 8; in fsmc_read_hwecc_ecc4()
440 u8 *ecc) in fsmc_read_hwecc_ecc1() argument
446 ecc[0] = ecc_tmp; in fsmc_read_hwecc_ecc1()
447 ecc[1] = ecc_tmp >> 8; in fsmc_read_hwecc_ecc1()
[all …]
A Dqcom_nandc.c221 struct nand_ecc_ctrl *ecc = &chip->ecc; in nandc_set_read_loc() local
330 struct nand_ecc_ctrl *ecc = &chip->ecc; in config_nand_cw_read() local
477 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_read_cw_raw() local
566 struct nand_ecc_ctrl *ecc = &chip->ecc; in check_for_erased_page() local
625 struct nand_ecc_ctrl *ecc = &chip->ecc; in parse_read_errors() local
727 struct nand_ecc_ctrl *ecc = &chip->ecc; in read_page_ecc() local
805 struct nand_ecc_ctrl *ecc = &chip->ecc; in copy_last_cw() local
899 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_read_page() local
927 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_read_page_raw() local
952 struct nand_ecc_ctrl *ecc = &chip->ecc; in qcom_nandc_read_oob() local
[all …]
A Dmtk_nand.c146 struct mtk_ecc *ecc; member
688 chip->ecc.size); in mtk_nfc_format_subpage()
719 chip->ecc.size); in mtk_nfc_format_page()
1242 if (!nand->ecc.size || !nand->ecc.strength) { in mtk_nfc_ecc_init()
1257 nand->ecc.size = 512; in mtk_nfc_ecc_init()
1260 nand->ecc.size = 1024; in mtk_nfc_ecc_init()
1268 free = (nand->ecc.strength * mtk_ecc_get_parity_bits(nfc->ecc) in mtk_nfc_ecc_init()
1288 mtk_ecc_adjust_strength(nfc->ecc, &nand->ecc.strength); in mtk_nfc_ecc_init()
1291 nand->ecc.size, nand->ecc.strength); in mtk_nfc_ecc_init()
1524 if (IS_ERR(nfc->ecc)) in mtk_nfc_probe()
[all …]
A Dnuvoton-ma35d1-nand-controller.c143 .ecc = ma35_ooblayout_ecc,
253 if (chip->ecc.strength != 0) { in ma35_nand_hwecc_init()
254 chip->ecc.steps = mtd->writesize / chip->ecc.size; in ma35_nand_hwecc_init()
255 nvtnand->eccstatus = (chip->ecc.steps < 4) ? 1 : chip->ecc.steps / 4; in ma35_nand_hwecc_init()
258 switch (chip->ecc.strength) { in ma35_nand_hwecc_init()
260 chip->ecc.total = chip->ecc.steps * MA35_PARITY_BCH8; in ma35_nand_hwecc_init()
264 chip->ecc.total = chip->ecc.steps * MA35_PARITY_BCH12; in ma35_nand_hwecc_init()
268 chip->ecc.total = chip->ecc.steps * MA35_PARITY_BCH24; in ma35_nand_hwecc_init()
276 chip->ecc.bytes = chip->ecc.total / chip->ecc.steps; in ma35_nand_hwecc_init()
294 if (chip->ecc.strength <= 8) { in ma35_nfi_correct()
[all …]
A Dstm32_fmc2_nand.c504 ecc[0] = ecc_sta; in stm32_fmc2_nfc_ham_set_ecc()
510 u8 *ecc) in stm32_fmc2_nfc_ham_calculate() argument
591 u8 *ecc) in stm32_fmc2_nfc_bch_calculate() argument
606 ecc[0] = bchpbr; in stm32_fmc2_nfc_bch_calculate()
607 ecc[1] = bchpbr >> 8; in stm32_fmc2_nfc_bch_calculate()
612 ecc[4] = bchpbr; in stm32_fmc2_nfc_bch_calculate()
613 ecc[5] = bchpbr >> 8; in stm32_fmc2_nfc_bch_calculate()
620 ecc[8] = bchpbr; in stm32_fmc2_nfc_bch_calculate()
626 ecc[12] = bchpbr; in stm32_fmc2_nfc_bch_calculate()
1680 struct nand_ecc_ctrl *ecc = &chip->ecc; in stm32_fmc2_nfc_ooblayout_ecc() local
[all …]
A Dlpc32xx_slc.c167 .ecc = lpc32xx_ooblayout_ecc,
410 uint32_t ce = ecc[i / 3]; in lpc32xx_slc_ecc_copy()
538 if (i == chip->ecc.steps - 1) in lpc32xx_xfer()
636 buf += chip->ecc.size; in lpc32xx_nand_read_page_syndrome()
637 oobecc += chip->ecc.bytes; in lpc32xx_nand_read_page_syndrome()
657 chip->legacy.read_buf(chip, buf, chip->ecc.size * chip->ecc.steps); in lpc32xx_nand_read_page_raw_syndrome()
713 chip->ecc.size * chip->ecc.steps); in lpc32xx_nand_write_page_raw_syndrome()
794 chip->ecc.size = 256; in lpc32xx_nand_attach_chip()
795 chip->ecc.strength = 1; in lpc32xx_nand_attach_chip()
797 chip->ecc.prepad = 0; in lpc32xx_nand_attach_chip()
[all …]
A Dtegra_nand.c185 struct mtd_oob_region ecc; member
734 chip->ecc.strength); in tegra_nand_read_page_hwecc()
885 switch (chip->ecc.algo) { in tegra_nand_select_strength()
928 chip->ecc.size = 512; in tegra_nand_attach_chip()
929 chip->ecc.steps = mtd->writesize / chip->ecc.size; in tegra_nand_attach_chip()
958 if (!chip->ecc.strength) { in tegra_nand_attach_chip()
967 chip->ecc.strength = ret; in tegra_nand_attach_chip()
973 switch (chip->ecc.algo) { in tegra_nand_attach_chip()
991 chip->ecc.strength); in tegra_nand_attach_chip()
1014 chip->ecc.strength); in tegra_nand_attach_chip()
[all …]
A Ddenali.c246 struct nand_ecc_ctrl *ecc = &chip->ecc; in denali_payload_xfer() local
252 pos = i * (ecc->size + ecc->bytes); in denali_payload_xfer()
253 len = ecc->size; in denali_payload_xfer()
283 struct nand_ecc_ctrl *ecc = &chip->ecc; in denali_oob_xfer() local
297 pos = ecc->size + i * (ecc->size + ecc->bytes); in denali_oob_xfer()
303 len = ecc->bytes; in denali_oob_xfer()
413 struct nand_ecc_ctrl *ecc = &chip->ecc; in denali_check_erased_page() local
423 ecc->strength); in denali_check_erased_page()
431 buf += ecc->size; in denali_check_erased_page()
1004 chip->ecc.size <<= 1; in denali_multidev_fixup()
[all …]
A Drenesas-nand-controller.c463 chip->ecc.size, in rnandc_read_page_hw_ecc()
499 chip->ecc.size); in rnandc_read_subpage_hw_ecc()
557 chip->ecc.size, in rnandc_read_subpage_hw_ecc()
645 chip->ecc.size); in rnandc_write_subpage_hw_ecc()
982 unsigned int eccbytes = round_up(chip->ecc.bytes, 4) * chip->ecc.steps; in rnandc_ooblayout_ecc()
997 unsigned int eccbytes = round_up(chip->ecc.bytes, 4) * chip->ecc.steps; in rnandc_ooblayout_free()
1041 chip->ecc.bytes = 4; in rnandc_hw_ecc_controller_init()
1045 chip->ecc.bytes = 7; in rnandc_hw_ecc_controller_init()
1072 chip->ecc.steps = mtd->writesize / chip->ecc.size; in rnandc_hw_ecc_controller_init()
1083 struct nand_ecc_ctrl *ecc = &chip->ecc; in rnandc_ecc_init() local
[all …]
A Dmeson_nand.c398 len = nand->ecc.size * (i + 1) + (nand->ecc.bytes + 2) * i; in meson_nfc_oob_ptr()
408 temp = nand->ecc.size + nand->ecc.bytes; in meson_nfc_data_ptr()
425 buf += nand->ecc.size; in meson_nfc_get_data_oob()
444 buf += nand->ecc.size; in meson_nfc_set_data_oob()
540 for (i = 0, count = 0; i < nand->ecc.steps; i++, count += (2 + nand->ecc.bytes)) { in meson_nfc_set_user_byte()
553 for (i = 0, count = 0; i < nand->ecc.steps; i++, count += (2 + nand->ecc.bytes)) { in meson_nfc_get_user_byte()
881 struct nand_ecc_ctrl *ecc = &nand->ecc; in meson_nfc_read_page_hwecc() local
913 oob, ecc->bytes + 2, in meson_nfc_read_page_hwecc()
915 ecc->strength); in meson_nfc_read_page_hwecc()
1125 .ecc = meson_ooblayout_ecc,
[all …]
/drivers/mtd/nand/raw/atmel/
A Dpmecc.c287 req->ecc.ooboffset + req->ecc.bytes > req->oobsize) in atmel_pmecc_prepare_user_req()
295 req->ecc.sectorsize = 1024; in atmel_pmecc_prepare_user_req()
297 req->ecc.sectorsize = 512; in atmel_pmecc_prepare_user_req()
300 if (req->ecc.sectorsize != 512 && req->ecc.sectorsize != 1024) in atmel_pmecc_prepare_user_req()
306 req->ecc.nsectors = req->pagesize / req->ecc.sectorsize; in atmel_pmecc_prepare_user_req()
334 req->ecc.bytes = eccbytes; in atmel_pmecc_prepare_user_req()
337 if (req->ecc.ooboffset < 0) in atmel_pmecc_prepare_user_req()
389 user->eccbytes = req->ecc.bytes / req->ecc.nsectors; in atmel_pmecc_create_user()
404 user->cache.eaddr = req->ecc.ooboffset + req->ecc.bytes - 1; in atmel_pmecc_create_user()
746 int sector, void *ecc) in atmel_pmecc_get_generated_eccbytes() argument
[all …]

Completed in 107 milliseconds

123456