Lines Matching full:libmtd
39 #include "libmtd.h"
159 * @lib: libmtd descriptor
166 static int dev_get_major(struct libmtd *lib, int mtd_num, int *major, int *minor)
433 static int dev_node2num(struct libmtd *lib, const char *node, int *mtd_num)
482 * 2.6.30 and libmtd tries to use sysfs interface if possible, because the NAND
493 static int sysfs_is_supported(struct libmtd *lib)
559 struct libmtd *lib;
631 struct libmtd *lib = (struct libmtd *)desc;
650 struct libmtd *lib = (struct libmtd *)desc;
666 struct libmtd *lib = (struct libmtd *)desc;
737 struct libmtd *lib = (struct libmtd *)desc;
790 struct libmtd *lib = (struct libmtd *)desc;
853 struct libmtd *lib = (struct libmtd *)desc;
1203 struct libmtd *lib = (struct libmtd *)desc;
1387 struct libmtd *lib = (struct libmtd *)desc;