Home
last modified time | relevance | path

Searched refs:devstr (Results 1 – 17 of 17) sorted by relevance

/external/u-boot/include/
Ddfu.h162 void set_dfu_alt_info(char *interface, char *devstr);
165 int dfu_alt_add(struct dfu_entity *dfu, char *interface, char *devstr, char *s);
166 int dfu_config_entities(char *s, char *interface, char *devstr);
176 int dfu_init_env_entities(char *interface, char *devstr);
249 extern int dfu_fill_entity_mmc(struct dfu_entity *dfu, char *devstr, char *s);
251 static inline int dfu_fill_entity_mmc(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_mmc() argument
260 extern int dfu_fill_entity_nand(struct dfu_entity *dfu, char *devstr, char *s);
262 static inline int dfu_fill_entity_nand(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_nand() argument
271 extern int dfu_fill_entity_ram(struct dfu_entity *dfu, char *devstr, char *s);
273 static inline int dfu_fill_entity_ram(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_ram() argument
[all …]
Dspl.h415 int spl_dfu_cmd(int usbctrl, char *dfu_alt_info, char *interface, char *devstr);
/external/u-boot/drivers/dfu/
Ddfu.c120 int dfu_init_env_entities(char *interface, char *devstr) in dfu_init_env_entities() argument
127 set_dfu_alt_info(interface, devstr); in dfu_init_env_entities()
136 if (!interface && !devstr) in dfu_init_env_entities()
139 ret = dfu_config_entities(env_bkp, interface, devstr); in dfu_init_env_entities()
468 char *interface, char *devstr) in dfu_fill_entity() argument
472 debug("%s: %s interface: %s dev: %s\n", __func__, s, interface, devstr); in dfu_fill_entity()
482 if (dfu_fill_entity_mmc(dfu, devstr, s)) in dfu_fill_entity()
485 if (dfu_fill_entity_mtd(dfu, devstr, s)) in dfu_fill_entity()
488 if (dfu_fill_entity_nand(dfu, devstr, s)) in dfu_fill_entity()
491 if (dfu_fill_entity_ram(dfu, devstr, s)) in dfu_fill_entity()
[all …]
Ddfu_sf.c92 static struct spi_flash *parse_dev(char *devstr) in parse_dev() argument
101 s = strsep(&devstr, ":"); in parse_dev()
107 s = strsep(&devstr, ":"); in parse_dev()
113 s = strsep(&devstr, ":"); in parse_dev()
122 s = strsep(&devstr, ":"); in parse_dev()
141 int dfu_fill_entity_sf(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_sf() argument
144 char *devstr_bkup = strdup(devstr); in dfu_fill_entity_sf()
Ddfu_virt.c34 int dfu_fill_entity_virt(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_virt() argument
36 debug("%s: devstr = %s\n", __func__, devstr); in dfu_fill_entity_virt()
40 dfu->data.virt.dev_num = simple_strtoul(devstr, NULL, 10); in dfu_fill_entity_virt()
Ddfu_mtd.c236 int dfu_fill_entity_mtd(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_mtd() argument
243 mtd = get_mtd_device_nm(devstr); in dfu_fill_entity_mtd()
270 sprintf(mtd_id, "%s,%d", devstr, part - 1); in dfu_fill_entity_mtd()
Ddfu_ram.c56 int dfu_fill_entity_ram(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_ram() argument
Ddfu_mmc.c293 int dfu_fill_entity_mmc(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_mmc() argument
304 dfu->data.mmc.dev_num = simple_strtoul(devstr, NULL, 10); in dfu_fill_entity_mmc()
Ddfu_nand.c191 int dfu_fill_entity_nand(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_nand() argument
/external/adhd/cras/src/tests/
Ddev_stream_unittest.cc157 devstr.stream = &rstream_; in SetUp()
158 devstr.conv = NULL; in SetUp()
159 devstr.conv_buffer = NULL; in SetUp()
160 devstr.conv_buffer_size_frames = 0; in SetUp()
228 devstr.conv = (struct cras_fmt_conv*)0xdead; in SetUpFmtConv()
229 devstr.conv_buffer = in SetUpFmtConv()
231 devstr.conv_buffer_size_frames = kBufferFrames * 2; in SetUpFmtConv()
233 devstr.conv_area = (struct cras_audio_area*)calloc( in SetUpFmtConv()
235 devstr.conv_area->num_channels = 2; in SetUpFmtConv()
236 devstr.conv_area->channels[0].step_bytes = 4; in SetUpFmtConv()
[all …]
/external/u-boot/board/samsung/common/
Dexynos5-dt.c150 char *get_dfu_alt_system(char *interface, char *devstr) in get_dfu_alt_system() argument
160 char *get_dfu_alt_boot(char *interface, char *devstr) in get_dfu_alt_boot() argument
170 dev_num = simple_strtoul(devstr, NULL, 10); in get_dfu_alt_boot()
Dmisc.c41 void set_dfu_alt_info(char *interface, char *devstr) in set_dfu_alt_info() argument
53 alt_setting = get_dfu_alt_boot(interface, devstr); in set_dfu_alt_info()
59 alt_setting = get_dfu_alt_system(interface, devstr); in set_dfu_alt_info()
/external/u-boot/include/samsung/
Dmisc.h32 char *get_dfu_alt_system(char *interface, char *devstr);
33 char *get_dfu_alt_boot(char *interface, char *devstr);
/external/u-boot/common/spl/
Dspl_dfu.c35 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()
/external/u-boot/board/samsung/odroid/
Dodroid.c75 char *get_dfu_alt_system(char *interface, char *devstr) in get_dfu_alt_system() argument
80 char *get_dfu_alt_boot(char *interface, char *devstr) in get_dfu_alt_boot() argument
86 dev_num = simple_strtoul(devstr, NULL, 10); in get_dfu_alt_boot()
/external/u-boot/cmd/
Dfpga.c21 char *devstr = env_get("fpga"); in do_fpga_get_device() local
23 if (devstr) in do_fpga_get_device()
25 dev = simple_strtol(devstr, NULL, 16); in do_fpga_get_device()
/external/u-boot/board/st/stm32mp1/
Dstm32mp1.c962 void set_dfu_alt_info(char *interface, char *devstr) in set_dfu_alt_info() argument