Lines Matching refs:mtd
21 * MTD library.
24 /* Imported from mtd-utils by dehrenberg */
35 #define SYSFS_MTD "class/mtd"
36 #define MTD_NAME_PATT "mtd%d"
53 * libmtd - MTD library description data structure.
54 * @sysfs_mtd: MTD directory in sysfs
55 * @mtd: MTD device sysfs directory pattern
56 * @mtd_dev: MTD device major/minor numbers file pattern
57 * @mtd_name: MTD device name file pattern
58 * @mtd_type: MTD device type file pattern
59 * @mtd_eb_size: MTD device eraseblock size file pattern
60 * @mtd_size: MTD device size file pattern
63 * @mtd_oob_size: MTD device OOB size file pattern
65 * @mtd_flags: MTD device flags file pattern
66 * @sysfs_supported: non-zero if sysfs is supported by MTD
68 * %MEMREADOOB64, %MEMWRITEOOB64 MTD device ioctls are
72 * Note, we cannot find out whether 64-bit ioctls are supported by MTD when we
73 * are initializing the library, because this requires an MTD device node.
84 char *mtd;
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);