Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/nand/raw/
Dnand_samsung.c74 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()
Dnand_hynix.c514 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 …]
Dnand_toshiba.c50 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()
Dnand_micron.c395 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()
Dtegra_nand.c859 if (strength_sel < chip->ecc_strength_ds) in tegra_nand_get_strength()
956 chip->ecc_strength_ds); in tegra_nand_attach_chip()
Dnand_base.c5107 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()
Dmarvell_nand.c2138 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()
Dmtk_nand.c1201 nand->ecc.strength = nand->ecc_strength_ds; in mtk_nfc_ecc_init()
Dsunxi_nand.c1834 ecc->strength = nand->ecc_strength_ds; in sunxi_nand_attach_chip()
/Linux-v4.19/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c207 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()
/Linux-v4.19/include/linux/mtd/
Drawnand.h1330 uint16_t ecc_strength_ds; member
/Linux-v4.19/drivers/mtd/nand/raw/atmel/
Dnand-controller.c1096 else if (chip->ecc_strength_ds) in atmel_nand_pmecc_init()
1097 req.ecc.strength = chip->ecc_strength_ds; in atmel_nand_pmecc_init()