Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/mtd/nand/raw/
Dintel-nand-controller.c450 u32 ecc_strength_ds = chip->ecc.strength; in ebu_nand_attach_chip() local
463 if (!ecc_strength_ds) in ebu_nand_attach_chip()
464 ecc_strength_ds = 4; in ebu_nand_attach_chip()
468 if (!ecc_strength_ds) in ebu_nand_attach_chip()
469 ecc_strength_ds = 32; in ebu_nand_attach_chip()
478 if (ecc_strength_ds == ecc_strength[val]) in ebu_nand_attach_chip()
484 if (ecc_strength_ds == 8) in ebu_nand_attach_chip()
487 ecc_bytes = DIV_ROUND_UP(ecc_strength_ds * fls(8 * ecc_size), 8); in ebu_nand_attach_chip()