Searched refs:mtd_device (Results 1 – 15 of 15) sorted by relevance
/external/vboot_reference/cgpt/ |
D | cgpt_wrapper.c | 68 const char *mtd_device) { in wrap_cgpt() argument 88 if (GetMtdSize(mtd_device, &drive_size) != 0) { in wrap_cgpt() 89 Error("Cannot get the size of %s.\n", mtd_device); in wrap_cgpt() 110 if (strcmp(my_argv[i], mtd_device) == 0) { in wrap_cgpt() 163 const char *mtd_device = find_mtd_device(argc, argv); in main() local 164 if (mtd_device) { in main() 165 return wrap_cgpt(argc, argv, mtd_device); in main()
|
D | cgpt_nor.c | 29 int GetMtdSize(const char *mtd_device, uint64_t *size) { in GetMtdSize() argument 30 mtd_device = strrchr(mtd_device, '/'); in GetMtdSize() 31 if (mtd_device == NULL) { in GetMtdSize() 36 if (asprintf(&sysfs_name, "/sys/class/mtd%s/size", mtd_device) == -1) { in GetMtdSize()
|
D | cgpt_nor.h | 14 int GetMtdSize(const char *mtd_device, uint64_t *size);
|
/external/u-boot/cmd/ |
D | mtdparts.c | 149 struct mtd_device *current_mtd_dev = NULL; 154 static struct part_info* mtd_part_info(struct mtd_device *dev, unsigned int part_num); 158 static int device_del(struct mtd_device *dev); 231 struct mtd_device *dev; in index_partitions() 238 dev = list_entry(dentry, struct mtd_device, link); in index_partitions() 448 static int part_del(struct mtd_device *dev, struct part_info *part) in part_del() 513 static int part_sort_add(struct mtd_device *dev, struct part_info *part) in part_sort_add() 576 static int part_add(struct mtd_device *dev, struct part_info *part) in part_add() 737 struct mtd_device *dev_tmp; in device_delall() 741 dev_tmp = list_entry(entry, struct mtd_device, link); in device_delall() [all …]
|
D | jffs2.c | 121 extern struct mtd_device *current_mtd_dev; 125 struct mtd_device *current_mtd_dev = NULL; 342 current_mtd_dev = (struct mtd_device *) in mtdparts_init() 343 malloc(sizeof(struct mtd_device) + in mtdparts_init() 350 memset(current_mtd_dev, 0, sizeof(struct mtd_device) + in mtdparts_init() 425 static struct part_info* jffs2_part_info(struct mtd_device *dev, unsigned int part_num) in jffs2_part_info()
|
D | cramfs.c | 103 struct mtd_device dev; in do_cramfs_load() 168 struct mtd_device dev; in do_cramfs_ls()
|
D | flash.c | 19 int find_dev_and_part(const char *id, struct mtd_device **dev, 306 struct mtd_device *dev; in do_flerase() 440 struct mtd_device *dev; in do_protect()
|
D | ubi.c | 413 struct mtd_device *dev; in ubi_dev_scan() 485 struct mtd_device *dev; in ubi_part()
|
D | nand.c | 37 int find_dev_and_part(const char *id, struct mtd_device **dev, 939 struct mtd_device *dev; in do_nandboot()
|
/external/u-boot/include/jffs2/ |
D | load_kernel.h | 22 struct mtd_device { struct 38 struct mtd_device *dev; /* parent device */ argument 63 extern int find_dev_and_part(const char *id, struct mtd_device **dev, 65 extern struct mtd_device *device_find(u8 type, u8 num);
|
/external/u-boot/drivers/mtd/nand/ |
D | nand_util.c | 59 const char *mtd_device = mtd->name; in nand_erase_opts() local 124 mtd_device, in nand_erase_opts() 135 mtd_device, result); in nand_erase_opts() 151 mtd_device, result); in nand_erase_opts()
|
/external/u-boot/drivers/mtd/ |
D | mtd_uboot.c | 14 struct mtd_device *dev; in get_part()
|
/external/u-boot/drivers/fastboot/ |
D | fb_nand.c | 37 struct mtd_device *dev; in fb_nand_lookup()
|
/external/u-boot/drivers/dfu/ |
D | dfu_nand.c | 206 struct mtd_device *mtd_dev; in dfu_fill_entity_nand()
|
/external/u-boot/common/ |
D | fdt_support.c | 786 struct mtd_device *dev) in fdt_node_set_part_info() 899 struct mtd_device *dev; in fdt_fixup_mtdparts()
|