Home
last modified time | relevance | path

Searched refs:mtd (Results 1 – 16 of 16) sorted by relevance

/external/yaffs2/yaffs2/mtdemul/
Dnandemul2k.c280 static int nand_read (struct mtd_info *mtd, loff_t from, size_t len,
282 static int nand_read_ecc (struct mtd_info *mtd, loff_t from, size_t len,
284 static int nand_read_oob (struct mtd_info *mtd, loff_t from, size_t len,
286 static int nand_write (struct mtd_info *mtd, loff_t to, size_t len,
288 static int nand_write_ecc (struct mtd_info *mtd, loff_t to, size_t len,
291 static int nand_write_oob (struct mtd_info *mtd, loff_t to, size_t len,
294 static int nand_writev (struct mtd_info *mtd, const struct kvec *vecs,
297 static int nand_writev (struct mtd_info *mtd, const struct iovec *vecs,
300 static int nand_erase (struct mtd_info *mtd, struct erase_info *instr);
301 static void nand_sync (struct mtd_info *mtd);
[all …]
/external/kernel-headers/original/linux/mtd/
Dmtd.h13 #error This is a kernel header. Perhaps include mtd-user.h instead?
38 struct mtd_info *mtd; member
132 #define MTD_PROGREGION_CTRLMODE_VALID(mtd) (mtd)->oobsize argument
133 #define MTD_PROGREGION_CTRLMODE_INVALID(mtd) (mtd)->ecctype argument
151 int (*erase) (struct mtd_info *mtd, struct erase_info *instr);
154 int (*point) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char **mtdbuf);
157 void (*unpoint) (struct mtd_info *mtd, u_char * addr, loff_t from, size_t len);
160 int (*read) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf);
161 int (*write) (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf);
163 int (*read_oob) (struct mtd_info *mtd, loff_t from,
[all …]
Dnand.h29 extern int nand_scan (struct mtd_info *mtd, int max_chips);
31 extern void nand_release (struct mtd_info *mtd);
245 void (*hwctl)(struct mtd_info *mtd, int mode);
246 int (*calculate)(struct mtd_info *mtd,
249 int (*correct)(struct mtd_info *mtd, uint8_t *dat,
252 int (*read_page)(struct mtd_info *mtd,
255 void (*write_page)(struct mtd_info *mtd,
258 int (*read_oob)(struct mtd_info *mtd,
262 int (*write_oob)(struct mtd_info *mtd,
346 uint8_t (*read_byte)(struct mtd_info *mtd);
[all …]
Dbbm.h113 int (*isbad_bbt)(struct mtd_info *mtd, loff_t ofs, int allowbbt);
122 extern int onenand_scan_bbt(struct mtd_info *mtd, struct nand_bbt_descr *bd);
123 extern int onenand_default_bbt(struct mtd_info *mtd);
Dnand_ecc.h23 int nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, u_char *ecc_code);
28 int nand_correct_data(struct mtd_info *mtd, u_char *dat, u_char *read_ecc, u_char *calc_ecc);
Dblktrans.h24 struct mtd_info *mtd; member
56 void (*add_mtd)(struct mtd_blktrans_ops *tr, struct mtd_info *mtd);
Dcfi.h471 void (*fixup)(struct mtd_info *mtd, void* param);
482 void cfi_fixup(struct mtd_info *mtd, struct cfi_fixup* fixups);
487 int cfi_varsize_frob(struct mtd_info *mtd, varsize_frob_t frob,
Dmap.h237 void map_destroy(struct mtd_info *mtd);
/external/yaffs2/yaffs2/
Dyaffs_mtdif2.c35 struct mtd_info *mtd = (struct mtd_info *)(dev->genericDevice); in nandmtd2_pt2buf() local
46 for (i = 0; i < mtd->oobsize; i++) in nandmtd2_pt2buf()
53 k = mtd->ecclayout->oobfree[j].offset; in nandmtd2_pt2buf()
54 n = mtd->ecclayout->oobfree[j].length; in nandmtd2_pt2buf()
66 k = mtd->ecclayout->oobfree[j].offset; in nandmtd2_pt2buf()
67 n = mtd->ecclayout->oobfree[j].length; in nandmtd2_pt2buf()
68 if (n == 0 || j >= (sizeof(mtd->ecclayout->oobfree) / sizeof(mtd->ecclayout->oobfree[0]))) { in nandmtd2_pt2buf()
83 struct mtd_info *mtd = (struct mtd_info *)(dev->genericDevice); in nandmtd2_buf2pt() local
93 k = mtd->ecclayout->oobfree[j].offset; in nandmtd2_buf2pt()
94 n = mtd->ecclayout->oobfree[j].length; in nandmtd2_buf2pt()
[all …]
Dyaffs_mtdif.c77 struct mtd_info *mtd = (struct mtd_info *)(dev->genericDevice); in nandmtd_WriteChunkToNAND() local
89 retval = mtd->write(mtd, addr, dev->nDataBytesPerChunk, in nandmtd_WriteChunkToNAND()
104 retval = mtd->write_oob(mtd, addr, &ops); in nandmtd_WriteChunkToNAND()
112 mtd->write_ecc(mtd, addr, dev->nDataBytesPerChunk, in nandmtd_WriteChunkToNAND()
117 mtd->write_ecc(mtd, addr, dev->nDataBytesPerChunk, in nandmtd_WriteChunkToNAND()
123 mtd->write(mtd, addr, dev->nDataBytesPerChunk, &dummy, in nandmtd_WriteChunkToNAND()
127 mtd->write_oob(mtd, addr, YAFFS_BYTES_PER_SPARE, in nandmtd_WriteChunkToNAND()
141 struct mtd_info *mtd = (struct mtd_info *)(dev->genericDevice); in nandmtd_ReadChunkFromNAND() local
153 retval = mtd->read(mtd, addr, dev->nDataBytesPerChunk, in nandmtd_ReadChunkFromNAND()
167 retval = mtd->read_oob(mtd, addr, &ops); in nandmtd_ReadChunkFromNAND()
[all …]
Dyaffs_fs.c1432 struct mtd_info *mtd = yaffs_SuperToDevice(sb)->genericDevice; local
1434 if (mtd->sync) {
1435 mtd->sync(mtd);
1438 put_mtd_device(mtd);
1460 struct mtd_info *mtd; local
1499 mtd = get_mtd_device(NULL, MINOR(sb->s_dev));
1500 if (!mtd) {
1507 if (mtd->type != MTD_NANDFLASH) {
1509 ("yaffs: MTD device is not NAND it's type %d\n", mtd->type));
1513 T(YAFFS_TRACE_OS, (" erase %p\n", mtd->erase));
[all …]
/external/webkit/Source/WebCore/css/
Dmathml.css183 mtd { selector
188 mtable[columnalign="left"], mtr[columnalign="left"], mtd[columnalign="left"] {
192 mtable[columnalign="right"], mtr[columnalign="right"], mtd[columnalign="right"] {
196 mtable[rowalign="top"] mtd, mtable mtr[rowalign="top"] mtd, mtable mtr mtd[rowalign="top"] {
200 mtable[rowalign="bottom"] mtd, mtable mtr[rowalign="bottom"] mtd, mtable mtr mtd[rowalign="bottom"]…
204 mtable[rowalign="center"] mtd, mtable mtr[rowalign="center"] mtd, mtable mtr mtd[rowalign="center"]…
228 mtable[columnlines="solid"] > mtr > mtd + mtd {
232 mtable[columnlines="dashed"] > mtr > mtd + mtd {
/external/sepolicy/
Dfile_contexts62 /dev/mtd(/.*)? u:object_r:mtd_device:s0
63 /dev/mtd/mtd5 u:object_r:radio_device:s0
64 /dev/mtd/mtd5ro u:object_r:radio_device:s0
/external/libvpx/libvpx/examples/includes/ASCIIMathPHP-2.0/
DASCIIMathPHP-2.0.class.php752 $tmp_c_node->setName('mtd');
769 $tmp_c_node->setName('mtd');
/external/webkit/Source/WebCore/bridge/qt/
Dqt_runtime.cpp1315 QMetaMethod mtd = meta->method(conversionFailed.at(i)); in findMethodIndex() local
1316 message += QString::fromLatin1(" %0").arg(QString::fromLatin1(mtd.signature())); in findMethodIndex()
1334 QMetaMethod mtd = meta->method(tooFewArgs.at(i)); in findMethodIndex() local
1335 message += QString::fromLatin1(" %0").arg(QString::fromLatin1(mtd.signature())); in findMethodIndex()
1355 QMetaMethod mtd = meta->method(candidates.at(i).index); in findMethodIndex() local
1356 … message += QString::fromLatin1(" %0").arg(QString::fromLatin1(mtd.signature())); in findMethodIndex()
/external/qemu/
Dqemu-options.hx108 Available types are: ide, scsi, sd, mtd, floppy, pflash, virtio.