Home
last modified time | relevance | path

Searched refs:mtd_id_parse (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/cmd/
H A Dflash.c18 int mtd_id_parse(const char *id, const char **ret_id, u8 *dev_type, u8 *dev_num);
337 if ((argc == 2) && (mtd_id_parse(argv[1], NULL, &dev_type, &dev_num) == 0)) { in do_flerase()
515 if ((argc == 3) && (mtd_id_parse(argv[2], NULL, &dev_type, &dev_num) == 0)) { in do_protect()
H A Djffs2.c202 static int mtd_id_parse(const char *id, const char **ret_id, u8 *dev_type, u8 *dev_num) in mtd_id_parse() function
365 if ((mtd_id_parse(dev_name, NULL, &id->type, &id->num) != 0) || in mtdparts_init()
H A Dmtdparts.c1042 int mtd_id_parse(const char *id, const char **ret_id, u8 *dev_type, in mtd_id_parse() function
1372 if (mtd_id_parse(p, &p, &type, &dnum) != 0)
1638 if (mtd_id_parse(p, &p, &type, &num) != 0)
2001 if (mtd_id_parse(argv[2], NULL, &type, &num) != 0)