Home
last modified time | relevance | path

Searched refs:ecc_step_size (Results 1 – 9 of 9) sorted by relevance

/third_party/uboot/u-boot-2020.01/tools/
Dsunxi-spl-image-builder.c23 int ecc_step_size; member
117 int steps = info->usable_page_size / info->ecc_step_size; in write_page()
159 offs = steps * (info->ecc_step_size + eccbytes + 4); in write_page()
181 memset(buffer, 0xff, info->ecc_step_size + eccbytes + 4); in write_page()
182 ecc = buffer + info->ecc_step_size + 4; in write_page()
184 data_offs = i * (info->ecc_step_size + eccbytes + 4); in write_page()
185 ecc_offs = data_offs + info->ecc_step_size + 4; in write_page()
187 data_offs = i * info->ecc_step_size; in write_page()
191 cnt = fread(buffer, 1, info->ecc_step_size, src); in write_page()
198 pad = info->ecc_step_size - cnt; in write_page()
[all …]
/third_party/uboot/u-boot-2020.01/drivers/mtd/nand/raw/
Dpxa3xx_nand.h56 int ecc_strength, ecc_step_size; member
Dpxa3xx_nand.c1689 if (pdata->ecc_strength && pdata->ecc_step_size) { in pxa3xx_nand_scan()
1691 ecc_step = pdata->ecc_step_size; in pxa3xx_nand_scan()
1855 pdata->ecc_step_size = fdtdec_get_int(blob, node, in pxa3xx_nand_probe_dt()
Dsunxi_nand.c693 if (mtd->ecc_step_size == 512) in sunxi_nfc_randomizer_state()
Dnand_base.c5337 mtd->ecc_step_size = ecc->size; in nand_scan_tail()
/third_party/uboot/u-boot-2020.01/drivers/mtd/
Dmtdpart.c758 slave->ecc_step_size = master->ecc_step_size; in allocate_partition()
Dmtdcore.c369 return snprintf(buf, PAGE_SIZE, "%u\n", mtd->ecc_step_size); in mtd_ecc_step_size_show()
372 static DEVICE_ATTR(ecc_step_size, S_IRUGO, mtd_ecc_step_size_show, NULL);
/third_party/uboot/u-boot-2020.01/cmd/
Dmtd.c168 printf(" - ECC step size: %u bytes\n", mtd->ecc_step_size); in mtd_show_device()
/third_party/uboot/u-boot-2020.01/include/linux/mtd/
Dmtd.h218 unsigned int ecc_step_size; member