Searched refs:mtd_device (Results 1 – 16 of 16) 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 | 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() [all …]
|
D | jffs2.c | 122 extern struct mtd_device *current_mtd_dev; 126 struct mtd_device *current_mtd_dev = NULL; 343 current_mtd_dev = (struct mtd_device *) in mtdparts_init() 344 malloc(sizeof(struct mtd_device) + in mtdparts_init() 351 memset(current_mtd_dev, 0, sizeof(struct mtd_device) + in mtdparts_init() 426 static struct part_info* jffs2_part_info(struct mtd_device *dev, unsigned int part_num) in jffs2_part_info()
|
D | cramfs.c | 104 struct mtd_device dev; in do_cramfs_load() 169 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 | legacy-mtd-utils.c | 14 struct mtd_device *dev; in get_part()
|
D | nand.c | 39 int find_dev_and_part(const char *id, struct mtd_device **dev, 941 struct mtd_device *dev; in do_nandboot()
|
/external/u-boot/include/jffs2/ |
D | load_kernel.h | 25 struct mtd_device { struct 41 struct mtd_device *dev; /* parent device */ argument 66 extern int find_dev_and_part(const char *id, struct mtd_device **dev, 68 extern struct mtd_device *device_find(u8 type, u8 num);
|
/external/u-boot/drivers/mtd/nand/raw/ |
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/fastboot/ |
D | fb_nand.c | 37 struct mtd_device *dev; in fb_nand_lookup()
|
/external/u-boot/drivers/dfu/ |
D | dfu_sf.c | 163 struct mtd_device *mtd_dev; in dfu_fill_entity_sf()
|
D | dfu_nand.c | 206 struct mtd_device *mtd_dev; in dfu_fill_entity_nand()
|
D | dfu_mtd.c | 262 struct mtd_device *mtd_dev; in dfu_fill_entity_mtd()
|
/external/u-boot/common/ |
D | fdt_support.c | 818 struct mtd_device *dev) in fdt_node_set_part_info() 949 struct mtd_device *dev; in fdt_fixup_mtdparts()
|