Home
last modified time | relevance | path

Searched refs:ecc_steps (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/mtd/nand/raw/
H A Domap_elm.c79 int ecc_steps; member
104 int ecc_steps, int ecc_step_size, int ecc_syndrome_size) in elm_config() argument
119 if (ecc_steps > ERROR_VECTOR_MAX && ecc_steps % ERROR_VECTOR_MAX) { in elm_config()
120 dev_err(dev, "unsupported config ecc-step=%d\n", ecc_steps); in elm_config()
127 info->ecc_steps = ecc_steps; in elm_config()
170 for (i = 0; i < info->ecc_steps; i++) { in elm_load_syndrome()
260 for (i = 0; i < info->ecc_steps; i++) { in elm_start_processing()
289 for (i = 0; i < info->ecc_steps; i++) { in elm_error_correction()
H A Dintel-nand-controller.c449 u32 ecc_steps, ecc_bytes, ecc_total, pagesize, pg_per_blk; in ebu_nand_attach_chip() local
489 ecc_steps = writesize / ecc_size; in ebu_nand_attach_chip()
490 ecc_total = ecc_steps * ecc_bytes; in ebu_nand_attach_chip()
H A Dcadence-nand-controller.c1516 int ecc_steps = chip->ecc.steps; in cadence_nand_write_page_raw() local
1540 for (i = 0; i < ecc_steps; i++) { in cadence_nand_write_page_raw()
1575 for (i = 0; i < ecc_steps; i++) { in cadence_nand_write_page_raw()
1577 if (i == (ecc_steps - 1)) in cadence_nand_write_page_raw()
1709 int ecc_steps = chip->ecc.steps; in cadence_nand_read_page_raw() local
1741 for (i = 0; i < ecc_steps; i++) { in cadence_nand_read_page_raw()
1777 for (i = 0; i < ecc_steps; i++) { in cadence_nand_read_page_raw()
1781 if (i == (ecc_steps - 1)) in cadence_nand_read_page_raw()
H A Dnand_base.c4268 int ecc_steps = chip->ecc.steps; in nand_write_subpage_hwecc() local
4271 int oob_bytes = mtd->oobsize / ecc_steps; in nand_write_subpage_hwecc()
4278 for (step = 0; step < ecc_steps; step++) { in nand_write_subpage_hwecc()
/linux/include/linux/platform_data/
H A Delm.h39 int ecc_steps, int ecc_step_size, int ecc_syndrome_size);
48 int ecc_steps, int ecc_step_size, in elm_config() argument