Searched refs:mtd_dev (Results 1 – 7 of 7) sorted by relevance
| /u-boot/cmd/ |
| A D | yaffs2.c | 68 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 D | mtdparts.c | 306 char mtd_dev[16]; in get_mtd_info() local 308 sprintf(mtd_dev, "%s%d", MTD_DEV_TYPE(type), num); in get_mtd_info() 309 *mtd = get_mtd_device_nm(mtd_dev); in get_mtd_info() 311 printf("Device %s not found!\n", mtd_dev); in get_mtd_info() 840 static int device_parse(const char *const mtd_dev, const char **ret, struct mtd_device **retdev) in device_parse() argument 864 mtd_id = p = mtd_dev; in device_parse()
|
| /u-boot/drivers/dfu/ |
| A D | dfu_nand.c | 217 struct mtd_device *mtd_dev; in dfu_fill_entity_nand() local 235 ret = find_dev_and_part(mtd_id, &mtd_dev, &part_num, &pi); in dfu_fill_entity_nand()
|
| A D | dfu_sf.c | 194 struct mtd_device *mtd_dev; in dfu_fill_entity_sf() local 213 ret = find_dev_and_part(mtd_id, &mtd_dev, &part_num, &pi); in dfu_fill_entity_sf()
|
| A D | dfu_mtd.c | 303 struct mtd_device *mtd_dev; in dfu_fill_entity_mtd() local 321 ret = find_dev_and_part(mtd_id, &mtd_dev, &part_num, &pi); in dfu_fill_entity_mtd()
|
| /u-boot/drivers/mtd/ubi/ |
| A D | build.c | 1173 static struct mtd_info * __init open_mtd_by_chdev(const char *mtd_dev) in open_mtd_by_chdev() argument 1179 err = kern_path(mtd_dev, LOOKUP_FOLLOW, &path); in open_mtd_by_chdev() 1212 static struct mtd_info * __init open_mtd_device(const char *mtd_dev) in open_mtd_device() argument 1218 mtd_num = simple_strtoul(mtd_dev, &endp, 0); in open_mtd_device() 1219 if (*endp != '\0' || mtd_dev == endp) { in open_mtd_device() 1224 mtd = get_mtd_device_nm(mtd_dev); in open_mtd_device() 1228 mtd = open_mtd_by_chdev(mtd_dev); in open_mtd_device()
|
| /u-boot/arch/arm/mach-stm32mp/cmd_stm32prog/ |
| A D | stm32prog.c | 948 struct mtd_device *mtd_dev; in init_device() local 953 ret = find_dev_and_part(mtd_part_id, &mtd_dev, in init_device()
|
Completed in 29 milliseconds