Searched refs:mtd_id (Results 1 – 8 of 8) sorted by relevance
/u-boot/cmd/ |
A D | mtdparts.c | 848 const char *mtd_id; in device_parse() local 867 mtd_id = p = mtd_dev; in device_parse() 872 mtd_id_len = p - mtd_id + 1; in device_parse() 884 id->num, id->mtd_id); in device_parse() 1024 id->mtd_id, strlen(id->mtd_id)); in id_find_by_mtd_id() 1028 if (strncmp(id->mtd_id, mtd_id, mtd_id_len) == 0) in id_find_by_mtd_id() 1616 const char *mtd_id; local 1655 mtd_id = p; 1657 mtd_id_len = p - mtd_id + 1; 1692 strncpy(id->mtd_id, mtd_id, mtd_id_len - 1); [all …]
|
A D | jffs2.c | 361 id->mtd_id = "single part"; in mtdparts_init() 379 id->type, id->num, id->size, id->mtd_id); in mtdparts_init() 440 dev->id->num, dev->id->mtd_id); in jffs2_part_info() 445 dev->id->num, dev->id->mtd_id); in jffs2_part_info()
|
/u-boot/drivers/mtd/ |
A D | mtd_uboot.c | 61 const char *mtdids, *equal, *comma, *dev_id, *mtd_id; in mtd_search_alternate_name() local 75 mtd_id = equal + 1; in mtd_search_alternate_name() 80 mtd_id_len = comma - mtd_id; in mtd_search_alternate_name() 82 mtd_id_len = &mtdids[strlen(mtdids)] - mtd_id + 1; in mtd_search_alternate_name() 91 if (!strncmp(mtdname, mtd_id, mtd_id_len)) { in mtd_search_alternate_name()
|
/u-boot/drivers/dfu/ |
A D | dfu_nand.c | 211 char mtd_id[32]; in dfu_fill_entity_nand() local 222 sprintf(mtd_id, "%s%d,%d", "nand", dev, part - 1); in dfu_fill_entity_nand() 223 debug("using id '%s'\n", mtd_id); in dfu_fill_entity_nand() 227 ret = find_dev_and_part(mtd_id, &mtd_dev, &part_num, &pi); in dfu_fill_entity_nand() 229 printf("Could not locate '%s'\n", mtd_id); in dfu_fill_entity_nand()
|
A D | dfu_sf.c | 163 char mtd_id[32]; in dfu_fill_entity_sf() local 175 sprintf(mtd_id, "%s%d,%d", "nor", dev, part - 1); in dfu_fill_entity_sf() 176 printf("using id '%s'\n", mtd_id); in dfu_fill_entity_sf() 180 ret = find_dev_and_part(mtd_id, &mtd_dev, &part_num, &pi); in dfu_fill_entity_sf() 182 printf("Could not locate '%s'\n", mtd_id); in dfu_fill_entity_sf()
|
A D | dfu_mtd.c | 276 char mtd_id[32]; in dfu_fill_entity_mtd() local 285 sprintf(mtd_id, "%s,%d", devstr, part - 1); in dfu_fill_entity_mtd() 286 printf("using id '%s'\n", mtd_id); in dfu_fill_entity_mtd() 290 ret = find_dev_and_part(mtd_id, &mtd_dev, &part_num, &pi); in dfu_fill_entity_mtd() 292 printf("Could not locate '%s'\n", mtd_id); in dfu_fill_entity_mtd()
|
/u-boot/include/jffs2/ |
A D | load_kernel.h | 49 char *mtd_id; /* linux kernel device id */ member
|
/u-boot/arch/arm/mach-stm32mp/cmd_stm32prog/ |
A D | stm32prog.c | 549 char mtd_id[16]; in init_device() local 601 get_mtd_by_target(mtd_id, dev->target, dev->dev_id); in init_device() 602 log_debug("%s\n", mtd_id); in init_device() 605 mtd = get_mtd_device_nm(mtd_id); in init_device() 607 stm32prog_err("MTD device %s not found", mtd_id); in init_device() 614 mtd_id, mtd->size, mtd->erasesize); in init_device() 756 sprintf(mtd_part_id, "%s,%d", mtd_id, in init_device()
|
Completed in 12 milliseconds