Lines Matching defs:endPoint
228 static int32_t UsbGetBulkEndpoint(struct AcmDevice * const acm, const struct UsbRawEndpointDescriptor *endPoint)
230 if ((endPoint->endpointDescriptor.bEndpointAddress & USB_DDK_ENDPOINT_DIR_MASK) == USB_DDK_DIR_IN) {
237 acm->dataInEp->addr = endPoint->endpointDescriptor.bEndpointAddress;
238 acm->dataInEp->interval = endPoint->endpointDescriptor.bInterval;
239 acm->dataInEp->maxPacketSize = endPoint->endpointDescriptor.wMaxPacketSize;
247 acm->dataOutEp->addr = endPoint->endpointDescriptor.bEndpointAddress;
248 acm->dataOutEp->interval = endPoint->endpointDescriptor.bInterval;
249 acm->dataOutEp->maxPacketSize = endPoint->endpointDescriptor.wMaxPacketSize;
270 acm->notifyEp->addr = interface->altsetting->endPoint[0].endpointDescriptor.bEndpointAddress;
271 acm->notifyEp->interval = interface->altsetting->endPoint[0].endpointDescriptor.bInterval;
272 acm->notifyEp->maxPacketSize = interface->altsetting->endPoint[0].endpointDescriptor.wMaxPacketSize;
277 const struct UsbRawEndpointDescriptor *endPoint = &interface->altsetting->endPoint[j];
278 if (UsbGetBulkEndpoint(acm, endPoint) != HDF_SUCCESS) {
323 reqData.endPoint = acm->dataEp->addr;
495 reqData.endPoint = acm->dataEp->addr;