Searched refs:ecc_strength_ds (Results 1 – 8 of 8) sorted by relevance
450 u32 ecc_strength_ds = chip->ecc.strength; in ebu_nand_attach_chip() local463 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()
978 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()
3175 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()
1143 nand_chip->ecc_strength_ds) { in arasan_nand_ecc_init()
702 *cap = chip->ecc_strength_ds; in pmecc_choose_ecc()
1693 ecc_strength = chip->ecc_strength_ds; in pxa3xx_nand_scan()
1566 ecc->strength = nand->ecc_strength_ds; in sunxi_nand_ecc_init()
929 uint16_t ecc_strength_ds; member