Searched refs:config (Results 1 - 5 of 5) sorted by relevance
/system/extras/sound/ |
H A D | playwav.c | 40 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...] |
/system/core/adb/ |
H A D | usb_libusb.c | 307 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 D | usb_linux.c | 157 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 D | usbhost.h | 37 unsigned char* config; member in struct:usb_descriptor_iter
|
/system/core/libusbhost/ |
H A D | usbhost.c | 464 iter->config = device->desc;
|
Completed in 553 milliseconds