Home
last modified time | relevance | path

Searched refs:oobavail (Results 1 – 15 of 15) sorted by relevance

/external/u-boot/drivers/mtd/nand/
Ddavinci_nand.c375 mtd->oobavail = chip->ecc.layout->oobavail; in nand_davinci_write_page()
405 mtd->oobavail = saved_ecc_layout->oobavail; in nand_davinci_write_page()
436 mtd->oobavail = chip->ecc.layout->oobavail; in nand_davinci_read_page_hwecc()
466 mtd->oobavail = saved_ecc_layout->oobavail; in nand_davinci_read_page_hwecc()
777 layout->oobavail = 0; in davinci_nand_init()
780 layout->oobavail += layout->oobfree[i].length; in davinci_nand_init()
Dtegra_nand.c57 .oobavail = 20,
548 chip->ecc.layout->oobavail + TAG_ECC_BYTES); in nand_rw_page()
549 tag_size = chip->ecc.layout->oobavail + TAG_ECC_BYTES; in nand_rw_page()
629 chip->ecc.layout->oobavail); in nand_rw_page()
633 chip->ecc.layout->oobavail); in nand_rw_page()
807 chip->ecc.layout->oobavail); in nand_rw_oob()
Dnand_base.c4093 const struct nand_ecc_caps *caps, int oobavail) in nand_check_ecc_caps() argument
4102 if (WARN_ON(oobavail < 0)) in nand_check_ecc_caps()
4125 if (ecc_bytes * nsteps > oobavail) { in nand_check_ecc_caps()
4155 const struct nand_ecc_caps *caps, int oobavail) in nand_match_ecc_req() argument
4166 if (WARN_ON(oobavail < 0)) in nand_match_ecc_req()
4201 if (ecc_bytes_total > oobavail || in nand_match_ecc_req()
4239 const struct nand_ecc_caps *caps, int oobavail) in nand_maximize_ecc() argument
4249 if (WARN_ON(oobavail < 0)) in nand_maximize_ecc()
4272 if (ecc_bytes * nsteps > oobavail) in nand_maximize_ecc()
4563 mtd->oobavail = 0; in nand_scan_tail()
[all …]
Ddenali.c1113 int oobavail = mtd->oobsize - denali->oob_skip_bytes; in denali_ecc_setup() local
1121 return nand_check_ecc_caps(chip, denali->ecc_caps, oobavail); in denali_ecc_setup()
1128 ret = nand_match_ecc_req(chip, denali->ecc_caps, oobavail); in denali_ecc_setup()
1134 return nand_maximize_ecc(chip, denali->ecc_caps, oobavail); in denali_ecc_setup()
Dnand_util.c140 if (opts->jffs2 && chip->ecc.layout->oobavail >= 8) { in nand_erase_opts()
/external/u-boot/include/linux/mtd/
Dmtd.h145 __u32 oobavail; member
182 uint32_t oobavail; // Available OOB bytes per block member
339 return ops->mode == MTD_OPS_AUTO_OOB ? mtd->oobavail : mtd->oobsize; in mtd_oobavail()
Drawnand.h1265 const struct nand_ecc_caps *caps, int oobavail);
1268 const struct nand_ecc_caps *caps, int oobavail);
1271 const struct nand_ecc_caps *caps, int oobavail);
/external/u-boot/include/mtd/
Dmtd-abi.h226 __u32 oobavail; member
/external/kernel-headers/original/uapi/mtd/
Dmtd-abi.h237 __u32 oobavail; member
/external/u-boot/drivers/mtd/onenand/
Donenand_base.c865 oobsize = this->ecclayout->oobavail; in onenand_read_ops_nolock()
1018 oobsize = this->ecclayout->oobavail; in onenand_read_oob_nolock()
1437 oobsize = this->ecclayout->oobavail; in onenand_write_ops_nolock()
1552 oobsize = this->ecclayout->oobavail; in onenand_write_oob_nolock()
2778 this->ecclayout->oobavail = 0; in onenand_scan()
2782 this->ecclayout->oobavail += in onenand_scan()
2784 mtd->oobavail = this->ecclayout->oobavail; in onenand_scan()
/external/u-boot/drivers/mtd/
Dmtdpart.c152 len = mtd->oobavail; in part_read_oob()
406 slave->mtd.oobavail = master->oobavail; in allocate_partition()
Dmtdconcat.c733 concat->mtd.oobavail = subdev[0]->oobavail; in mtd_concat_create()
/external/strace/
Dmtd.c222 tprintf("}, oobavail=%#x, oobfree={", nlay.oobavail); in decode_nand_ecclayout_user()
/external/u-boot/cmd/
Dnand.c233 if (mtd->oobavail < ENV_OFFSET_SIZE) { in do_nand_env_oob()
237 mtd->oobavail, ENV_OFFSET_SIZE); in do_nand_env_oob()
/external/u-boot/fs/yaffs2/
Dyaffs_uboot_glue.c231 if (chip->ecc.layout->oobavail < sizeof(struct yaffs_packed_tags2)) in cmd_yaffs_devconfig()