HomeSort by relevance Sort by last modified time
    Searched refs:usb_interface (Results 1 - 7 of 7) sorted by null

  /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/libusb_aah/libusb/
descriptor.c 158 static void clear_interface(struct libusb_interface *usb_interface)
163 if (usb_interface->altsetting) {
164 for (i = 0; i < usb_interface->num_altsetting; i++) {
167 usb_interface->altsetting + i;
177 free((void *) usb_interface->altsetting);
178 usb_interface->altsetting = NULL;
184 struct libusb_interface *usb_interface, unsigned char *buffer, int size,
196 usb_interface->num_altsetting = 0;
200 (struct libusb_interface_descriptor *) usb_interface->altsetting;
203 (usb_interface->num_altsetting + 1))
341 struct libusb_interface *usb_interface; local
    [all...]
  /external/libusb_aah/libusb/os/
windows_usb.c 564 safe_free(priv->usb_interface[iface].endpoint);
571 priv->usb_interface[iface].endpoint = (uint8_t*) calloc(1, if_desc->bNumEndpoints);
572 if (priv->usb_interface[iface].endpoint == NULL) {
576 priv->usb_interface[iface].nb_endpoints = if_desc->bNumEndpoints;
578 priv->usb_interface[iface].endpoint[i] = if_desc->endpoint[i].bEndpointAddress;
579 usbi_dbg("(re)assigned endpoint %02X to interface %d", priv->usb_interface[iface].endpoint[i], iface);
634 if ( (priv->usb_interface[current_interface].apib->id == api_type)
    [all...]
windows_usb.h 166 } usb_interface[USB_MAXINTERFACES]; member in struct:windows_device_priv
190 p->usb_interface[i].path = NULL;
191 p->usb_interface[i].apib = &usb_api_backend[USB_API_UNSUPPORTED];
192 p->usb_interface[i].nb_endpoints = 0;
193 p->usb_interface[i].endpoint = NULL;
207 safe_free(p->usb_interface[i].path);
208 safe_free(p->usb_interface[i].endpoint);
  /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/libusb-compat/examples/
testlibusb.c 39 void print_interface(struct usb_interface *interface)

Completed in 226 milliseconds