Searched refs:ecc_strength (Results 1 – 13 of 13) sorted by relevance
/drivers/mtd/nand/raw/gpmi-nand/ |
D | gpmi-nand.c | 230 geo->ecc_strength, in gpmi_dump_info() 251 conf->strength = geo->ecc_strength; in gpmi_check_ecc() 260 if (geo->ecc_strength > this->devdata->bch_max_ecc_strength) in gpmi_check_ecc() 285 (geo->gf_len * geo->ecc_strength + in bbm_in_data_chunk() 289 (geo->gf_len * geo->ecc_strength + in bbm_in_data_chunk() 295 geo->ecc_strength, *chunk_num); in bbm_in_data_chunk() 309 unsigned int ecc_strength, in set_geometry_by_ecc_info() argument 333 geo->ecc_strength = round_up(ecc_strength, 2); in set_geometry_by_ecc_info() 399 (geo->gf_len * geo->ecc_strength * geo->ecc_chunk_count) / 8; in set_geometry_by_ecc_info() 412 (geo->ecc_strength * geo->gf_len * (geo->ecc_chunk_count - 1) in set_geometry_by_ecc_info() [all …]
|
D | gpmi-nand.h | 50 unsigned int ecc_strength; member
|
/drivers/mtd/nand/ |
D | ecc-mtk.c | 46 const u8 *ecc_strength; member 171 if (ecc->caps->ecc_strength[i] == config->strength) in mtk_ecc_config() 430 const u8 *ecc_strength = ecc->caps->ecc_strength; in mtk_ecc_adjust_strength() local 434 if (*p <= ecc_strength[i]) { in mtk_ecc_adjust_strength() 436 *p = ecc_strength[i]; in mtk_ecc_adjust_strength() 437 else if (*p != ecc_strength[i]) in mtk_ecc_adjust_strength() 438 *p = ecc_strength[i - 1]; in mtk_ecc_adjust_strength() 443 *p = ecc_strength[ecc->caps->num_ecc_strength - 1]; in mtk_ecc_adjust_strength() 456 .ecc_strength = ecc_strength_mt2701, 467 .ecc_strength = ecc_strength_mt2712, [all …]
|
/drivers/bcma/ |
D | driver_chipcommon_nflash.c | 53 cc->nflash.brcmnand_info.ecc_strength = 1; in bcma_nflash_init()
|
/drivers/mtd/ |
D | mtdpart.c | 197 child->ecc_strength = parent->ecc_strength; in allocate_partition()
|
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); 681 mtd->bitflip_threshold = mtd->ecc_strength; in add_mtd_device() 1684 if (mtd->ecc_strength == 0) in mtd_read_oob()
|
/drivers/mtd/nand/raw/ |
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()
|
D | nand_base.c | 6210 mtd->ecc_strength = ecc->strength; in nand_scan_tail() 6314 mtd->bitflip_threshold = DIV_ROUND_UP(mtd->ecc_strength * 3, 4); in nand_scan_tail()
|
D | marvell_nand.c | 2534 chip->ecc.strength = pdata->ecc_strength; in marvell_nand_attach_chip()
|
/drivers/mtd/nand/spi/ |
D | core.c | 1285 mtd->ecc_strength = nanddev_get_ecc_conf(nand)->strength; in spinand_init()
|
/drivers/mtd/devices/ |
D | docg3.c | 1787 mtd->ecc_strength = DOC_ECC_BCH_T; in doc_set_driver_info()
|
/drivers/mtd/nand/raw/brcmnand/ |
D | brcmnand.c | 3274 host->chip.ecc.strength = pd->ecc_strength; in brcmnand_probe()
|
/drivers/mtd/nand/onenand/ |
D | onenand_base.c | 3945 mtd->ecc_strength = 1; in onenand_scan()
|