Home
last modified time | relevance | path

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

/u-boot/env/
A Dnand.c284 uint32_t oob_buf[ENV_OFFSET_SIZE / sizeof(uint32_t)]; in get_nand_env_oob() local
291 ops.oobbuf = (void *)oob_buf; in get_nand_env_oob()
299 if (oob_buf[0] == ENV_OOB_MARKER) { in get_nand_env_oob()
301 } else if (oob_buf[0] == ENV_OOB_MARKER_OLD) { in get_nand_env_oob()
302 *result = oob_buf[1]; in get_nand_env_oob()
/u-boot/drivers/mtd/onenand/
A 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()
A Donenand_base.c775 uint8_t *oob_buf = this->oob_buf; in onenand_transfer_auto_oob() local
795 memcpy(buf, oob_buf + st, n); in onenand_transfer_auto_oob()
1292 u_char *oob_buf = this->oob_buf; in onenand_verify_oob() local
1306 if (buf[i] != 0xFF && buf[i] != oob_buf[i]) in onenand_verify_oob()
1397 memcpy(oob_buf + st, buf, n); in onenand_fill_auto_oob()
1468 oobbuf = this->oob_buf; in onenand_write_ops_nolock()
1581 oobbuf = this->oob_buf; in onenand_write_oob_nolock()
2405 .oobbuf = this->oob_buf, in flexonenand_check_blocks_erased()
2425 if (this->oob_buf[i] != 0xff) in flexonenand_check_blocks_erased()
2731 if (!this->oob_buf) { in onenand_scan()
[all …]
/u-boot/drivers/mtd/nand/raw/
A Dmxs_nand.c445 uint8_t *data_buf, uint8_t *oob_buf) in mxs_nand_swap_block_mark() argument
462 dst = oob_buf[0]; in mxs_nand_swap_block_mark()
464 oob_buf[0] = src; in mxs_nand_swap_block_mark()
714 d->cmd.pio_words[5] = (dma_addr_t)nand_info->oob_buf; in mxs_nand_ecc_read_page()
776 mxs_nand_swap_block_mark(geo, nand_info->data_buf, nand_info->oob_buf); in mxs_nand_ecc_read_page()
779 status = nand_info->oob_buf + mxs_nand_aux_status_offset(); in mxs_nand_ecc_read_page()
819 nand->oob_poi[0] = nand_info->oob_buf[0]; in mxs_nand_ecc_read_page()
845 memcpy(nand_info->oob_buf, nand->oob_poi, mtd->oobsize); in mxs_nand_ecc_write_page()
848 mxs_nand_swap_block_mark(geo, nand_info->data_buf, nand_info->oob_buf); in mxs_nand_ecc_write_page()
871 d->cmd.pio_words[5] = (dma_addr_t)nand_info->oob_buf; in mxs_nand_ecc_write_page()
[all …]
A Dnand_base.c2962 uint8_t *oob_buf = chip->oob_poi; in nand_write_subpage_hwecc() local
2992 memset(oob_buf, 0xff, oob_bytes); in nand_write_subpage_hwecc()
2996 oob_buf += oob_bytes; in nand_write_subpage_hwecc()
/u-boot/include/
A Dmxs_nand.h56 uint8_t *oob_buf; member
/u-boot/include/linux/mtd/
A Donenand.h117 unsigned char *oob_buf; member
/u-boot/cmd/
A Dnand.c195 uint32_t oob_buf[ENV_OFFSET_SIZE/sizeof(uint32_t)]; in do_nand_env_oob() local
255 ops.oobbuf = (void *) oob_buf; in do_nand_env_oob()
257 oob_buf[0] = ENV_OOB_MARKER; in do_nand_env_oob()
258 oob_buf[1] = addr / mtd->erasesize; in do_nand_env_oob()

Completed in 25 milliseconds