| /OK3568_Linux_fs/u-boot/tools/ |
| H A D | sunxi-spl-image-builder.c | 23 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 D | elm.h | 39 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 D | mtd-nand-pxa3xx.h | 19 int ecc_strength, ecc_step_size; member
|
| /OK3568_Linux_fs/kernel/drivers/mtd/nand/spi/ |
| H A D | micron.c | 96 mtd->ecc_step_size) in micron_4_ooblayout_ecc() 111 mtd->ecc_step_size) in micron_4_ooblayout_free()
|
| H A D | core.c | 1280 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 D | pxa3xx_nand.h | 56 int ecc_strength, ecc_step_size; member
|
| H A D | pxa3xx_nand.c | 1690 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 D | sunxi_nand.c | 694 if (mtd->ecc_step_size == 512) in sunxi_nfc_randomizer_state()
|
| H A D | nand_base.c | 5280 mtd->ecc_step_size = ecc->size; in nand_scan_tail()
|
| /OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/ |
| H A D | omap_elm.c | 101 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 D | sunxi_nand.c | 603 if (mtd->ecc_step_size == 512) in sunxi_nfc_randomizer_state()
|
| H A D | marvell_nand.c | 2500 chip->ecc.size = pdata->ecc_step_size; in marvell_nand_attach_chip()
|
| H A D | nand_base.c | 5749 mtd->ecc_step_size = ecc->size; in nand_scan_tail()
|
| /OK3568_Linux_fs/kernel/drivers/mtd/ |
| H A D | mtdpart.c | 195 child->ecc_step_size = parent->ecc_step_size; in allocate_partition()
|
| H A D | mtdcore.c | 264 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 D | sysfs-class-mtd | 132 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 D | mtdpart.c | 759 slave->ecc_step_size = master->ecc_step_size; in allocate_partition()
|
| H A D | mtdcore.c | 372 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 D | mtd.c | 154 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 D | mtd.h | 223 unsigned int ecc_step_size; member
|
| /OK3568_Linux_fs/kernel/include/linux/mtd/ |
| H A D | mtd.h | 298 unsigned int ecc_step_size; member
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/nand/spi/ |
| H A D | core.c | 1203 mtd->ecc_step_size = nand->eccreq.step_size; in spinand_init()
|