Home
last modified time | relevance | path

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

/u-boot/cmd/
A 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()
A Dmtdparts.c309 char mtd_dev[16]; in get_mtd_info() local
311 sprintf(mtd_dev, "%s%d", MTD_DEV_TYPE(type), num); in get_mtd_info()
312 *mtd = get_mtd_device_nm(mtd_dev); in get_mtd_info()
314 printf("Device %s not found!\n", mtd_dev); in get_mtd_info()
843 static int device_parse(const char *const mtd_dev, const char **ret, struct mtd_device **retdev) in device_parse() argument
867 mtd_id = p = mtd_dev; in device_parse()
/u-boot/drivers/dfu/
A Ddfu_nand.c212 struct mtd_device *mtd_dev; in dfu_fill_entity_nand() local
227 ret = find_dev_and_part(mtd_id, &mtd_dev, &part_num, &pi); in dfu_fill_entity_nand()
A Ddfu_sf.c164 struct mtd_device *mtd_dev; in dfu_fill_entity_sf() local
180 ret = find_dev_and_part(mtd_id, &mtd_dev, &part_num, &pi); in dfu_fill_entity_sf()
A Ddfu_mtd.c277 struct mtd_device *mtd_dev; in dfu_fill_entity_mtd() local
290 ret = find_dev_and_part(mtd_id, &mtd_dev, &part_num, &pi); in dfu_fill_entity_mtd()
/u-boot/drivers/mtd/ubi/
A Dbuild.c1179 static struct mtd_info * __init open_mtd_by_chdev(const char *mtd_dev) in open_mtd_by_chdev() argument
1185 err = kern_path(mtd_dev, LOOKUP_FOLLOW, &path); in open_mtd_by_chdev()
1218 static struct mtd_info * __init open_mtd_device(const char *mtd_dev) in open_mtd_device() argument
1224 mtd_num = simple_strtoul(mtd_dev, &endp, 0); in open_mtd_device()
1225 if (*endp != '\0' || mtd_dev == endp) { in open_mtd_device()
1230 mtd = get_mtd_device_nm(mtd_dev); in open_mtd_device()
1234 mtd = open_mtd_by_chdev(mtd_dev); in open_mtd_device()
/u-boot/arch/arm/mach-stm32mp/cmd_stm32prog/
A Dstm32prog.c753 struct mtd_device *mtd_dev; in init_device() local
758 ret = find_dev_and_part(mtd_part_id, &mtd_dev, in init_device()

Completed in 16 milliseconds