Home
last modified time | relevance | path

Searched refs:mtd_dev (Results 1 – 5 of 5) sorted by relevance

/external/u-boot/cmd/
Dyaffs2.c68 int mtd_dev; in do_ydevconfig() local
79 mtd_dev = simple_strtol(argv[2], NULL, 16); in do_ydevconfig()
83 cmd_yaffs_devconfig(mtpoint, mtd_dev, start_block, end_block); in do_ydevconfig()
Dubi.c484 char mtd_dev[16]; in ubi_part() local
498 sprintf(mtd_dev, "%s%d", MTD_DEV_TYPE(dev->id->type), dev->id->num); in ubi_part()
499 ubi_dev.mtd_info = get_mtd_device_nm(mtd_dev); in ubi_part()
502 mtd_dev); in ubi_part()
Dmtdparts.c303 char mtd_dev[16]; in get_mtd_info() local
305 sprintf(mtd_dev, "%s%d", MTD_DEV_TYPE(type), num); in get_mtd_info()
306 *mtd = get_mtd_device_nm(mtd_dev); in get_mtd_info()
308 printf("Device %s not found!\n", mtd_dev); in get_mtd_info()
837 static int device_parse(const char *const mtd_dev, const char **ret, struct mtd_device **retdev) in device_parse() argument
861 mtd_id = p = mtd_dev; in device_parse()
/external/u-boot/drivers/mtd/ubi/
Dbuild.c1177 static struct mtd_info * __init open_mtd_by_chdev(const char *mtd_dev) in open_mtd_by_chdev() argument
1183 err = kern_path(mtd_dev, LOOKUP_FOLLOW, &path); in open_mtd_by_chdev()
1216 static struct mtd_info * __init open_mtd_device(const char *mtd_dev) in open_mtd_device() argument
1222 mtd_num = simple_strtoul(mtd_dev, &endp, 0); in open_mtd_device()
1223 if (*endp != '\0' || mtd_dev == endp) { in open_mtd_device()
1228 mtd = get_mtd_device_nm(mtd_dev); in open_mtd_device()
1232 mtd = open_mtd_by_chdev(mtd_dev); in open_mtd_device()
/external/u-boot/drivers/dfu/
Ddfu_nand.c206 struct mtd_device *mtd_dev; in dfu_fill_entity_nand() local
221 ret = find_dev_and_part(mtd_id, &mtd_dev, &part_num, &pi); in dfu_fill_entity_nand()