Searched refs:ecc_strength (Results 1 – 14 of 14) sorted by relevance
| /linux/drivers/mtd/nand/ |
| H 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() 451 *p = ecc_strength[ecc->caps->num_ecc_strength - 1]; in mtk_ecc_adjust_strength() 464 .ecc_strength = ecc_strength_mt2701, 475 .ecc_strength = ecc_strength_mt2712, [all …]
|
| /linux/include/linux/platform_data/ |
| H A D | brcmnand.h | 9 unsigned int ecc_strength; member
|
| H A D | mtd-nand-pxa3xx.h | 19 int ecc_strength, ecc_step_size; member
|
| /linux/drivers/bcma/ |
| H A D | driver_chipcommon_nflash.c | 53 cc->nflash.brcmnand_info.ecc_strength = 1; in bcma_nflash_init()
|
| /linux/Documentation/ABI/testing/ |
| H 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/nand/raw/gpmi-nand/ |
| H A D | gpmi-nand.h | 50 unsigned int ecc_strength; member
|
| /linux/drivers/spi/ |
| H A D | spi-amlogic-spifc-a4.c | 954 int i, ecc_strength, ecc_step_size; in aml_sfc_ecc_init_ctx() 957 ecc_strength = nand->ecc.user_conf.strength; in aml_sfc_ecc_init_ctx() 965 if (ecc_caps[i].strength == ecc_strength) in aml_sfc_ecc_init_ctx() 966 nand->ecc.ctx.conf.strength = ecc_strength; in aml_sfc_ecc_init_ctx() 955 int i, ecc_strength, ecc_step_size; aml_sfc_ecc_init_ctx() local
|
| /linux/drivers/mtd/ |
| H A D | mtdpart.c | 203 child->ecc_strength = parent->ecc_strength; in allocate_partition()
|
| /linux/drivers/mtd/nand/raw/ |
| H 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()
|
| H A D | nand_base.c | 6326 mtd->ecc_strength = ecc->strength; in nand_scan_tail() 6439 mtd->bitflip_threshold = DIV_ROUND_UP(mtd->ecc_strength * 3, 4); in nand_scan_tail()
|
| /linux/include/linux/mtd/ |
| H A D | mtd.h | 304 unsigned int ecc_strength; member
|
| /linux/drivers/mtd/nand/spi/ |
| H A D | core.c | 1910 mtd->ecc_strength = nanddev_get_ecc_conf(nand)->strength; in spinand_init() 1912 mtd->bitflip_threshold = DIV_ROUND_UP(mtd->ecc_strength * 3, 4); in spinand_init()
|
| /linux/drivers/mtd/devices/ |
| H A D | docg3.c | 1787 mtd->ecc_strength = DOC_ECC_BCH_T; in doc_set_driver_info()
|
| /linux/drivers/mtd/nand/onenand/ |
| H A D | onenand_base.c | 3945 mtd->ecc_strength = 1; in onenand_scan()
|