Home
last modified time | relevance | path

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

/openbmc/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.c1519 int ecc_steps = chip->ecc.steps; in cadence_nand_write_page_raw() local
1543 for (i = 0; i < ecc_steps; i++) { in cadence_nand_write_page_raw()
1578 for (i = 0; i < ecc_steps; i++) { in cadence_nand_write_page_raw()
1580 if (i == (ecc_steps - 1)) in cadence_nand_write_page_raw()
1712 int ecc_steps = chip->ecc.steps; in cadence_nand_read_page_raw() local
1744 for (i = 0; i < ecc_steps; i++) { in cadence_nand_read_page_raw()
1780 for (i = 0; i < ecc_steps; i++) { in cadence_nand_read_page_raw()
1784 if (i == (ecc_steps - 1)) in cadence_nand_read_page_raw()
H A Dnand_base.c4249 int ecc_steps = chip->ecc.steps; in nand_write_subpage_hwecc() local
4252 int oob_bytes = mtd->oobsize / ecc_steps; in nand_write_subpage_hwecc()
4259 for (step = 0; step < ecc_steps; step++) { in nand_write_subpage_hwecc()
/openbmc/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
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Ddenali.c313 int ecc_steps = chip->ecc.steps; in denali_check_erased_page() local
323 for (i = 0; i < ecc_steps; i++) { in denali_check_erased_page()
638 int ecc_steps = chip->ecc.steps; in denali_oob_xfer() local
654 for (i = 0; i < ecc_steps; i++) { in denali_oob_xfer()
695 int ecc_steps = chip->ecc.steps; in denali_read_page_raw() local
709 for (i = 0; i < ecc_steps; i++) { in denali_read_page_raw()
737 for (i = 0; i < ecc_steps; i++) { in denali_read_page_raw()
826 int ecc_steps = chip->ecc.steps; in denali_write_page_raw() local
843 for (i = 0; i < ecc_steps; i++) { in denali_write_page_raw()
871 for (i = 0; i < ecc_steps; i++) { in denali_write_page_raw()
H A Dnand_base.c2290 int ecc_steps = chip->ecc.steps; in nand_write_subpage_hwecc() local
2294 int oob_bytes = mtd->oobsize / ecc_steps; in nand_write_subpage_hwecc()
2297 for (step = 0; step < ecc_steps; step++) { in nand_write_subpage_hwecc()