Home
last modified time | relevance | path

Searched refs:current_mtd_dev (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/cmd/
H A Djffs2.c121 extern struct mtd_device *current_mtd_dev;
125 struct mtd_device *current_mtd_dev = NULL; variable
342 current_mtd_dev = (struct mtd_device *) in mtdparts_init()
346 if (!current_mtd_dev) { in mtdparts_init()
353 id = (struct mtdids *)(current_mtd_dev + 1); in mtdparts_init()
368 free(current_mtd_dev); in mtdparts_init()
393 part->dev = current_mtd_dev; in mtdparts_init()
406 current_mtd_dev->id = id; in mtdparts_init()
407 INIT_LIST_HEAD(&current_mtd_dev->link); in mtdparts_init()
408 current_mtd_dev->num_parts = 1; in mtdparts_init()
[all …]
H A Dmtdparts.c238 if (current_mtd_dev) { in index_partitions()
278 if (current_mtd_dev) { in current_save()
461 if (dev == current_mtd_dev) { in part_del()
536 if (dev == current_mtd_dev) in part_sort_add()
767 if (dev == current_mtd_dev) { in device_del()
770 current_mtd_dev = NULL; in device_del()
818 current_mtd_dev = dev; in device_add()
974 current_mtd_dev = NULL; in mtd_devices_init()
1312 if (current_mtd_dev) {
1850 current_mtd_dev = cdev;
[all …]