Home
last modified time | relevance | path

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

/external/u-boot/env/
Dnand.c283 uint32_t oob_buf[ENV_OFFSET_SIZE / sizeof(uint32_t)]; in get_nand_env_oob() local
290 ops.oobbuf = (void *)oob_buf; in get_nand_env_oob()
298 if (oob_buf[0] == ENV_OOB_MARKER) { in get_nand_env_oob()
300 } else if (oob_buf[0] == ENV_OOB_MARKER_OLD) { in get_nand_env_oob()
301 *result = oob_buf[1]; in get_nand_env_oob()
/external/u-boot/drivers/mtd/onenand/
Dsamsung.c62 void __iomem *oob_buf; member
301 s = (unsigned int *) onenand->oob_buf; in s3c_onenand_command()
385 p = (unsigned char *) onenand->oob_buf; in s3c_get_bufferram()
542 onenand->oob_buf = malloc(128 * sizeof(char)); in s3c_onenand_init()
543 if (!onenand->oob_buf) in s3c_onenand_init()
545 memset(onenand->oob_buf, 0xff, 128); in s3c_onenand_init()
Donenand_base.c772 uint8_t *oob_buf = this->oob_buf; in onenand_transfer_auto_oob() local
783 this->read_bufferram(mtd, 0, ONENAND_SPARERAM, oob_buf, 0, mtd->oobsize); in onenand_transfer_auto_oob()
792 memcpy(buf, oob_buf + st, n); in onenand_transfer_auto_oob()
1289 u_char *oob_buf = this->oob_buf; in onenand_verify_oob() local
1301 this->read_bufferram(mtd, 0, ONENAND_SPARERAM, oob_buf, 0, mtd->oobsize); in onenand_verify_oob()
1303 if (buf[i] != 0xFF && buf[i] != oob_buf[i]) in onenand_verify_oob()
1367 static int onenand_fill_auto_oob(struct mtd_info *mtd, u_char *oob_buf, in onenand_fill_auto_oob() argument
1394 memcpy(oob_buf + st, buf, n); in onenand_fill_auto_oob()
1465 oobbuf = this->oob_buf; in onenand_write_ops_nolock()
1578 oobbuf = this->oob_buf; in onenand_write_oob_nolock()
[all …]
/external/u-boot/drivers/mtd/nand/raw/
Dmxs_nand.c376 uint8_t *data_buf, uint8_t *oob_buf) in mxs_nand_swap_block_mark() argument
393 dst = oob_buf[0]; in mxs_nand_swap_block_mark()
395 oob_buf[0] = src; in mxs_nand_swap_block_mark()
604 d->cmd.pio_words[5] = (dma_addr_t)nand_info->oob_buf; in mxs_nand_ecc_read_page()
658 mxs_nand_swap_block_mark(geo, nand_info->data_buf, nand_info->oob_buf); in mxs_nand_ecc_read_page()
661 status = nand_info->oob_buf + mxs_nand_aux_status_offset(); in mxs_nand_ecc_read_page()
692 nand->oob_poi[0] = nand_info->oob_buf[0]; in mxs_nand_ecc_read_page()
716 memcpy(nand_info->oob_buf, nand->oob_poi, mtd->oobsize); in mxs_nand_ecc_write_page()
719 mxs_nand_swap_block_mark(geo, nand_info->data_buf, nand_info->oob_buf); in mxs_nand_ecc_write_page()
742 d->cmd.pio_words[5] = (dma_addr_t)nand_info->oob_buf; in mxs_nand_ecc_write_page()
[all …]
Dnand_base.c2957 uint8_t *oob_buf = chip->oob_poi; in nand_write_subpage_hwecc() local
2987 memset(oob_buf, 0xff, oob_bytes); in nand_write_subpage_hwecc()
2991 oob_buf += oob_bytes; in nand_write_subpage_hwecc()
/external/u-boot/include/
Dmxs_nand.h50 uint8_t *oob_buf; member
/external/u-boot/cmd/
Dnand.c192 uint32_t oob_buf[ENV_OFFSET_SIZE/sizeof(uint32_t)]; in do_nand_env_oob() local
252 ops.oobbuf = (void *) oob_buf; in do_nand_env_oob()
254 oob_buf[0] = ENV_OOB_MARKER; in do_nand_env_oob()
255 oob_buf[1] = addr / mtd->erasesize; in do_nand_env_oob()
/external/u-boot/include/linux/mtd/
Donenand.h117 unsigned char *oob_buf; member