Searched refs:ecc_strength_ds (Results 1 – 8 of 8) sorted by relevance
249 if (!(chip->ecc_strength_ds > 0 && chip->ecc_step_ds > 0)) in mxs_nand_calc_ecc_for_large_oob()251 geo->ecc_strength = chip->ecc_strength_ds; in mxs_nand_calc_ecc_for_large_oob()266 geo->ecc_strength = chip->ecc_strength_ds; in mxs_nand_calc_ecc_for_large_oob()276 geo->ecc_strength = chip->ecc_strength_ds; in mxs_nand_calc_ecc_for_large_oob()1115 if (chip->ecc_strength_ds > nand_info->max_ecc_strength_supported) { in mxs_nand_set_geometry()1117 , chip->ecc_strength_ds); in mxs_nand_set_geometry()1121 if ((!(chip->ecc_strength_ds > 0 && chip->ecc_step_ds > 0) && in mxs_nand_set_geometry()1131 chip->ecc_strength_ds, chip->ecc_step_ds); in mxs_nand_set_geometry()
1795 nand->ecc_step_ds, nand->ecc_strength_ds); in octeontx_nand_calc_bch_ecc_strength()1865 nand->ecc_step_ds, nand->ecc_strength_ds); in octeontx_nfc_chip_sizing()1879 if (nand->ecc_strength_ds) in octeontx_nfc_chip_sizing()1880 ecc->strength = nand->ecc_strength_ds; in octeontx_nfc_chip_sizing()
3862 chip->ecc_strength_ds = ecc->ecc_bits; in nand_flash_detect_ext_param_page()3976 chip->ecc_strength_ds = p->ecc_bits; in nand_flash_detect_onfi()4084 chip->ecc_strength_ds = ecc->ecc_bits; in nand_flash_detect_jedec()4381 chip->ecc_strength_ds = NAND_ECC_STRENGTH(type); in find_full_id_nand()4807 int req_strength = chip->ecc_strength_ds; in nand_match_ecc_req()4978 ds_corr = (mtd->writesize * chip->ecc_strength_ds) / chip->ecc_step_ds; in nand_ecc_strength_good()4980 return corr >= ds_corr && ecc->strength >= chip->ecc_strength_ds; in nand_ecc_strength_good()
1182 nand_chip->ecc_strength_ds) { in arasan_nand_ecc_init()
712 *cap = chip->ecc_strength_ds; in pmecc_choose_ecc()
1722 ecc_strength = chip->ecc_strength_ds; in pxa3xx_nand_scan()
1575 ecc->strength = nand->ecc_strength_ds; in sunxi_nand_ecc_init()
938 uint16_t ecc_strength_ds; member
Completed in 37 milliseconds