Searched refs:nsteps (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/mtd/nand/ |
| H A D | ecc-sw-bch.c | 175 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 D | ecc-sw-hamming.c | 516 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/drivers/spi/ |
| H A D | spi-amlogic-spifc-a4.c | 168 u32 nsteps; member 545 info += raw ? 0 : ecc_cfg->nsteps - 1; in aml_sfc_check_ecc_pages_valid() 642 for (i = 0, count = 0; i < ecc_cfg->nsteps; i++, count += step_size) { in aml_sfc_set_user_byte() 657 for (i = 0, count = 0; i < ecc_cfg->nsteps; i++, count += ECC_BCH8_INFO_BYTES) { in aml_sfc_get_user_byte() 676 for (i = 0, info = info_buf; i < ecc_cfg->nsteps; i++, info++) { in aml_sfc_check_hwecc_status() 699 page_size = ecc_cfg->stepsize * ecc_cfg->nsteps; in aml_sfc_read_page_hwecc() 701 info_len = ecc_cfg->nsteps * ECC_PER_INFO_BYTE; in aml_sfc_read_page_hwecc() 708 cmd |= CMD_NAND2MEM(ecc_cfg->bch, ecc_cfg->nsteps); in aml_sfc_read_page_hwecc() 752 page_size = ecc_cfg->stepsize * ecc_cfg->nsteps; in aml_sfc_write_page_hwecc() 754 info_len = ecc_cfg->nsteps * ECC_PER_INFO_BYTE; in aml_sfc_write_page_hwecc() [all …]
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | nand_base.c | 5905 int ecc_bytes, nsteps = mtd->writesize / preset_step; in nand_check_ecc_caps() local 5923 if (ecc_bytes * nsteps > oobavail) { in nand_check_ecc_caps() 5961 int req_corr, step_size, strength, nsteps, ecc_bytes, ecc_bytes_total; in nand_match_ecc_req() local 5991 nsteps = mtd->writesize / step_size; in nand_match_ecc_req() 5996 ecc_bytes_total = ecc_bytes * nsteps; in nand_match_ecc_req() 5999 strength * nsteps < req_corr) in nand_match_ecc_req() 6040 int step_size, strength, nsteps, ecc_bytes, corr; in nand_maximize_ecc() local 6060 nsteps = mtd->writesize / step_size; in nand_maximize_ecc() 6066 if (ecc_bytes * nsteps > oobavail) in nand_maximize_ecc() 6069 corr = strength * nsteps; in nand_maximize_ecc() [all …]
|
| /linux/sound/hda/codecs/realtek/ |
| H A D | alc269.c | 3378 u8 nsteps, offs; in alc256_decrease_headphone_amp_val() local 3384 nsteps = ((caps & AC_AMPCAP_NUM_STEPS) >> AC_AMPCAP_NUM_STEPS_SHIFT) - 10; in alc256_decrease_headphone_amp_val() 3387 caps |= (nsteps << AC_AMPCAP_NUM_STEPS_SHIFT) | (offs << AC_AMPCAP_OFFSET_SHIFT); in alc256_decrease_headphone_amp_val()
|