• Home
  • Raw
  • Download

Lines Matching refs:interface

61     IOUSBInterfaceInterface190 **interface;  member
73 IOUSBInterfaceInterface190 **interface = NULL; in try_interfaces() local
124 (LPVOID) &interface); in try_interfaces()
129 if (result || !interface) { in try_interfaces()
153 kr = (*interface)->USBInterfaceOpen(interface); in try_interfaces()
157 (void) (*interface)->Release(interface); in try_interfaces()
163 kr = (*interface)->GetNumEndpoints(interface, &interfaceNumEndpoints); in try_interfaces()
171 if ((*interface)->GetInterfaceClass(interface, &handle->info.ifc_class) != 0 || in try_interfaces()
172 (*interface)->GetInterfaceSubClass(interface, &handle->info.ifc_subclass) != 0 || in try_interfaces()
173 (*interface)->GetInterfaceProtocol(interface, &handle->info.ifc_protocol) != 0) in try_interfaces()
191 kr = (*interface)->GetPipeProperties(interface, endpoint, in try_interfaces()
221 handle->interface = interface; in try_interfaces()
231 kr = (*interface)->ClearPipeStallBothEnds(interface, in try_interfaces()
239 kr = (*interface)->ClearPipeStallBothEnds(interface, in try_interfaces()
250 (*interface)->USBInterfaceClose(interface); in try_interfaces()
251 (*interface)->Release(interface); in try_interfaces()
487 if (h->interface == NULL) { in usb_read()
497 result = (*h->interface)->ReadPipe( in usb_read()
498 h->interface, h->bulkIn, data, &numBytes); in usb_read()
520 if (h->interface == NULL) { in usb_write()
531 result = (*h->interface)->WritePipe( in usb_write()
532 h->interface, h->bulkOut, (void *)data, len); in usb_write()
545 result = (*h->interface)->WritePipe( in usb_write()
546 h->interface, h->bulkOut, (void *)data, lenToSend); in usb_write()
558 result = (*h->interface)->WritePipe( in usb_write()
559 h->interface, h->bulkOut, (void *)data, 0); in usb_write()