Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/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 …]
/OK3568_Linux_fs/kernel/include/linux/platform_data/
H A Delm.h39 int ecc_steps, int ecc_step_size, int ecc_syndrome_size);
48 int ecc_steps, int ecc_step_size, in elm_config() argument
H A Dmtd-nand-pxa3xx.h19 int ecc_strength, ecc_step_size; member
/OK3568_Linux_fs/kernel/drivers/mtd/nand/spi/
H A Dmicron.c96 mtd->ecc_step_size) in micron_4_ooblayout_ecc()
111 mtd->ecc_step_size) in micron_4_ooblayout_free()
H A Dcore.c1280 mtd->ecc_step_size = nanddev_get_ecc_requirements(nand)->step_size; in spinand_init()
/OK3568_Linux_fs/u-boot/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()
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Domap_elm.c101 int ecc_steps, int ecc_step_size, int ecc_syndrome_size) in elm_config() argument
111 if (ecc_step_size > ((ELM_ECC_SIZE + 1) / 2)) { in elm_config()
112 dev_err(dev, "unsupported config ecc-size=%d\n", ecc_step_size); in elm_config()
H A Dsunxi_nand.c603 if (mtd->ecc_step_size == 512) in sunxi_nfc_randomizer_state()
H A Dmarvell_nand.c2500 chip->ecc.size = pdata->ecc_step_size; in marvell_nand_attach_chip()
H A Dnand_base.c5749 mtd->ecc_step_size = ecc->size; in nand_scan_tail()
/OK3568_Linux_fs/kernel/drivers/mtd/
H A Dmtdpart.c195 child->ecc_step_size = parent->ecc_step_size; in allocate_partition()
H A Dmtdcore.c264 return snprintf(buf, PAGE_SIZE, "%u\n", mtd->ecc_step_size); in mtd_ecc_step_size_show()
267 static DEVICE_ATTR(ecc_step_size, S_IRUGO, mtd_ecc_step_size_show, NULL);
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-class-mtd132 ecc_step_size). This will always be a non-negative integer.
176 What: /sys/class/mtd/mtdX/ecc_step_size
/OK3568_Linux_fs/u-boot/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);
/OK3568_Linux_fs/u-boot/cmd/
H A Dmtd.c154 printf(" - ECC step size: %u bytes\n", mtd->ecc_step_size); in mtd_show_device()
/OK3568_Linux_fs/u-boot/include/linux/mtd/
H A Dmtd.h223 unsigned int ecc_step_size; member
/OK3568_Linux_fs/kernel/include/linux/mtd/
H A Dmtd.h298 unsigned int ecc_step_size; member
/OK3568_Linux_fs/u-boot/drivers/mtd/nand/spi/
H A Dcore.c1203 mtd->ecc_step_size = nand->eccreq.step_size; in spinand_init()