Home
last modified time | relevance | path

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

/external/u-boot/include/
Ddfu.h143 void set_dfu_alt_info(char *interface, char *devstr);
145 int dfu_config_entities(char *s, char *interface, char *devstr);
155 int dfu_init_env_entities(char *interface, char *devstr);
206 extern int dfu_fill_entity_mmc(struct dfu_entity *dfu, char *devstr, char *s);
208 static inline int dfu_fill_entity_mmc(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_mmc() argument
217 extern int dfu_fill_entity_nand(struct dfu_entity *dfu, char *devstr, char *s);
219 static inline int dfu_fill_entity_nand(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_nand() argument
228 extern int dfu_fill_entity_ram(struct dfu_entity *dfu, char *devstr, char *s);
230 static inline int dfu_fill_entity_ram(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_ram() argument
239 extern int dfu_fill_entity_sf(struct dfu_entity *dfu, char *devstr, char *s);
[all …]
Dspl.h280 int spl_dfu_cmd(int usbctrl, char *dfu_alt_info, char *interface, char *devstr);
/external/u-boot/drivers/dfu/
Ddfu_sf.c68 static struct spi_flash *parse_dev(char *devstr) in parse_dev() argument
77 s = strsep(&devstr, ":"); in parse_dev()
83 s = strsep(&devstr, ":"); in parse_dev()
89 s = strsep(&devstr, ":"); in parse_dev()
98 s = strsep(&devstr, ":"); in parse_dev()
117 int dfu_fill_entity_sf(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_sf() argument
120 char *devstr_bkup = strdup(devstr); in dfu_fill_entity_sf()
Ddfu.c55 int dfu_init_env_entities(char *interface, char *devstr) in dfu_init_env_entities() argument
62 set_dfu_alt_info(interface, devstr); in dfu_init_env_entities()
71 ret = dfu_config_entities(env_bkp, interface, devstr); in dfu_init_env_entities()
386 char *interface, char *devstr) in dfu_fill_entity() argument
390 debug("%s: %s interface: %s dev: %s\n", __func__, s, interface, devstr); in dfu_fill_entity()
400 if (dfu_fill_entity_mmc(dfu, devstr, s)) in dfu_fill_entity()
403 if (dfu_fill_entity_nand(dfu, devstr, s)) in dfu_fill_entity()
406 if (dfu_fill_entity_ram(dfu, devstr, s)) in dfu_fill_entity()
409 if (dfu_fill_entity_sf(dfu, devstr, s)) in dfu_fill_entity()
439 int dfu_config_entities(char *env, char *interface, char *devstr) in dfu_config_entities() argument
[all …]
Ddfu_mmc.c298 int dfu_fill_entity_mmc(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_mmc() argument
309 dfu->data.mmc.dev_num = simple_strtoul(devstr, NULL, 10); in dfu_fill_entity_mmc()
Ddfu_ram.c56 int dfu_fill_entity_ram(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_ram() argument
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.cc147 devstr.stream = &rstream_; in SetUp()
148 devstr.conv = NULL; in SetUp()
149 devstr.conv_buffer = NULL; in SetUp()
150 devstr.conv_buffer_size_frames = 0; in SetUp()
203 devstr.conv = (struct cras_fmt_conv *)0xdead; in SetUpFmtConv()
204 devstr.conv_buffer = in SetUpFmtConv()
206 devstr.conv_buffer_size_frames = kBufferFrames * 2; in SetUpFmtConv()
208 devstr.conv_area = (struct cras_audio_area*)calloc(1, in SetUpFmtConv()
210 devstr.conv_area->num_channels = 2; in SetUpFmtConv()
211 devstr.conv_area->channels[0].step_bytes = 4; in SetUpFmtConv()
[all …]
/external/u-boot/board/samsung/common/
Dexynos5-dt.c178 char *get_dfu_alt_system(char *interface, char *devstr) in get_dfu_alt_system() argument
188 char *get_dfu_alt_boot(char *interface, char *devstr) in get_dfu_alt_boot() argument
198 dev_num = simple_strtoul(devstr, NULL, 10); in get_dfu_alt_boot()
Dmisc.c39 void set_dfu_alt_info(char *interface, char *devstr) in set_dfu_alt_info() argument
51 alt_setting = get_dfu_alt_boot(interface, devstr); in set_dfu_alt_info()
57 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/cmd/
Dfpga.c46 char *devstr = env_get("fpga"); in do_fpga() local
64 if (devstr) in do_fpga()
65 dev = (int) simple_strtoul(devstr, NULL, 16); in do_fpga()
/external/u-boot/board/samsung/odroid/
Dodroid.c66 char *get_dfu_alt_system(char *interface, char *devstr) in get_dfu_alt_system() argument
71 char *get_dfu_alt_boot(char *interface, char *devstr) in get_dfu_alt_boot() argument
77 dev_num = simple_strtoul(devstr, NULL, 10); in get_dfu_alt_boot()