Home
last modified time | relevance | path

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

/device/google/accessory/arduino/AndroidAccessory/
DAndroidAccessory.cpp115 bool AndroidAccessory::findEndpoints(byte addr, EP_RECORD *inEp, EP_RECORD *outEp) in findEndpoints() argument
143 outEp->epAddr = 0; in findEndpoints()
163 else if (!outEp->epAddr) in findEndpoints()
164 ep = outEp; in findEndpoints()
186 if (!(inEp->epAddr && outEp->epAddr)) in findEndpoints()
189 return inEp->epAddr && outEp->epAddr; in findEndpoints()
195 EP_RECORD inEp, outEp; in configureAndroid() local
197 if (!findEndpoints(1, &inEp, &outEp)) in configureAndroid()
203 if (outEp.epAddr != inEp.epAddr) in configureAndroid()
204 epRecord[outEp.epAddr] = outEp; in configureAndroid()
[all …]
DAndroidAccessory.h50 bool findEndpoints(byte addr, EP_RECORD *inEp, EP_RECORD *outEp);