Home
last modified time | relevance | path

Searched refs:mtd_device (Results 1 – 12 of 12) sorted by relevance

/OK3568_Linux_fs/u-boot/cmd/
H A Dmtdparts.c150 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 …]
H A Djffs2.c122 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()
H A Dcramfs.c103 struct mtd_device dev; in do_cramfs_load()
168 struct mtd_device dev; in do_cramfs_ls()
H A Dflash.c20 int find_dev_and_part(const char *id, struct mtd_device **dev,
307 struct mtd_device *dev; in do_flerase()
441 struct mtd_device *dev; in do_protect()
H A Dubi.c408 struct mtd_device *dev; in ubi_dev_scan()
480 struct mtd_device *dev; in ubi_part()
H A Dnand.c37 int find_dev_and_part(const char *id, struct mtd_device **dev,
947 struct mtd_device *dev; in do_nandboot()
/OK3568_Linux_fs/u-boot/include/jffs2/
H A Dload_kernel.h27 struct mtd_device { struct
43 struct mtd_device *dev; /* parent device */ argument
68 extern int find_dev_and_part(const char *id, struct mtd_device **dev,
70 extern struct mtd_device *device_find(u8 type, u8 num);
/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H A Dnand_util.c60 const char *mtd_device = mtd->name; in nand_erase_opts() local
125 mtd_device, in nand_erase_opts()
136 mtd_device, result); in nand_erase_opts()
152 mtd_device, result); in nand_erase_opts()
/OK3568_Linux_fs/u-boot/common/
H A Dfb_nand.c38 struct mtd_device *dev; in fb_nand_lookup()
H A Dfdt_support.c901 struct mtd_device *dev) in fdt_node_set_part_info()
1014 struct mtd_device *dev; in fdt_fixup_mtdparts()
/OK3568_Linux_fs/u-boot/drivers/dfu/
H A Ddfu_nand.c209 struct mtd_device *mtd_dev; in dfu_fill_entity_nand()
/OK3568_Linux_fs/u-boot/drivers/mtd/
H A Dmtd_uboot.c385 struct mtd_device *dev; in get_part()