Searched refs:oob_buf (Results 1 – 8 of 8) sorted by relevance
/external/u-boot/env/ |
D | nand.c | 288 uint32_t oob_buf[ENV_OFFSET_SIZE / sizeof(uint32_t)]; in get_nand_env_oob() local 295 ops.oobbuf = (void *)oob_buf; in get_nand_env_oob() 303 if (oob_buf[0] == ENV_OOB_MARKER) { in get_nand_env_oob() 305 } else if (oob_buf[0] == ENV_OOB_MARKER_OLD) { in get_nand_env_oob() 306 *result = oob_buf[1]; in get_nand_env_oob()
|
/external/u-boot/drivers/mtd/nand/ |
D | mxs_nand.c | 375 uint8_t *data_buf, uint8_t *oob_buf) in mxs_nand_swap_block_mark() argument 392 dst = oob_buf[0]; in mxs_nand_swap_block_mark() 394 oob_buf[0] = src; in mxs_nand_swap_block_mark() 603 d->cmd.pio_words[5] = (dma_addr_t)nand_info->oob_buf; in mxs_nand_ecc_read_page() 657 mxs_nand_swap_block_mark(geo, nand_info->data_buf, nand_info->oob_buf); in mxs_nand_ecc_read_page() 660 status = nand_info->oob_buf + mxs_nand_aux_status_offset(); in mxs_nand_ecc_read_page() 691 nand->oob_poi[0] = nand_info->oob_buf[0]; in mxs_nand_ecc_read_page() 715 memcpy(nand_info->oob_buf, nand->oob_poi, mtd->oobsize); in mxs_nand_ecc_write_page() 718 mxs_nand_swap_block_mark(geo, nand_info->data_buf, nand_info->oob_buf); in mxs_nand_ecc_write_page() 741 d->cmd.pio_words[5] = (dma_addr_t)nand_info->oob_buf; in mxs_nand_ecc_write_page() [all …]
|
D | mxs_nand.h | 50 uint8_t *oob_buf; member
|
D | nand_base.c | 2311 uint8_t *oob_buf = chip->oob_poi; in nand_write_subpage_hwecc() local 2338 memset(oob_buf, 0xff, oob_bytes); in nand_write_subpage_hwecc() 2342 oob_buf += oob_bytes; in nand_write_subpage_hwecc()
|
/external/u-boot/drivers/mtd/onenand/ |
D | samsung.c | 62 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()
|
D | onenand_base.c | 772 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/cmd/ |
D | nand.c | 190 uint32_t oob_buf[ENV_OFFSET_SIZE/sizeof(uint32_t)]; in do_nand_env_oob() local 250 ops.oobbuf = (void *) oob_buf; in do_nand_env_oob() 252 oob_buf[0] = ENV_OOB_MARKER; in do_nand_env_oob() 253 oob_buf[1] = addr / mtd->erasesize; in do_nand_env_oob()
|
/external/u-boot/include/linux/mtd/ |
D | onenand.h | 117 unsigned char *oob_buf; member
|