Searched refs:ecc_strength (Results 1 – 17 of 17) sorted by relevance
/linux-6.3-rc2/drivers/mtd/nand/ |
A D | ecc-mtk.c | 50 const u8 *ecc_strength; member 179 if (ecc->caps->ecc_strength[i] == config->strength) in mtk_ecc_config() 438 const u8 *ecc_strength = ecc->caps->ecc_strength; in mtk_ecc_adjust_strength() local 442 if (*p <= ecc_strength[i]) { in mtk_ecc_adjust_strength() 444 *p = ecc_strength[i]; in mtk_ecc_adjust_strength() 445 else if (*p != ecc_strength[i]) in mtk_ecc_adjust_strength() 446 *p = ecc_strength[i - 1]; in mtk_ecc_adjust_strength() 464 .ecc_strength = ecc_strength_mt2701, 475 .ecc_strength = ecc_strength_mt2712, 486 .ecc_strength = ecc_strength_mt7622, [all …]
|
/linux-6.3-rc2/drivers/mtd/nand/raw/gpmi-nand/ |
A D | gpmi-nand.c | 228 geo->ecc_strength, in gpmi_dump_info() 331 geo->ecc_strength = round_up(ecc_strength, 2); in set_geometry_by_ecc_info() 440 int ecc_strength; in get_ecc_strength() local 471 geo->ecc_strength); in set_geometry_for_large_oob() 488 geo->ecc_strength = max_ecc; in set_geometry_for_large_oob() 492 geo->ecc_strength -= 2; in set_geometry_for_large_oob() 560 geo->ecc_strength, in set_geometry_for_large_oob() 612 geo->ecc_strength, in legacy_set_geometry() 1506 unsigned int ecc_strength = geo->ecc_strength >> 1; in gpmi_bch_layout_std() local 1575 unsigned int ecc_strength; in gpmi_ecc_read_subpage() local [all …]
|
A D | gpmi-nand.h | 50 unsigned int ecc_strength; member
|
/linux-6.3-rc2/include/linux/platform_data/ |
A D | brcmnand.h | 9 unsigned int ecc_strength; member
|
A D | mtd-nand-pxa3xx.h | 19 int ecc_strength, ecc_step_size; member
|
/linux-6.3-rc2/drivers/bcma/ |
A D | driver_chipcommon_nflash.c | 53 cc->nflash.brcmnand_info.ecc_strength = 1; in bcma_nflash_init()
|
/linux-6.3-rc2/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-6.3-rc2/drivers/mtd/ |
A D | mtdpart.c | 197 child->ecc_strength = parent->ecc_strength; in allocate_partition()
|
A D | mtdcore.c | 232 return sysfs_emit(buf, "%u\n", mtd->ecc_strength); in mtd_ecc_strength_show() 234 MTD_DEVICE_ATTR_RO(ecc_strength); 674 mtd->bitflip_threshold = mtd->ecc_strength; in add_mtd_device() 1681 if (mtd->ecc_strength == 0) in mtd_read_oob()
|
/linux-6.3-rc2/drivers/mtd/nand/raw/ |
A D | intel-nand-controller.c | 443 static const u8 ecc_strength[] = { 1, 1, 4, 8, 24, 32, 40, 60, }; variable 478 if (ecc_strength_ds == ecc_strength[val]) in ebu_nand_attach_chip()
|
A D | nand_base.c | 6349 mtd->ecc_strength = ecc->strength; in nand_scan_tail() 6453 mtd->bitflip_threshold = DIV_ROUND_UP(mtd->ecc_strength * 3, 4); in nand_scan_tail()
|
A D | marvell_nand.c | 2515 chip->ecc.strength = pdata->ecc_strength; in marvell_nand_attach_chip()
|
/linux-6.3-rc2/include/linux/mtd/ |
A D | mtd.h | 304 unsigned int ecc_strength; member
|
/linux-6.3-rc2/drivers/mtd/nand/spi/ |
A D | core.c | 1286 mtd->ecc_strength = nanddev_get_ecc_conf(nand)->strength; in spinand_init()
|
/linux-6.3-rc2/drivers/mtd/devices/ |
A D | docg3.c | 1787 mtd->ecc_strength = DOC_ECC_BCH_T; in doc_set_driver_info()
|
/linux-6.3-rc2/drivers/mtd/nand/onenand/ |
A D | onenand_base.c | 3945 mtd->ecc_strength = 1; in onenand_scan()
|
/linux-6.3-rc2/drivers/mtd/nand/raw/brcmnand/ |
A D | brcmnand.c | 3231 host->chip.ecc.strength = pd->ecc_strength; in brcmnand_probe()
|
Completed in 62 milliseconds