Home
last modified time | relevance | path

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

/external/u-boot/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 …]
/external/u-boot/drivers/mtd/nand/
Dpxa3xx_nand.h56 int ecc_strength, ecc_step_size; member
Dpxa3xx_nand.c1436 if (pdata->ecc_strength && pdata->ecc_step_size) { in pxa3xx_nand_scan()
1438 ecc_step = pdata->ecc_step_size; in pxa3xx_nand_scan()
1583 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.c4639 mtd->ecc_step_size = ecc->size; in nand_scan_tail()
/external/u-boot/drivers/mtd/
Dmtdpart.c566 slave->mtd.ecc_step_size = master->ecc_step_size; in allocate_partition()
Dmtdcore.c357 return snprintf(buf, PAGE_SIZE, "%u\n", mtd->ecc_step_size); in mtd_ecc_step_size_show()
360 static DEVICE_ATTR(ecc_step_size, S_IRUGO, mtd_ecc_step_size_show, NULL);
/external/u-boot/include/linux/mtd/
Dmtd.h218 unsigned int ecc_step_size; member