Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/mtd/nand/raw/
Dintel-nand-controller.c453 u32 ecc_strength_ds = chip->ecc.strength; in ebu_nand_attach_chip() local
466 if (!ecc_strength_ds) in ebu_nand_attach_chip()
467 ecc_strength_ds = 4; in ebu_nand_attach_chip()
471 if (!ecc_strength_ds) in ebu_nand_attach_chip()
472 ecc_strength_ds = 32; in ebu_nand_attach_chip()
481 if (ecc_strength_ds == ecc_strength[val]) in ebu_nand_attach_chip()
487 if (ecc_strength_ds == 8) in ebu_nand_attach_chip()
490 ecc_bytes = DIV_ROUND_UP(ecc_strength_ds * fls(8 * ecc_size), 8); in ebu_nand_attach_chip()