Home
last modified time | relevance | path

Searched refs:nsteps (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/mtd/nand/
H A Decc-sw-bch.c175 unsigned int code_size = 0, nsteps; in nand_ecc_sw_bch_init_ctx() local
207 nsteps = mtd->writesize / conf->step_size; in nand_ecc_sw_bch_init_ctx()
212 nsteps = mtd->writesize / conf->step_size; in nand_ecc_sw_bch_init_ctx()
214 code_size = (mtd->oobsize - 2) / nsteps; 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()
256 nand->ecc.ctx.nsteps * engine_conf->code_size) { in nand_ecc_sw_bch_init_ctx()
298 int eccsteps = nand->ecc.ctx.nsteps; in nand_ecc_sw_bch_prepare_io_req()
336 int eccsteps = nand->ecc.ctx.nsteps; 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()
H A Decc-sw-hamming.c516 nand->ecc.ctx.nsteps = mtd->writesize / conf->step_size; 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()
552 int eccsteps = nand->ecc.ctx.nsteps; in nand_ecc_sw_hamming_prepare_io_req()
590 int eccsteps = nand->ecc.ctx.nsteps; 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()
/linux/include/linux/mtd/
H A Dnand.h244 unsigned int nsteps; member
644 return nand->ecc.ctx.nsteps; in nanddev_get_ecc_nsteps()
654 return nand->ecc.ctx.total / nand->ecc.ctx.nsteps; in nanddev_get_ecc_bytes_per_step()
/linux/drivers/mtd/nand/raw/
H A Dnand_base.c6026 int ecc_bytes, nsteps = mtd->writesize / preset_step; in nand_check_ecc_caps() local
6044 if (ecc_bytes * nsteps > oobavail) { in nand_check_ecc_caps()
6082 int req_corr, step_size, strength, nsteps, ecc_bytes, ecc_bytes_total; in nand_match_ecc_req() local
6112 nsteps = mtd->writesize / step_size; in nand_match_ecc_req()
6117 ecc_bytes_total = ecc_bytes * nsteps; in nand_match_ecc_req()
6120 strength * nsteps < req_corr) in nand_match_ecc_req()
6161 int step_size, strength, nsteps, ecc_bytes, corr; in nand_maximize_ecc() local
6181 nsteps = mtd->writesize / step_size; in nand_maximize_ecc()
6187 if (ecc_bytes * nsteps > oobavail) in nand_maximize_ecc()
6190 corr = strength * nsteps; in nand_maximize_ecc()
[all …]
H A Domap2.c1777 unsigned int nsteps = nanddev_get_ecc_nsteps(nand); in omap_sw_ooblayout_ecc() local
1781 if (section >= nsteps) in omap_sw_ooblayout_ecc()
1798 unsigned int nsteps = nanddev_get_ecc_nsteps(nand); in omap_sw_ooblayout_free() local
1809 off += ((ecc_bytes + 1) * nsteps); in omap_sw_ooblayout_free()
/linux/sound/pci/hda/
H A Dpatch_realtek.c7215 u8 nsteps, offs; in alc256_decrease_headphone_amp_val() local
7221 nsteps = ((caps & AC_AMPCAP_NUM_STEPS) >> AC_AMPCAP_NUM_STEPS_SHIFT) - 10; in alc256_decrease_headphone_amp_val()
7224 caps |= (nsteps << AC_AMPCAP_NUM_STEPS_SHIFT) | (offs << AC_AMPCAP_OFFSET_SHIFT); in alc256_decrease_headphone_amp_val()