Home
last modified time | relevance | path

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

/external/u-boot/test/py/tests/
Dtest_dfu.py199 def run_dfu_util(alt_setting, fn, up_dn_load_arg): argument
213 cmd = ['dfu-util', '-a', alt_setting, up_dn_load_arg, fn]
219 def dfu_write(alt_setting, fn): argument
231 run_dfu_util(alt_setting, fn, '-D')
233 def dfu_read(alt_setting, fn): argument
248 run_dfu_util(alt_setting, fn, '-U')
/external/u-boot/board/samsung/common/
Dmisc.c45 char *alt_setting; in set_dfu_alt_info() local
51 alt_setting = get_dfu_alt_boot(interface, devstr); in set_dfu_alt_info()
52 if (alt_setting) { in set_dfu_alt_info()
53 env_set("dfu_alt_boot", alt_setting); in set_dfu_alt_info()
54 offset = snprintf(buf, buf_size, "%s", alt_setting); in set_dfu_alt_info()
57 alt_setting = get_dfu_alt_system(interface, devstr); in set_dfu_alt_info()
58 if (alt_setting) { in set_dfu_alt_info()
65 "%s%s", alt_sep, alt_setting); in set_dfu_alt_info()
/external/libusb/libusb/os/
Ddarwin_usb.c1242 UInt8 alt_setting; in get_endpoints() local
1244 … kresult = (*(cInterface->interface))->GetAlternateSetting (cInterface->interface, &alt_setting); in get_endpoints()
1255 endpoint_desc = config->interface[iface].altsetting[alt_setting].endpoint + i - 1; in get_endpoints()