/external/kernel-headers/original/linux/ |
usb.h | 90 * struct usb_interface - what usb device drivers talk to 133 struct usb_interface { struct 148 #define to_usb_interface(d) container_of(d, struct usb_interface, dev) 152 static inline void *usb_get_intfdata (struct usb_interface *intf) 157 static inline void usb_set_intfdata (struct usb_interface *intf, void *data) 162 struct usb_interface *usb_get_intf(struct usb_interface *intf); 163 void usb_put_intf(struct usb_interface *intf); 177 * struct usb_interface (which persists only as long as its configuration 200 * @interface: array of pointers to usb_interface structures, one for eac [all...] |
/external/chromium_org/third_party/libusb/src/libusb/os/ |
windows_usb.c | 667 safe_free(priv->usb_interface[iface].endpoint); 674 priv->usb_interface[iface].endpoint = (uint8_t*) malloc(if_desc->bNumEndpoints); 675 if (priv->usb_interface[iface].endpoint == NULL) { 679 priv->usb_interface[iface].nb_endpoints = if_desc->bNumEndpoints; 681 priv->usb_interface[iface].endpoint[i] = if_desc->endpoint[i].bEndpointAddress; 682 usbi_dbg("(re)assigned endpoint %02X to interface %d", priv->usb_interface[iface].endpoint[i], iface); 741 if ( (priv->usb_interface[current_interface].apib->id == api_type) [all...] |
windows_usb.h | 223 } usb_interface[USB_MAXINTERFACES]; member in struct:windows_device_priv 247 p->usb_interface[i].path = NULL; 248 p->usb_interface[i].apib = &usb_api_backend[USB_API_UNSUPPORTED]; 249 p->usb_interface[i].sub_api = SUB_API_NOTSET; 250 p->usb_interface[i].nb_endpoints = 0; 251 p->usb_interface[i].endpoint = NULL; 252 p->usb_interface[i].restricted_functionality = false; 267 safe_free(p->usb_interface[i].path); 268 safe_free(p->usb_interface[i].endpoint);
|
/external/chromium_org/third_party/libusb/src/libusb/ |
descriptor.c | 189 static void clear_interface(struct libusb_interface *usb_interface) 194 if (usb_interface->altsetting) { 195 for (i = 0; i < usb_interface->num_altsetting; i++) { 198 usb_interface->altsetting + i; 208 free((void *) usb_interface->altsetting); 209 usb_interface->altsetting = NULL; 215 struct libusb_interface *usb_interface, unsigned char *buffer, int size, 228 usb_interface->num_altsetting = 0; 232 (struct libusb_interface_descriptor *) usb_interface->altsetting; 235 (usb_interface->num_altsetting + 1)) 384 struct libusb_interface *usb_interface; local [all...] |
/external/libusb-compat/libusb/ |
usb.h | 149 struct usb_interface { struct 167 struct usb_interface *interface;
|
core.c | 367 static void clear_interface(struct usb_interface *iface) 446 static int copy_interface(struct usb_interface *dest, 477 size_t alloc_size = sizeof(struct usb_interface) * num_interfaces;
|
/external/chromium_org/content/browser/gamepad/ |
xbox_data_fetcher_mac.cc | 252 io_service_t usb_interface = IOIteratorNext(iter); local 253 if (!usb_interface) 261 kr = IOCreatePlugInInterfaceForService(usb_interface, 275 IOObjectRelease(usb_interface); 276 } while ((usb_interface = IOIteratorNext(iter)));
|
/external/libusb-compat/examples/ |
testlibusb.c | 39 void print_interface(struct usb_interface *interface)
|
/external/chromium_org/chrome/browser/extensions/api/usb/ |
usb_api.cc | 762 usb_interface(config->GetInterface(i)); 763 for (size_t j = 0, num_descriptors = usb_interface->GetNumAltSettings(); 766 = usb_interface->GetAltSetting(j); [all...] |