Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/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 Dubi.c479 char mtd_dev[16]; in ubi_part() local
493 sprintf(mtd_dev, "%s%d", MTD_DEV_TYPE(dev->id->type), dev->id->num); in ubi_part()
494 ubi_dev.mtd_info = get_mtd_device_nm(mtd_dev); in ubi_part()
497 mtd_dev); in ubi_part()
H A Dmtdparts.c307 char mtd_dev[16]; in get_mtd_info() local
309 sprintf(mtd_dev, "%s%d", MTD_DEV_TYPE(type), num); in get_mtd_info()
310 *mtd = get_mtd_device_nm(mtd_dev); in get_mtd_info()
312 printf("Device %s not found!\n", mtd_dev); in get_mtd_info()
841 static int device_parse(const char *const mtd_dev, const char **ret, struct mtd_device **retdev) in device_parse() argument
865 mtd_id = p = mtd_dev; in device_parse()
/OK3568_Linux_fs/u-boot/drivers/mtd/ubi/
H A Dbuild.c1178 static struct mtd_info * __init open_mtd_by_chdev(const char *mtd_dev) in open_mtd_by_chdev() argument
1184 err = kern_path(mtd_dev, LOOKUP_FOLLOW, &path); in open_mtd_by_chdev()
1217 static struct mtd_info * __init open_mtd_device(const char *mtd_dev) in open_mtd_device() argument
1223 mtd_num = simple_strtoul(mtd_dev, &endp, 0); in open_mtd_device()
1224 if (*endp != '\0' || mtd_dev == endp) { in open_mtd_device()
1229 mtd = get_mtd_device_nm(mtd_dev); in open_mtd_device()
1233 mtd = open_mtd_by_chdev(mtd_dev); in open_mtd_device()
/OK3568_Linux_fs/kernel/drivers/mtd/ubi/
H A Dbuild.c1124 static struct mtd_info * __init open_mtd_by_chdev(const char *mtd_dev) in open_mtd_by_chdev() argument
1131 err = kern_path(mtd_dev, LOOKUP_FOLLOW, &path); in open_mtd_by_chdev()
1166 static struct mtd_info * __init open_mtd_device(const char *mtd_dev) in open_mtd_device() argument
1172 mtd_num = simple_strtoul(mtd_dev, &endp, 0); in open_mtd_device()
1173 if (*endp != '\0' || mtd_dev == endp) { in open_mtd_device()
1178 mtd = get_mtd_device_nm(mtd_dev); in open_mtd_device()
1181 mtd = open_mtd_by_chdev(mtd_dev); in open_mtd_device()
/OK3568_Linux_fs/u-boot/drivers/dfu/
H A Ddfu_nand.c209 struct mtd_device *mtd_dev; in dfu_fill_entity_nand() local
224 ret = find_dev_and_part(mtd_id, &mtd_dev, &part_num, &pi); in dfu_fill_entity_nand()