/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | omap_elm.c | 79 int ecc_steps; member 99 * @ecc_steps: ECC steps to assign to config 104 int ecc_steps, int ecc_step_size, int ecc_syndrome_size) in elm_config() 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; in elm_start_processing() 103 elm_config(struct device *dev, enum bch_ecc bch_type, int ecc_steps, int ecc_step_size, int ecc_syndrome_size) elm_config() argument [all...] |
H A D | intel-nand-controller.c | 449 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 D | cadence-nand-controller.c | 1519 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 D | nand_base.c | 4235 int ecc_steps = chip->ecc.steps; in nand_write_subpage_hwecc() local 4238 int oob_bytes = mtd->oobsize / ecc_steps; in nand_write_subpage_hwecc() 4245 for (step = 0; step < ecc_steps; step++) { in nand_write_subpage_hwecc()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | omap_elm.c | 79 int ecc_steps; member 101 int ecc_steps, int ecc_step_size, int ecc_syndrome_size) in elm_config() 116 if (ecc_steps > ERROR_VECTOR_MAX) { in elm_config() 117 dev_err(dev, "unsupported config ecc-step=%d\n", ecc_steps); in elm_config() 124 info->ecc_steps = ecc_steps; in elm_config() 167 for (i = 0; i < info->ecc_steps; i++) { in elm_load_syndrome() 257 for (i = 0; i < info->ecc_steps; i++) { in elm_start_processing() 286 for (i = 0; i < info->ecc_steps; i++) { in elm_error_correction() 100 elm_config(struct device *dev, enum bch_ecc bch_type, int ecc_steps, int ecc_step_size, int ecc_syndrome_size) elm_config() argument
|
H A D | cadence-nand-controller.c | 1511 int ecc_steps = chip->ecc.steps; in cadence_nand_write_page_raw() local 1535 for (i = 0; i < ecc_steps; i++) { in cadence_nand_write_page_raw() 1570 for (i = 0; i < ecc_steps; i++) { in cadence_nand_write_page_raw() 1572 if (i == (ecc_steps - 1)) in cadence_nand_write_page_raw() 1704 int ecc_steps = chip->ecc.steps; in cadence_nand_read_page_raw() local 1736 for (i = 0; i < ecc_steps; i++) { in cadence_nand_read_page_raw() 1772 for (i = 0; i < ecc_steps; i++) { in cadence_nand_read_page_raw() 1776 if (i == (ecc_steps - 1)) in cadence_nand_read_page_raw()
|
H A D | omap2.c | 1571 int ecc_steps = chip->ecc.steps; in omap_write_subpage_bch() local 1590 for (step = 0; step < ecc_steps; step++) { in omap_write_subpage_bch()
|
H A D | nand_base.c | 3785 int ecc_steps = chip->ecc.steps; in nand_write_subpage_hwecc() local 3788 int oob_bytes = mtd->oobsize / ecc_steps; in nand_write_subpage_hwecc() 3795 for (step = 0; step < ecc_steps; step++) { in nand_write_subpage_hwecc()
|
/kernel/linux/linux-5.10/include/linux/platform_data/ |
H A D | elm.h | 39 int ecc_steps, int ecc_step_size, int ecc_syndrome_size); 48 int ecc_steps, int ecc_step_size, in elm_config() 47 elm_config(struct device *dev, enum bch_ecc bch_type, int ecc_steps, int ecc_step_size, int ecc_syndrome_size) elm_config() argument
|
/kernel/linux/linux-6.6/include/linux/platform_data/ |
H A D | elm.h | 39 int ecc_steps, int ecc_step_size, int ecc_syndrome_size); 48 int ecc_steps, int ecc_step_size, in elm_config() 47 elm_config(struct device *dev, enum bch_ecc bch_type, int ecc_steps, int ecc_step_size, int ecc_syndrome_size) elm_config() argument
|