Home
last modified time | relevance | path

Searched refs:oobbuf (Results 1 – 22 of 22) sorted by relevance

/linux-2.6.39/drivers/mtd/tests/
Dmtd_oobtest.c141 ops.oobbuf = writebuf; in write_eraseblock()
194 ops.oobbuf = readbuf; in verify_eraseblock()
221 ops.oobbuf = readbuf; in verify_eraseblock()
286 ops.oobbuf = readbuf; in verify_eraseblock_in_one_go()
517 ops.oobbuf = writebuf; in mtd_oobtest_init()
537 ops.oobbuf = readbuf; in mtd_oobtest_init()
561 ops.oobbuf = writebuf; in mtd_oobtest_init()
581 ops.oobbuf = readbuf; in mtd_oobtest_init()
605 ops.oobbuf = writebuf; in mtd_oobtest_init()
625 ops.oobbuf = readbuf; in mtd_oobtest_init()
[all …]
Dmtd_readtest.c51 void *oobbuf = iobuf1; in read_eraseblock_by_page() local
76 ops.oobbuf = oobbuf; in read_eraseblock_by_page()
86 oobbuf += mtd->oobsize; in read_eraseblock_by_page()
/linux-2.6.39/drivers/mtd/onenand/
Donenand_base.c1090 u_char *oobbuf = ops->oobbuf; in onenand_mlc_read_ops_nolock() local
1140 if (oobbuf) { in onenand_mlc_read_ops_nolock()
1145 onenand_transfer_auto_oob(mtd, oobbuf, oobcolumn, thisooblen); in onenand_mlc_read_ops_nolock()
1147 this->read_bufferram(mtd, ONENAND_SPARERAM, oobbuf, oobcolumn, thisooblen); in onenand_mlc_read_ops_nolock()
1149 oobbuf += thisooblen; in onenand_mlc_read_ops_nolock()
1194 u_char *oobbuf = ops->oobbuf; in onenand_read_ops_nolock() local
1261 if (oobbuf) { in onenand_read_ops_nolock()
1266 onenand_transfer_auto_oob(mtd, oobbuf, oobcolumn, thisooblen); in onenand_read_ops_nolock()
1268 this->read_bufferram(mtd, ONENAND_SPARERAM, oobbuf, oobcolumn, thisooblen); in onenand_read_ops_nolock()
1270 oobbuf += thisooblen; in onenand_read_ops_nolock()
[all …]
Donenand_bbt.c85 ops.oobbuf = buf; in create_bbt()
/linux-2.6.39/fs/jffs2/
Dwbuf.c1031 ops.oobbuf = c->oobbuf; in jffs2_check_oob_empty()
1050 if (ops.oobbuf[i] != 0xFF) { in jffs2_check_oob_empty()
1052 "%08x\n", ops.oobbuf[i], i, jeb->offset)); in jffs2_check_oob_empty()
1074 ops.oobbuf = c->oobbuf; in jffs2_check_nand_cleanmarker()
1088 return !!memcmp(&oob_cleanmarker, c->oobbuf, cmlen); in jffs2_check_nand_cleanmarker()
1100 ops.oobbuf = (uint8_t *)&oob_cleanmarker; in jffs2_write_nand_cleanmarker()
1174 c->oobbuf = kmalloc(NR_OOB_SCAN_PAGES * c->oobavail, GFP_KERNEL); in jffs2_nand_flash_setup()
1175 if (!c->oobbuf) { in jffs2_nand_flash_setup()
1183 kfree(c->oobbuf); in jffs2_nand_flash_setup()
1197 kfree(c->oobbuf); in jffs2_nand_flash_cleanup()
[all …]
Djffs2_fs_sb.h124 unsigned char *oobbuf; member
/linux-2.6.39/drivers/mtd/
Dmtdchar.c223 ops.oobbuf = NULL; in mtd_read()
326 ops.oobbuf = NULL; in mtd_write()
423 ops.oobbuf = memdup_user(ptr, length); in mtd_do_writeoob()
424 if (IS_ERR(ops.oobbuf)) in mtd_do_writeoob()
425 return PTR_ERR(ops.oobbuf); in mtd_do_writeoob()
436 kfree(ops.oobbuf); in mtd_do_writeoob()
465 ops.oobbuf = kmalloc(length, GFP_KERNEL); in mtd_do_readoob()
466 if (!ops.oobbuf) in mtd_do_readoob()
474 else if (ops.oobretlen && copy_to_user(ptr, ops.oobbuf, in mtd_do_readoob()
478 kfree(ops.oobbuf); in mtd_do_readoob()
Dnftlcore.c155 ops.oobbuf = buf; in nftl_read_oob()
176 ops.oobbuf = buf; in nftl_write_oob()
199 ops.oobbuf = oob; in nftl_write()
Dmtdconcat.c300 if (devops.oobbuf) { in concat_read_oob()
304 devops.oobbuf += ops->oobretlen; in concat_read_oob()
347 if (devops.oobbuf) { in concat_write_oob()
351 devops.oobbuf += devops.oobretlen; in concat_write_oob()
Dinftlcore.c160 ops.oobbuf = buf; in inftl_read_oob()
180 ops.oobbuf = buf; in inftl_write_oob()
200 ops.oobbuf = oob; in inftl_write()
Dssfdc.c176 ops.oobbuf = buf; in read_raw_oob()
Dmtdswap.c350 ops.oobbuf = d->oob_buf; in mtdswap_read_markers()
391 ops.oobbuf = (uint8_t *)&n; in mtdswap_write_marker()
939 ops.oobbuf = d->oob_buf; in mtdswap_eblk_passes()
Dsm_ftl.c262 ops.oobbuf = (void *)oob; in sm_read_sector()
344 ops.oobbuf = (void *)oob; in sm_write_sector()
Dmtdpart.c128 if (ops->oobbuf) { in part_read_oob()
/linux-2.6.39/drivers/mtd/nand/
Dsm_common.c53 ops.oobbuf = (void *)&oob; in sm_block_markbad()
Dnand_bbt.c347 ops.oobbuf = buf + len; in scan_read_raw_oob()
352 ops.oobbuf = buf + mtd->writesize; in scan_read_raw_oob()
388 ops.oobbuf = oob; in scan_write_bbt()
469 ops.oobbuf = buf; in scan_block_fast()
815 ops.oobbuf = &buf[len]; in write_bbt()
Dnand_base.c424 chip->ops.oobbuf = buf; in nand_default_block_markbad()
1479 oob = ops->oobbuf; in nand_do_read_ops()
1610 chip->ops.oobbuf = NULL; in nand_read()
1776 uint8_t *buf = ops->oobbuf; in nand_do_read_oob()
2176 uint8_t *oob = ops->oobbuf; in nand_do_write_ops()
2301 chip->ops.oobbuf = NULL; in panic_nand_write()
2335 chip->ops.oobbuf = NULL; in nand_write()
2414 nand_fill_oob(chip, ops->oobbuf, ops->ooblen, ops); in nand_do_write_oob()
/linux-2.6.39/drivers/staging/spectra/
Dlld_mtd.c346 ops.oobbuf = read_data + DeviceInfo.wPageDataSize + BTSIG_OFFSET; in mtd_Read_Page_Main_Spare()
406 ops.oobbuf = write_data + DeviceInfo.wPageDataSize + BTSIG_OFFSET; in mtd_Write_Page_Main_Spare()
479 ops.oobbuf = read_data; in mtd_Read_Page_Spare()
/linux-2.6.39/include/linux/mtd/
Dmtd.h110 uint8_t *oobbuf; member
/linux-2.6.39/drivers/mtd/devices/
Ddoc2001.c632 uint8_t *buf = ops->oobbuf; in doc_read_oob()
690 uint8_t *buf = ops->oobbuf; in doc_write_oob()
Ddoc2001plus.c835 uint8_t *buf = ops->oobbuf; in doc_read_oob()
920 uint8_t *buf = ops->oobbuf; in doc_write_oob()
Ddoc2000.c930 uint8_t *buf = ops->oobbuf; in doc_read_oob()
1101 &ops->retlen, ops->oobbuf); in doc_write_oob()