Searched refs:ecc_strength (Results 1 – 14 of 14) sorted by relevance
/linux/drivers/mtd/nand/raw/ |
A D | mtk_ecc.c | 46 const u8 *ecc_strength; member 171 if (ecc->caps->ecc_strength[i] == config->strength) in mtk_ecc_config() 427 const u8 *ecc_strength = ecc->caps->ecc_strength; in mtk_ecc_adjust_strength() local 431 if (*p <= ecc_strength[i]) { in mtk_ecc_adjust_strength() 433 *p = ecc_strength[i]; in mtk_ecc_adjust_strength() 434 else if (*p != ecc_strength[i]) in mtk_ecc_adjust_strength() 435 *p = ecc_strength[i - 1]; in mtk_ecc_adjust_strength() 440 *p = ecc_strength[ecc->caps->num_ecc_strength - 1]; in mtk_ecc_adjust_strength() 452 .ecc_strength = ecc_strength_mt2701, 462 .ecc_strength = ecc_strength_mt2712, [all …]
|
A D | intel-nand-controller.c | 446 static const u8 ecc_strength[] = { 1, 1, 4, 8, 24, 32, 40, 60, }; variable 481 if (ecc_strength_ds == ecc_strength[val]) in ebu_nand_attach_chip()
|
A D | nand_base.c | 6135 mtd->ecc_strength = ecc->strength; in nand_scan_tail() 6239 mtd->bitflip_threshold = DIV_ROUND_UP(mtd->ecc_strength * 3, 4); in nand_scan_tail()
|
A D | marvell_nand.c | 2501 chip->ecc.strength = pdata->ecc_strength; in marvell_nand_attach_chip()
|
/linux/drivers/mtd/nand/raw/gpmi-nand/ |
A D | gpmi-nand.c | 229 geo->ecc_strength, in gpmi_dump_info() 261 unsigned int ecc_strength, in set_geometry_by_ecc_info() argument 284 geo->ecc_strength = round_up(ecc_strength, 2); in set_geometry_by_ecc_info() 393 int ecc_strength; in get_ecc_strength() local 399 return round_down(ecc_strength, 2); in get_ecc_strength() 435 geo->ecc_strength, in legacy_set_geometry() 1255 nfc_geo->ecc_strength); in gpmi_count_bitflips() 1262 nfc_geo->ecc_strength); in gpmi_count_bitflips() 1286 unsigned int ecc_strength = geo->ecc_strength >> 1; in gpmi_bch_layout_std() local 1354 unsigned int ecc_strength; in gpmi_ecc_read_subpage() local [all …]
|
A D | gpmi-nand.h | 48 unsigned int ecc_strength; member
|
/linux/include/linux/platform_data/ |
A D | mtd-nand-pxa3xx.h | 19 int ecc_strength, ecc_step_size; member
|
/linux/Documentation/ABI/testing/ |
A D | sysfs-class-mtd | 125 What: /sys/class/mtd/mtdX/ecc_strength 152 If not, then the default value is ecc_strength. 168 ecc_strength, -EUCLEAN is never returned by the read operations. 174 i.e., devices for which ecc_strength is zero.
|
/linux/drivers/mtd/ |
A D | mtdpart.c | 196 child->ecc_strength = parent->ecc_strength; in allocate_partition()
|
A D | mtdcore.c | 231 return sysfs_emit(buf, "%u\n", mtd->ecc_strength); in mtd_ecc_strength_show() 233 MTD_DEVICE_ATTR_RO(ecc_strength); 629 mtd->bitflip_threshold = mtd->ecc_strength; in add_mtd_device() 1588 if (mtd->ecc_strength == 0) in mtd_read_oob()
|
/linux/include/linux/mtd/ |
A D | mtd.h | 300 unsigned int ecc_strength; member
|
/linux/drivers/mtd/nand/spi/ |
A D | core.c | 1250 mtd->ecc_strength = nanddev_get_ecc_conf(nand)->strength; in spinand_init()
|
/linux/drivers/mtd/devices/ |
A D | docg3.c | 1779 mtd->ecc_strength = DOC_ECC_BCH_T; in doc_set_driver_info()
|
/linux/drivers/mtd/nand/onenand/ |
A D | onenand_base.c | 3933 mtd->ecc_strength = 1; in onenand_scan()
|
Completed in 52 milliseconds