Home
last modified time | relevance | path

Searched refs:cInterface (Results 1 – 1 of 1) sorted by relevance

/external/libusb/libusb/os/
Ddarwin_usb.c178 struct darwin_interface *cInterface; in ep_to_pipeRef() local
185 cInterface = &priv->interfaces[iface]; in ep_to_pipeRef()
188 for (i = 0 ; i < cInterface->num_endpoints ; i++) { in ep_to_pipeRef()
189 if (cInterface->endpoint_addrs[i] == ep) { in ep_to_pipeRef()
196 *interface_out = cInterface; in ep_to_pipeRef()
1215 struct darwin_interface *cInterface = &priv->interfaces[iface]; in get_endpoints() local
1227 kresult = (*(cInterface->interface))->GetNumEndpoints(cInterface->interface, &numep); in get_endpoints()
1235 …kresult = (*(cInterface->interface))->GetPipeProperties(cInterface->interface, i, &direction, &num… in get_endpoints()
1244 … kresult = (*(cInterface->interface))->GetAlternateSetting (cInterface->interface, &alt_setting); in get_endpoints()
1257 cInterface->endpoint_addrs[i - 1] = endpoint_desc->bEndpointAddress; in get_endpoints()
[all …]