Searched refs:oob_buf (Results 1 – 5 of 5) sorted by relevance
/linux-2.6.39/drivers/mtd/ |
D | ssfdc.c | 201 static int get_logical_address(uint8_t *oob_buf) in get_logical_address() argument 214 block_address = ((int)oob_buf[offset[j]] << 8) | in get_logical_address() 215 oob_buf[offset[j]+1]; in get_logical_address() 248 uint8_t oob_buf[OOB_SIZE]; in build_logical_block_map() local 263 ret = read_raw_oob(mtd, offset, oob_buf); in build_logical_block_map() 270 block_address = get_logical_address(oob_buf); in build_logical_block_map()
|
D | mtdswap.c | 140 char *oob_buf; member 350 ops.oobbuf = d->oob_buf; in mtdswap_read_markers() 360 data = (struct mtdswap_oobdata *)d->oob_buf; in mtdswap_read_markers() 362 (d->oob_buf + d->mtd->ecclayout->oobavail); in mtdswap_read_markers() 930 unsigned char *p2 = (unsigned char *)d->oob_buf; in mtdswap_eblk_passes() 939 ops.oobbuf = d->oob_buf; in mtdswap_eblk_passes() 948 memset(d->oob_buf, patt, mtd->ecclayout->oobavail); in mtdswap_eblk_passes() 1042 kfree(d->oob_buf); in mtdswap_cleanup() 1392 d->oob_buf = kmalloc(2 * mtd->ecclayout->oobavail, GFP_KERNEL); in mtdswap_init() 1393 if (!d->oob_buf) in mtdswap_init()
|
/linux-2.6.39/drivers/mtd/onenand/ |
D | samsung.c | 143 void __iomem *oob_buf; member 441 s = (unsigned int *) onenand->oob_buf; in s3c_onenand_command() 517 p = (unsigned char *) onenand->oob_buf; in s3c_get_bufferram() 960 onenand->oob_buf = kzalloc(128, GFP_KERNEL); in s3c_onenand_probe() 961 if (!onenand->oob_buf) { in s3c_onenand_probe() 1045 kfree(onenand->oob_buf); in s3c_onenand_probe() 1090 kfree(onenand->oob_buf); in s3c_onenand_remove()
|
D | onenand_base.c | 1004 uint8_t *oob_buf = this->oob_buf; in onenand_transfer_auto_oob() local 1014 this->read_bufferram(mtd, ONENAND_SPARERAM, oob_buf, 0, mtd->oobsize); in onenand_transfer_auto_oob() 1022 memcpy(buf, oob_buf + st, n); in onenand_transfer_auto_oob() 1619 u_char *oob_buf = this->oob_buf; in onenand_verify_oob() local 1630 this->read_bufferram(mtd, ONENAND_SPARERAM, oob_buf, 0, mtd->oobsize); in onenand_verify_oob() 1632 if (buf[i] != 0xFF && buf[i] != oob_buf[i]) in onenand_verify_oob() 1802 static int onenand_fill_auto_oob(struct mtd_info *mtd, u_char *oob_buf, in onenand_fill_auto_oob() argument 1827 memcpy(oob_buf + st, buf, n); in onenand_fill_auto_oob() 1914 oobbuf = this->oob_buf; in onenand_write_ops_nolock() 2087 oobbuf = this->oob_buf; in onenand_write_oob_nolock() [all …]
|
/linux-2.6.39/include/linux/mtd/ |
D | onenand.h | 131 unsigned char *oob_buf; member
|