Lines Matching refs:dataOutEp
190 acm->dataOutEp = OsalMemAlloc(sizeof(struct UsbEndpoint));
191 if (acm->dataOutEp == NULL) {
192 HDF_LOGE("%{public}s:%{public}d allocate dataOutEp failed", __func__, __LINE__);
195 acm->dataOutEp->addr = endPoint->endpointDescriptor.bEndpointAddress;
196 acm->dataOutEp->interval = endPoint->endpointDescriptor.bInterval;
197 acm->dataOutEp->maxPacketSize = endPoint->endpointDescriptor.wMaxPacketSize;
278 if (acm->dataOutEp) {
279 OsalMemFree(acm->dataOutEp);
280 acm->dataOutEp = NULL;
290 snd->request = UsbRawAllocRequest(acm->devHandle, 0, acm->dataOutEp->maxPacketSize);
375 if ((acm == NULL) || (wb == NULL) || (acm->dataOutEp == NULL) || (acm->devHandle == NULL) ||
382 reqData.endPoint = acm->dataOutEp->addr;
413 wb->buf = OsalMemCalloc(acm->dataOutEp->maxPacketSize);
756 if (acm->dataOutEp != NULL) {
757 size = (size > acm->dataOutEp->maxPacketSize) ? acm->dataOutEp->maxPacketSize : size;
758 if (memcpy_s(wb->buf, acm->dataOutEp->maxPacketSize, tmp, size) != EOK) {
777 requestData.endPoint = acm->dataOutEp->addr;
832 if (acm->dataOutEp == NULL) {
835 size = (size > acm->dataOutEp->maxPacketSize) ? acm->dataOutEp->maxPacketSize : size;
836 if (memcpy_s(wb->buf, acm->dataOutEp->maxPacketSize, tmp, size) != EOK) {