Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/nand/raw/
H A 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()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dmxs_nand.c978 if (!(chip->ecc_strength_ds > 0 && chip->ecc_step_ds > 0)) in mxs_nand_set_geometry()
982 chip->ecc_strength_ds, chip->ecc_step_ds); in mxs_nand_set_geometry()
H A Dnand_base.c3175 chip->ecc_strength_ds = ecc->ecc_bits; in nand_flash_detect_ext_param_page()
3285 chip->ecc_strength_ds = p->ecc_bits; in nand_flash_detect_onfi()
3391 chip->ecc_strength_ds = ecc->ecc_bits; in nand_flash_detect_jedec()
3688 chip->ecc_strength_ds = NAND_ECC_STRENGTH(type); in find_full_id_nand()
4108 int req_strength = chip->ecc_strength_ds; in nand_match_ecc_req()
4279 ds_corr = (mtd->writesize * chip->ecc_strength_ds) / chip->ecc_step_ds; in nand_ecc_strength_good()
4281 return corr >= ds_corr && ecc->strength >= chip->ecc_strength_ds; in nand_ecc_strength_good()
H A Darasan_nfc.c1143 nand_chip->ecc_strength_ds) { in arasan_nand_ecc_init()
H A Datmel_nand.c702 *cap = chip->ecc_strength_ds; in pmecc_choose_ecc()
H A Dpxa3xx_nand.c1693 ecc_strength = chip->ecc_strength_ds; in pxa3xx_nand_scan()
H A Dsunxi_nand.c1566 ecc->strength = nand->ecc_strength_ds; in sunxi_nand_ecc_init()
/openbmc/u-boot/include/linux/mtd/
H A Drawnand.h929 uint16_t ecc_strength_ds; member