Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/bcm63xx/
H A Ddev-flash.c49 static struct platform_device mtd_dev = { variable
119 return platform_device_register(&mtd_dev); in bcm63xx_flash_register()
/openbmc/u-boot/cmd/
H 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()
H A Dmtdparts.c306 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()
/openbmc/u-boot/drivers/dfu/
H A 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()
/openbmc/u-boot/drivers/mtd/ubi/
H A 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()
/openbmc/linux/drivers/mtd/ubi/
H A Dbuild.c1153 static struct mtd_info * __init open_mtd_by_chdev(const char *mtd_dev) in open_mtd_by_chdev() argument
1160 err = kern_path(mtd_dev, LOOKUP_FOLLOW, &path); in open_mtd_by_chdev()
1195 static struct mtd_info * __init open_mtd_device(const char *mtd_dev) in open_mtd_device() argument
1201 mtd_num = simple_strtoul(mtd_dev, &endp, 0); in open_mtd_device()
1202 if (*endp != '\0' || mtd_dev == endp) { in open_mtd_device()
1207 mtd = get_mtd_device_nm(mtd_dev); in open_mtd_device()
1210 mtd = open_mtd_by_chdev(mtd_dev); in open_mtd_device()