• Home
  • Raw
  • Download

Lines Matching refs:mtd_device

150 struct mtd_device *current_mtd_dev = NULL;
155 static struct part_info* mtd_part_info(struct mtd_device *dev, unsigned int part_num);
159 static int device_del(struct mtd_device *dev);
235 struct mtd_device *dev; in index_partitions()
242 dev = list_entry(dentry, struct mtd_device, link); in index_partitions()
452 static int part_del(struct mtd_device *dev, struct part_info *part) in part_del()
517 static int part_sort_add(struct mtd_device *dev, struct part_info *part) in part_sort_add()
580 static int part_add(struct mtd_device *dev, struct part_info *part) in part_add()
741 struct mtd_device *dev_tmp; in device_delall()
745 dev_tmp = list_entry(entry, struct mtd_device, link); in device_delall()
762 static int device_del(struct mtd_device *dev) in device_del()
775 current_mtd_dev = list_entry(devices.next, struct mtd_device, link); in device_del()
794 struct mtd_device *device_find(u8 type, u8 num) in device_find()
797 struct mtd_device *dev_tmp; in device_find()
800 dev_tmp = list_entry(entry, struct mtd_device, link); in device_find()
814 static void device_add(struct mtd_device *dev) in device_add()
841 static int device_parse(const char *const mtd_dev, const char **ret, struct mtd_device **retdev) in device_parse()
843 struct mtd_device *dev; in device_parse()
941 if ((dev = (struct mtd_device *)malloc(sizeof(struct mtd_device))) == NULL) { in device_parse()
945 memset(dev, 0, sizeof(struct mtd_device)); in device_parse()
1088 struct mtd_device *dev; in generate_mtdparts()
1104 dev = list_entry(dentry, struct mtd_device, link); in generate_mtdparts()
1252 struct mtd_device *dev;
1256 dev = list_entry(dentry, struct mtd_device, link);
1348 int find_dev_and_part(const char *id, struct mtd_device **dev,
1359 *dev = list_entry(dentry, struct mtd_device, link);
1411 struct mtd_device *dev;
1487 struct mtd_device *dev;
1494 dev = list_entry(dentry, struct mtd_device, link);
1556 struct mtd_device *dev;
1825 current_mtd_dev = list_entry(devices.next, struct mtd_device, link);
1845 struct mtd_device *cdev;
1871 static struct part_info* mtd_part_info(struct mtd_device *dev, unsigned int part_num)
1921 struct mtd_device *dev;
1997 struct mtd_device *dev;
1998 struct mtd_device *dev_tmp;