Home
last modified time | relevance | path

Searched refs:desired_correction (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/mtd/nand/
H A Decc-mxic.c226 int step_size = 0, strength = 0, desired_correction = 0, steps, idx; in mxic_ecc_init_ctx() local
262 desired_correction = steps * strength; in mxic_ecc_init_ctx()
273 if (desired_correction) { in mxic_ecc_init_ctx()
274 strength = desired_correction / steps; in mxic_ecc_init_ctx()
/openbmc/linux/drivers/spi/
H A Dspi-mtk-snfi.c667 int step_size = 0, strength = 0, desired_correction = 0, steps; in mtk_snand_ecc_init_ctx() local
695 desired_correction = steps * strength; in mtk_snand_ecc_init_ctx()
696 strength = desired_correction / snf->nfi_cfg.nsectors; in mtk_snand_ecc_init_ctx()