Searched refs:ecc_strength_ds (Results 1 – 12 of 12) sorted by relevance
74 chip->ecc_strength_ds = 1 << extid; in samsung_nand_decode_id()79 chip->ecc_strength_ds = 24; in samsung_nand_decode_id()82 chip->ecc_strength_ds = 40; in samsung_nand_decode_id()85 chip->ecc_strength_ds = 60; in samsung_nand_decode_id()100 chip->ecc_strength_ds = 1; in samsung_nand_decode_id()
514 chip->ecc_strength_ds = 0; in hynix_nand_extract_ecc_requirements()517 chip->ecc_strength_ds = 4; in hynix_nand_extract_ecc_requirements()520 chip->ecc_strength_ds = 24; in hynix_nand_extract_ecc_requirements()523 chip->ecc_strength_ds = 32; in hynix_nand_extract_ecc_requirements()526 chip->ecc_strength_ds = 40; in hynix_nand_extract_ecc_requirements()529 chip->ecc_strength_ds = 50; in hynix_nand_extract_ecc_requirements()532 chip->ecc_strength_ds = 60; in hynix_nand_extract_ecc_requirements()554 chip->ecc_strength_ds = 1 << ecc_level; in hynix_nand_extract_ecc_requirements()560 chip->ecc_strength_ds = 24; in hynix_nand_extract_ecc_requirements()574 chip->ecc_strength_ds = 0; in hynix_nand_extract_ecc_requirements()[all …]
50 chip->ecc_strength_ds = 1; in toshiba_nand_decode_id()53 chip->ecc_strength_ds = 4; in toshiba_nand_decode_id()56 chip->ecc_strength_ds = 8; in toshiba_nand_decode_id()
395 if (chip->ecc_strength_ds != 4 && chip->ecc_strength_ds != 8) in micron_supports_on_die_ecc()428 if (chip->ecc_strength_ds != 4 && chip->ecc_strength_ds != 8) in micron_supports_on_die_ecc()483 if (chip->ecc_strength_ds == 4) { in micron_nand_init()493 if (chip->ecc_strength_ds == 4) in micron_nand_init()500 chip->ecc.bytes = chip->ecc_strength_ds * 2; in micron_nand_init()502 chip->ecc.strength = chip->ecc_strength_ds; in micron_nand_init()
859 if (strength_sel < chip->ecc_strength_ds) in tegra_nand_get_strength()956 chip->ecc_strength_ds); in tegra_nand_attach_chip()
5107 chip->ecc_strength_ds = ecc->ecc_bits; in nand_flash_detect_ext_param_page()5258 chip->ecc_strength_ds = p->ecc_bits; in nand_flash_detect_onfi()5402 chip->ecc_strength_ds = ecc->ecc_bits; in nand_flash_detect_jedec()5564 chip->ecc_strength_ds = NAND_ECC_STRENGTH(type); in find_full_id_nand()6217 int req_strength = chip->ecc_strength_ds; in nand_match_ecc_req()6419 ds_corr = (mtd->writesize * chip->ecc_strength_ds) / chip->ecc_step_ds; in nand_ecc_strength_good()6421 return corr >= ds_corr && ecc->strength >= chip->ecc_strength_ds; in nand_ecc_strength_good()
2138 if (chip->ecc_step_ds && chip->ecc_strength_ds) { in marvell_nand_ecc_init()2140 ecc->strength = chip->ecc_strength_ds; in marvell_nand_ecc_init()
1201 nand->ecc.strength = nand->ecc_strength_ds; in mtk_nfc_ecc_init()
1834 ecc->strength = nand->ecc_strength_ds; in sunxi_nand_attach_chip()
207 chip->ecc_strength_ds, chip->ecc_step_ds); in set_geometry_by_ecc_info()420 if (!(chip->ecc_strength_ds > 0 && chip->ecc_step_ds > 0)) in common_nfc_set_geometry()423 return set_geometry_by_ecc_info(this, chip->ecc_strength_ds, in common_nfc_set_geometry()
1330 uint16_t ecc_strength_ds; member
1096 else if (chip->ecc_strength_ds) in atmel_nand_pmecc_init()1097 req.ecc.strength = chip->ecc_strength_ds; in atmel_nand_pmecc_init()