Home
last modified time | relevance | path

Searched refs:notifyEp (Results 1 - 12 of 12) sorted by relevance

/drivers/peripheral/usb/test/unittest/host_sdk/
H A Dusb_raw_sdk_if_test_io.cpp272 acm->notifyEp = (struct UsbEndpoint *)OsalMemAlloc(sizeof(struct UsbEndpoint)); in UsbParseConfigDescriptor()
273 if (acm->notifyEp == nullptr) { in UsbParseConfigDescriptor()
278 acm->notifyEp->addr = interface->altsetting->endPoint[0].endpointDescriptor.bEndpointAddress; in UsbParseConfigDescriptor()
279 acm->notifyEp->interval = interface->altsetting->endPoint[0].endpointDescriptor.bInterval; in UsbParseConfigDescriptor()
280 acm->notifyEp->maxPacketSize = interface->altsetting->endPoint[0].endpointDescriptor.wMaxPacketSize; in UsbParseConfigDescriptor()
336 g_acm->notifyReq = UsbRawAllocRequest(g_acm->devHandle, 0, g_acm->notifyEp->maxPacketSize); in AcmRawAllocRequest()
402 uint32_t size = g_acm->notifyEp->maxPacketSize; in AcmRawFillIntReq()
404 fillRequestData.endPoint = g_acm->notifyEp->addr; in AcmRawFillIntReq()
786 uint32_t size = g_acm->notifyEp->maxPacketSize; in HWTEST_F()
788 reqData.endPoint = g_acm->notifyEp in HWTEST_F()
[all...]
H A Dusb_raw_sdk_if_test.cpp323 acm->notifyEp = (UsbEndpoint *)OsalMemAlloc(sizeof(struct UsbEndpoint)); in UsbParseConfigDescriptor()
324 if (acm->notifyEp == nullptr) { in UsbParseConfigDescriptor()
329 acm->notifyEp->addr = interface->altsetting->endPoint[0].endpointDescriptor.bEndpointAddress; in UsbParseConfigDescriptor()
330 acm->notifyEp->interval = interface->altsetting->endPoint[0].endpointDescriptor.bInterval; in UsbParseConfigDescriptor()
331 acm->notifyEp->maxPacketSize = interface->altsetting->endPoint[0].endpointDescriptor.wMaxPacketSize; in UsbParseConfigDescriptor()
1251 g_acm->notifyReq = UsbRawAllocRequest(NULL, 0, g_acm->notifyEp->maxPacketSize); in HWTEST_F()
1263 g_acm->notifyReq = UsbRawAllocRequest(g_acm->devHandle, 0, g_acm->notifyEp->maxPacketSize); in HWTEST_F()
1369 g_acm->notifyReq = UsbRawAllocRequest(g_acm->devHandle, 0, g_acm->notifyEp->maxPacketSize); in HWTEST_F()
1708 uint32_t size = g_acm->notifyEp->maxPacketSize; in HWTEST_F()
1710 fillRequestData.endPoint = g_acm->notifyEp in HWTEST_F()
[all...]
H A Dusb_raw_sdk_if_test.h88 struct UsbEndpoint *notifyEp; member
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/
H A Dusb_raw_test.c246 rawAcm->notifyReq = UsbRawAllocRequest(NULL, 0, rawAcm->notifyEp.maxPacketSize); in CheckRawSdkIfAllocRequest007()
258 rawAcm->notifyReq = UsbRawAllocRequest(rawAcm->devHandle, 0, rawAcm->notifyEp.maxPacketSize); in CheckRawSdkIfAllocRequest008()
534 rawAcm->notifyReq = UsbRawAllocRequest(rawAcm->devHandle, 0, rawAcm->notifyEp.maxPacketSize); in CheckRawSdkIfAllocRequest009()
946 uint32_t size = rawAcm->notifyEp.maxPacketSize; in CheckRawSdkIfFillInterruptRequest001()
948 fillRequestData.endPoint = rawAcm->notifyEp.addr; in CheckRawSdkIfFillInterruptRequest001()
969 uint32_t size = rawAcm->notifyEp.maxPacketSize; in CheckRawSdkIfFillInterruptRequest002()
971 fillRequestData.endPoint = rawAcm->notifyEp.addr; in CheckRawSdkIfFillInterruptRequest002()
992 uint32_t size = rawAcm->notifyEp.maxPacketSize; in CheckRawSdkIfFillInterruptRequest003()
994 fillRequestData.endPoint = rawAcm->notifyEp.addr; in CheckRawSdkIfFillInterruptRequest003()
1524 uint32_t size = rawAcm->notifyEp in CheckRawSdkIfSendInterruptRequest001()
[all...]
H A Dusb_raw_io.c279 acm->notifyEp.addr = interface->altsetting->endPoint[0].endpointDescriptor.bEndpointAddress; in AcmParaseInterfaceClass()
280 acm->notifyEp.interval = interface->altsetting->endPoint[0].endpointDescriptor.bInterval; in AcmParaseInterfaceClass()
281 acm->notifyEp.maxPacketSize = interface->altsetting->endPoint[0].endpointDescriptor.wMaxPacketSize; in AcmParaseInterfaceClass()
/drivers/peripheral/usb/serial/src/
H A Dusb_serial_rawapi.c212 acm->notifyEp = OsalMemAlloc(sizeof(struct UsbEndpoint)); in UsbParseConfigDescriptorProcess()
213 if (acm->notifyEp == NULL) { in UsbParseConfigDescriptorProcess()
218 acm->notifyEp->addr = interface->altsetting->endPoint[0].endpointDescriptor.bEndpointAddress; in UsbParseConfigDescriptorProcess()
219 acm->notifyEp->interval = interface->altsetting->endPoint[0].endpointDescriptor.bInterval; in UsbParseConfigDescriptorProcess()
220 acm->notifyEp->maxPacketSize = interface->altsetting->endPoint[0].endpointDescriptor.wMaxPacketSize; in UsbParseConfigDescriptorProcess()
270 if (acm->notifyEp) { in UsbReleaseInterfaces()
271 OsalMemFree(acm->notifyEp); in UsbReleaseInterfaces()
272 acm->notifyEp = NULL; in UsbReleaseInterfaces()
1202 if ((acm == NULL) || (acm->notifyEp == NULL)) { in UsbAllocNotifyRequest()
1203 HDF_LOGE("%{public}s: acm or notifyEp i in UsbAllocNotifyRequest()
[all...]
/drivers/peripheral/usb/sample/host/include/
H A Dusbhost_sdkraw_speed.h102 struct UsbEndpoint *notifyEp; member
/drivers/peripheral/usb/sample/host/liteos_test/include/
H A Dusbhost_sdkraw_speed.h97 struct UsbEndpoint *notifyEp; member
/drivers/peripheral/usb/serial/include/
H A Dusb_serial_rawapi.h112 struct UsbEndpoint *notifyEp; member
/drivers/peripheral/usb/sample/host/src/
H A Dusbhost_sdkraw_speed.c264 acm->notifyEp = OsalMemAlloc(sizeof(struct UsbEndpoint)); in UsbParseConfigDescriptorProcess()
265 if (acm->notifyEp == NULL) { in UsbParseConfigDescriptorProcess()
270 acm->notifyEp->addr = interface->altsetting->endPoint[0].endpointDescriptor.bEndpointAddress; in UsbParseConfigDescriptorProcess()
271 acm->notifyEp->interval = interface->altsetting->endPoint[0].endpointDescriptor.bInterval; in UsbParseConfigDescriptorProcess()
272 acm->notifyEp->maxPacketSize = interface->altsetting->endPoint[0].endpointDescriptor.wMaxPacketSize; in UsbParseConfigDescriptorProcess()
/drivers/peripheral/usb/sample/host/liteos_test/src/
H A Dusbhost_sdkraw_speed.c270 acm->notifyEp = OsalMemAlloc(sizeof(struct UsbEndpoint)); in UsbSpeedParaseInterfaceClass()
271 if (acm->notifyEp == NULL) { in UsbSpeedParaseInterfaceClass()
276 acm->notifyEp->addr = interface->altsetting->endPoint[0].endpointDescriptor.bEndpointAddress; in UsbSpeedParaseInterfaceClass()
277 acm->notifyEp->interval = interface->altsetting->endPoint[0].endpointDescriptor.bInterval; in UsbSpeedParaseInterfaceClass()
278 acm->notifyEp->maxPacketSize = interface->altsetting->endPoint[0].endpointDescriptor.wMaxPacketSize; in UsbSpeedParaseInterfaceClass()
/drivers/hdf_core/framework/test/unittest/model/usb/host/include/
H A Dusb_raw_test.h221 struct UsbEndpoint notifyEp; member

Completed in 14 milliseconds