ecc_size          479 drivers/mtd/nand/raw/denali.c 	unsigned int ecc_size = chip->ecc.size;
ecc_size          511 drivers/mtd/nand/raw/denali.c 		} else if (err_byte < ecc_size) {
ecc_size          522 drivers/mtd/nand/raw/denali.c 			offset = (err_sector * ecc_size + err_byte) *
ecc_size          642 drivers/mtd/nand/raw/fsl_ifc_nand.c 	const int ecc_size = chip->ecc.bytes;
ecc_size          651 drivers/mtd/nand/raw/fsl_ifc_nand.c 		res = nand_check_erased_ecc_chunk(buf, pkt_size, ecc, ecc_size,
ecc_size          661 drivers/mtd/nand/raw/fsl_ifc_nand.c 		ecc += ecc_size;
ecc_size          122 drivers/mtd/nand/raw/mtk_nand.c 	u32 ecc_size;
ecc_size          381 drivers/mtd/nand/raw/mtk_nand.c 	fmt |= mtk_nand->fdm.ecc_size << PAGEFMT_FDM_ECC_SHIFT;
ecc_size          385 drivers/mtd/nand/raw/mtk_nand.c 	nfc->ecc_cfg.len = chip->ecc.size + mtk_nand->fdm.ecc_size;
ecc_size         1129 drivers/mtd/nand/raw/mtk_nand.c 	oob_region->length = fdm->reg_size - fdm->ecc_size;
ecc_size         1130 drivers/mtd/nand/raw/mtk_nand.c 	oob_region->offset = section * fdm->reg_size + fdm->ecc_size;
ecc_size         1172 drivers/mtd/nand/raw/mtk_nand.c 	fdm->ecc_size = 1;
ecc_size         3784 drivers/mtd/nand/raw/nand_base.c 	int ecc_size      = chip->ecc.size;
ecc_size         3787 drivers/mtd/nand/raw/nand_base.c 	uint32_t start_step = offset / ecc_size;
ecc_size         3788 drivers/mtd/nand/raw/nand_base.c 	uint32_t end_step   = (offset + data_len - 1) / ecc_size;
ecc_size         3801 drivers/mtd/nand/raw/nand_base.c 		ret = nand_write_data_op(chip, buf, ecc_size, false);
ecc_size         3816 drivers/mtd/nand/raw/nand_base.c 		buf += ecc_size;
ecc_size         1569 drivers/mtd/nand/raw/omap2.c 	int ecc_size      = chip->ecc.size;
ecc_size         1572 drivers/mtd/nand/raw/omap2.c 	u32 start_step = offset / ecc_size;
ecc_size         1573 drivers/mtd/nand/raw/omap2.c 	u32 end_step   = (offset + data_len - 1) / ecc_size;
ecc_size         1600 drivers/mtd/nand/raw/omap2.c 		buf += ecc_size;
ecc_size          180 drivers/mtd/nand/raw/tango_nand.c 	const int ecc_size = chip->ecc.bytes;
ecc_size          186 drivers/mtd/nand/raw/tango_nand.c 		res = nand_check_erased_ecc_chunk(buf, pkt_size, ecc, ecc_size,
ecc_size          196 drivers/mtd/nand/raw/tango_nand.c 		ecc += ecc_size;
ecc_size          371 drivers/mtd/nand/raw/tango_nand.c 	const int ecc_size = chip->ecc.bytes;
ecc_size          383 drivers/mtd/nand/raw/tango_nand.c 		aux_read(chip, &oob, ecc_size, &pos);
ecc_size          390 drivers/mtd/nand/raw/tango_nand.c 	aux_read(chip, &oob, ecc_size, &pos);
ecc_size          398 drivers/mtd/nand/raw/tango_nand.c 	const int ecc_size = chip->ecc.bytes;
ecc_size          410 drivers/mtd/nand/raw/tango_nand.c 		aux_write(chip, &oob, ecc_size, &pos);
ecc_size          417 drivers/mtd/nand/raw/tango_nand.c 	aux_write(chip, &oob, ecc_size, &pos);
ecc_size          703 fs/pstore/ram.c 	parse_size("ecc-size", pdata->ecc_info.ecc_size);
ecc_size          722 fs/pstore/ram.c 	    !pdata->pmsg_size && !pdata->ecc_info.ecc_size) {
ecc_size          875 fs/pstore/ram.c 		cxt->ecc_info.ecc_size);
ecc_size          958 fs/pstore/ram.c 	pdata.ecc_info.ecc_size = ramoops_ecc == 1 ? 16 : ramoops_ecc;
ecc_size          105 fs/pstore/ram_core.c 	       prz->ecc_info.ecc_size * sizeof(prz->ecc_info.par[0]));
ecc_size          107 fs/pstore/ram_core.c 	for (i = 0; i < prz->ecc_info.ecc_size; i++)
ecc_size          116 fs/pstore/ram_core.c 	for (i = 0; i < prz->ecc_info.ecc_size; i++)
ecc_size          130 fs/pstore/ram_core.c 	int ecc_size = prz->ecc_info.ecc_size;
ecc_size          133 fs/pstore/ram_core.c 	if (!ecc_size)
ecc_size          137 fs/pstore/ram_core.c 	par = prz->par_buffer + (start / ecc_block_size) * ecc_size;
ecc_size          144 fs/pstore/ram_core.c 		par += ecc_size;
ecc_size          152 fs/pstore/ram_core.c 	if (!prz->ecc_info.ecc_size)
ecc_size          165 fs/pstore/ram_core.c 	if (!prz->ecc_info.ecc_size)
ecc_size          184 fs/pstore/ram_core.c 		par += prz->ecc_info.ecc_size;
ecc_size          196 fs/pstore/ram_core.c 	if (!ecc_info || !ecc_info->ecc_size)
ecc_size          200 fs/pstore/ram_core.c 	prz->ecc_info.ecc_size = ecc_info->ecc_size ?: 16;
ecc_size          204 fs/pstore/ram_core.c 	ecc_blocks = DIV_ROUND_UP(prz->buffer_size - prz->ecc_info.ecc_size,
ecc_size          206 fs/pstore/ram_core.c 				  prz->ecc_info.ecc_size);
ecc_size          207 fs/pstore/ram_core.c 	ecc_total = (ecc_blocks + 1) * prz->ecc_info.ecc_size;
ecc_size          210 fs/pstore/ram_core.c 		       __func__, prz->ecc_info.ecc_size,
ecc_size          218 fs/pstore/ram_core.c 			  ecc_blocks * prz->ecc_info.ecc_size;
ecc_size          225 fs/pstore/ram_core.c 				  0, 1, prz->ecc_info.ecc_size);
ecc_size          232 fs/pstore/ram_core.c 	prz->ecc_info.par = kmalloc_array(prz->ecc_info.ecc_size,
ecc_size          261 fs/pstore/ram_core.c 	if (!prz->ecc_info.ecc_size)
ecc_size          591 fs/pstore/ram_core.c 		prz->ecc_info.ecc_size, prz->ecc_info.block_size);
ecc_size           36 include/linux/pstore_ram.h 	int ecc_size;