Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/tools/
H A 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 …]
/rk3399_rockchip-uboot/drivers/mtd/nand/raw/
H A Dpxa3xx_nand.h56 int ecc_strength, ecc_step_size; member
H A Dpxa3xx_nand.c1690 if (pdata->ecc_strength && pdata->ecc_step_size) { in pxa3xx_nand_scan()
1692 ecc_step = pdata->ecc_step_size; in pxa3xx_nand_scan()
1856 pdata->ecc_step_size = fdtdec_get_int(blob, node, in pxa3xx_nand_probe_dt()
H A Dsunxi_nand.c694 if (mtd->ecc_step_size == 512) in sunxi_nfc_randomizer_state()
H A Dnand_base.c5280 mtd->ecc_step_size = ecc->size; in nand_scan_tail()
/rk3399_rockchip-uboot/cmd/
H A Dmtd.c154 printf(" - ECC step size: %u bytes\n", mtd->ecc_step_size); in mtd_show_device()
/rk3399_rockchip-uboot/drivers/mtd/
H A Dmtdpart.c759 slave->ecc_step_size = master->ecc_step_size; in allocate_partition()
H A Dmtdcore.c372 return snprintf(buf, PAGE_SIZE, "%u\n", mtd->ecc_step_size); in mtd_ecc_step_size_show()
375 static DEVICE_ATTR(ecc_step_size, S_IRUGO, mtd_ecc_step_size_show, NULL);
/rk3399_rockchip-uboot/include/linux/mtd/
H A Dmtd.h223 unsigned int ecc_step_size; member
/rk3399_rockchip-uboot/drivers/mtd/nand/spi/
H A Dcore.c1266 mtd->ecc_step_size = nand->eccreq.step_size; in spinand_init()