Searched defs:config (Results 1 - 4 of 4) sorted by last modified time

/system/core/adb/
H A Dusb_libusb.c307 check_usb_interfaces(libusb_config_descriptor *config, argument
312 for (i = 0; i < config->bNumInterfaces; ++i) {
313 if (check_usb_interface(&config->interface[i], desc, uh) != -1) {
386 libusb_config_descriptor *config = NULL; local
420 r = libusb_get_active_config_descriptor(dev, &config);
434 if (config == NULL) {
436 "getting active config\n");
440 if (config->interface != NULL) {
441 found = check_usb_interfaces(config, &desc, &uh);
445 libusb_free_config_descriptor(config);
[all...]
H A Dusb_linux.c157 struct usb_config_descriptor* config; local
199 // should have config descriptor next
200 config = (struct usb_config_descriptor *)bufptr;
202 if (config->bLength != USB_DT_CONFIG_SIZE || config->bDescriptorType != USB_DT_CONFIG) {
/system/core/include/usbhost/
H A Dusbhost.h37 unsigned char* config; member in struct:usb_descriptor_iter
/system/extras/sound/
H A Dplaywav.c40 struct msm_audio_config config; local
52 if(ioctl(afd, AUDIO_GET_CONFIG, &config)) {
53 perror("could not get config");
57 config.channel_count = channels;
58 config.sample_rate = rate;
59 if (ioctl(afd, AUDIO_SET_CONFIG, &config)) {
60 perror("could not set config");
63 sz = config.buffer_size;
70 for (n = 0; n < config.buffer_count; n++) {
229 /* config chang
[all...]

Completed in 21 milliseconds