| /u-boot/include/ |
| A D | dfu.h | 176 void set_dfu_alt_info(char *interface, char *devstr); 215 int dfu_config_entities(char *s, char *interface, char *devstr); 298 int dfu_init_env_entities(char *interface, char *devstr); 433 static inline int dfu_fill_entity_mmc(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_mmc() argument 444 static inline int dfu_fill_entity_nand(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_nand() argument 455 static inline int dfu_fill_entity_ram(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_ram() argument 466 static inline int dfu_fill_entity_sf(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_sf() argument 475 int dfu_fill_entity_mtd(struct dfu_entity *dfu, char *devstr, char *s); 477 static inline int dfu_fill_entity_mtd(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_mtd() argument 486 int dfu_fill_entity_virt(struct dfu_entity *dfu, char *devstr, char *s); [all …]
|
| A D | spl.h | 555 int spl_dfu_cmd(int usbctrl, char *dfu_alt_info, char *interface, char *devstr);
|
| /u-boot/drivers/dfu/ |
| A D | dfu_virt.c | 35 int dfu_fill_entity_virt(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_virt() argument 37 debug("%s: devstr = %s\n", __func__, devstr); in dfu_fill_entity_virt() 41 dfu->data.virt.dev_num = simple_strtoul(devstr, NULL, 10); in dfu_fill_entity_virt()
|
| A D | dfu.c | 138 int dfu_init_env_entities(char *interface, char *devstr) in dfu_init_env_entities() argument 147 set_dfu_alt_info(interface, devstr); in dfu_init_env_entities() 156 if (!interface && !devstr) in dfu_init_env_entities() 488 char *interface, char *devstr) in dfu_fill_entity() argument 502 if (dfu_fill_entity_mmc(dfu, devstr, s)) in dfu_fill_entity() 505 if (dfu_fill_entity_mtd(dfu, devstr, s)) in dfu_fill_entity() 508 if (dfu_fill_entity_nand(dfu, devstr, s)) in dfu_fill_entity() 511 if (dfu_fill_entity_ram(dfu, devstr, s)) in dfu_fill_entity() 514 if (dfu_fill_entity_sf(dfu, devstr, s)) in dfu_fill_entity() 517 if (dfu_fill_entity_virt(dfu, devstr, s)) in dfu_fill_entity() [all …]
|
| A D | dfu_sf.c | 93 static struct spi_flash *parse_dev(char *devstr) in parse_dev() argument 102 s = strsep(&devstr, ":"); in parse_dev() 108 s = strsep(&devstr, ":"); in parse_dev() 114 s = strsep(&devstr, ":"); in parse_dev() 123 s = strsep(&devstr, ":"); in parse_dev() 142 int dfu_fill_entity_sf(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_sf() argument 145 char *devstr_bkup = strdup(devstr); in dfu_fill_entity_sf()
|
| A D | dfu_mtd.c | 251 int dfu_fill_entity_mtd(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_mtd() argument 258 mtd = get_mtd_device_nm(devstr); in dfu_fill_entity_mtd() 285 sprintf(mtd_id, "%s,%d", devstr, part - 1); in dfu_fill_entity_mtd()
|
| A D | dfu_ram.c | 57 int dfu_fill_entity_ram(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_ram() argument
|
| A D | dfu_mmc.c | 340 int dfu_fill_entity_mmc(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_mmc() argument 351 dfu->data.mmc.dev_num = simple_strtoul(devstr, NULL, 10); in dfu_fill_entity_mmc()
|
| A D | dfu_nand.c | 197 int dfu_fill_entity_nand(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_nand() argument
|
| /u-boot/include/samsung/ |
| A D | misc.h | 32 char *get_dfu_alt_system(char *interface, char *devstr); 33 char *get_dfu_alt_boot(char *interface, char *devstr);
|
| /u-boot/common/spl/ |
| A D | spl_dfu.c | 35 int spl_dfu_cmd(int usbctrl, char *dfu_alt_info, char *interface, char *devstr) in spl_dfu_cmd() argument 55 return run_dfu(usbctrl, interface, devstr); in spl_dfu_cmd()
|
| /u-boot/board/samsung/common/ |
| A D | exynos5-dt.c | 152 char *get_dfu_alt_system(char *interface, char *devstr) in get_dfu_alt_system() argument 162 char *get_dfu_alt_boot(char *interface, char *devstr) in get_dfu_alt_boot() argument 172 dev_num = simple_strtoul(devstr, NULL, 10); in get_dfu_alt_boot()
|
| A D | misc.c | 43 void set_dfu_alt_info(char *interface, char *devstr) in set_dfu_alt_info() argument 55 alt_setting = get_dfu_alt_boot(interface, devstr); in set_dfu_alt_info() 61 alt_setting = get_dfu_alt_system(interface, devstr); in set_dfu_alt_info()
|
| /u-boot/arch/arm/mach-stm32mp/cmd_stm32prog/ |
| A D | stm32prog.c | 1004 char devstr[10]; in stm32prog_alt_add() local 1078 sprintf(devstr, "%d", part->dev_id); in stm32prog_alt_add() 1093 sprintf(devstr, "0"); in stm32prog_alt_add() 1103 ret = dfu_alt_add(dfu, dfustr, devstr, buf); in stm32prog_alt_add() 1105 dfustr, devstr, buf, ret); in stm32prog_alt_add() 1114 char devstr[4]; in stm32prog_alt_add_virt() local 1117 sprintf(devstr, "%d", phase); in stm32prog_alt_add_virt() 1119 ret = dfu_alt_add(dfu, "virt", devstr, buf); in stm32prog_alt_add_virt() 1550 char devstr[10]; in part_delete() local 1596 printf("on %s: ", devstr); in part_delete() [all …]
|
| /u-boot/board/emulation/common/ |
| A D | qemu_dfu.c | 41 void set_dfu_alt_info(char *interface, char *devstr) in set_dfu_alt_info() argument
|
| /u-boot/cmd/ |
| A D | fpga.c | 23 char *devstr = env_get("fpga"); in do_fpga_get_device() local 25 if (devstr) in do_fpga_get_device() 27 dev = simple_strtol(devstr, NULL, 16); in do_fpga_get_device()
|
| /u-boot/board/samsung/odroid/ |
| A D | odroid.c | 77 char *get_dfu_alt_system(char *interface, char *devstr) in get_dfu_alt_system() argument 82 char *get_dfu_alt_boot(char *interface, char *devstr) in get_dfu_alt_boot() argument 88 dev_num = simple_strtoul(devstr, NULL, 10); in get_dfu_alt_boot()
|
| /u-boot/board/st/common/ |
| A D | stm32mp_dfu.c | 103 void set_dfu_alt_info(char *interface, char *devstr) in set_dfu_alt_info() argument
|