Searched defs:mtd (Results 1 - 5 of 5) sorted by relevance

/external/fio/oslib/
H A Dlibmtd_int.h24 /* Imported from mtd-utils by dehrenberg */
35 #define SYSFS_MTD "class/mtd"
36 #define MTD_NAME_PATT "mtd%d"
55 * @mtd: MTD device sysfs directory pattern
84 char *mtd; member in struct:libmtd
102 int legacy_get_dev_info(const char *node, struct mtd_dev_info *mtd);
103 int legacy_get_dev_info1(int dev_num, struct mtd_dev_info *mtd);
H A Dlibmtd_legacy.c26 /* Imported from mtd-utils by dehrenberg */
36 #include <mtd/mtd-user.h>
42 #define MTD_PROC_FILE "/proc/mtd"
43 #define MTD_DEV_PATT "/dev/mtd%d"
49 #define PROC_MTD_PATT "mtd%d: %llx %x"
52 * struct proc_parse_info - /proc/mtd parsing information.
57 * @buf: contents of /proc/mtd
139 return errmsg("too long mtd%d device name", pi->mtd_num);
179 * fall-back to parsing the /proc/mtd fil
234 legacy_get_dev_info(const char *node, struct mtd_dev_info *mtd) argument
378 legacy_get_dev_info1(int mtd_num, struct mtd_dev_info *mtd) argument
[all...]
H A Dlibmtd.c24 /* Imported from mtd-utils by dehrenberg */
38 #include <mtd/mtd-user.h>
486 * Very old kernels did not have "/sys/class/mtd" directory. Not very old
487 * kernels (e.g., 2.6.29) did have "/sys/class/mtd/mtdX" directories, by there
489 * is to check for a "/sys/class/mtd/mtdX/name" file. But this is not a
541 /* No mtd device, treat this as pre-sysfs system */
569 lib->mtd = mkpath(lib->sysfs_mtd, MTD_NAME_PATT);
570 if (!lib->mtd)
573 lib->mtd_name = mkpath(lib->mtd, MTD_NAM
734 mtd_get_dev_info1(libmtd_t desc, int mtd_num, struct mtd_dev_info *mtd) argument
787 mtd_get_dev_info(libmtd_t desc, const char *node, struct mtd_dev_info *mtd) argument
801 mtd_ioctl_error(const struct mtd_dev_info *mtd, int eb, const char *sreq) argument
808 mtd_valid_erase_block(const struct mtd_dev_info *mtd, int eb) argument
819 mtd_xlock(const struct mtd_dev_info *mtd, int fd, int eb, int req, const char *sreq) argument
840 mtd_lock(const struct mtd_dev_info *mtd, int fd, int eb) argument
845 mtd_unlock(const struct mtd_dev_info *mtd, int fd, int eb) argument
850 mtd_erase(libmtd_t desc, const struct mtd_dev_info *mtd, int fd, int eb) argument
916 mtd_is_locked(const struct mtd_dev_info *mtd, int fd, int eb) argument
957 mtd_torture(libmtd_t desc, const struct mtd_dev_info *mtd, int fd, int eb) argument
1013 mtd_is_bad(const struct mtd_dev_info *mtd, int fd, int eb) argument
1032 mtd_mark_bad(const struct mtd_dev_info *mtd, int fd, int eb) argument
1053 mtd_read(const struct mtd_dev_info *mtd, int fd, int eb, int offs, void *buf, int len) argument
1087 legacy_auto_oob_layout(const struct mtd_dev_info *mtd, int fd, int ooblen, void *oob) argument
1124 mtd_write(libmtd_t desc, const struct mtd_dev_info *mtd, int fd, int eb, int offs, void *data, int len, void *oob, int ooblen, uint8_t mode) argument
1194 do_oob_op(libmtd_t desc, const struct mtd_dev_info *mtd, int fd, uint64_t start, uint64_t length, void *data, unsigned int cmd64, unsigned int cmd) argument
1271 mtd_read_oob(libmtd_t desc, const struct mtd_dev_info *mtd, int fd, uint64_t start, uint64_t length, void *data) argument
1278 mtd_write_oob(libmtd_t desc, const struct mtd_dev_info *mtd, int fd, uint64_t start, uint64_t length, void *data) argument
1285 mtd_write_img(const struct mtd_dev_info *mtd, int fd, int eb, int offs, const char *img_name) argument
[all...]
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
H A DDeprecatedAPIChecker.java150 for (Method mtd : cls.getDeclaredMethods()) {
152 if (!isPublicOrProtected(mtd.getModifiers()) || mtd.isSynthetic()) {
156 String mtdName = mtd.getName();
157 List<String> paramNames = getParamNames(mtd);
167 compareDeprecated(isAPIDeprecated(api), mtd.isAnnotationPresent(Deprecated.class), clsName, mtdName
210 for (Method mtd : cls.getDeclaredMethods()) {
212 if (!isPublicOrProtected(mtd.getModifiers()) || isBuiltinEnumMethod(mtd)) {
216 String mtdName = mtd
253 isBuiltinEnumMethod(Method mtd) argument
[all...]
/external/kernel-headers/original/uapi/mtd/
H A Dmtd-abi.h280 static inline int mtd_type_is_nand_user(const struct mtd_info_user *mtd) argument
282 return mtd->type == MTD_NANDFLASH || mtd->type == MTD_MLCNANDFLASH;

Completed in 642 milliseconds