/drivers/peripheral/usb/test/unittest/device_sdk/ |
D | usb_device_sdk_if_test.cpp | 333 EXPECT_TRUE(nullptr != g_acmDevice->ctrlIface.fn); 334 ret = UsbFnGetInterfacePipeInfo(g_acmDevice->ctrlIface.fn, 0, &info); 354 EXPECT_NE(nullptr, g_acmDevice->ctrlIface.fn); 359 ret = UsbFnRegistInterfaceProp(g_acmDevice->ctrlIface.fn, &info); 368 EXPECT_NE(nullptr, g_acmDevice->ctrlIface.fn); 373 ret = UsbFnRegistInterfaceProp(g_acmDevice->ctrlIface.fn, &info); 382 EXPECT_NE(nullptr, g_acmDevice->ctrlIface.fn); 387 ret = UsbFnRegistInterfaceProp(g_acmDevice->ctrlIface.fn, &info); 396 EXPECT_NE(nullptr, g_acmDevice->ctrlIface.fn); 401 ret = UsbFnRegistInterfaceProp(g_acmDevice->ctrlIface.fn, &info); [all …]
|
D | usb_device_cdcacm_test.h | 85 struct UsbFnInterface *ctrlIface; member 95 struct AcmInterface ctrlIface; member
|
D | usb_device_sdk_io_test.cpp | 309 EXPECT_NE(nullptr, g_acmDevice->ctrlIface.handle); 311 …UsbFnAllocRequest(g_acmDevice->ctrlIface.handle, g_acmDevice->notifyPipe.id, sizeof(struct UsbCdcN… 326 EXPECT_NE(nullptr, g_acmDevice->ctrlIface.handle); 327 …notifyReq = UsbFnAllocCtrlRequest(g_acmDevice->ctrlIface.handle, sizeof(struct UsbCdcNotification)… 341 EXPECT_NE(nullptr, g_acmDevice->ctrlIface.handle); 357 EXPECT_NE(nullptr, g_acmDevice->ctrlIface.handle); 394 EXPECT_NE(nullptr, g_acmDevice->ctrlIface.handle); 396 …UsbFnAllocRequest(g_acmDevice->ctrlIface.handle, g_acmDevice->notifyPipe.id, sizeof(struct UsbCdcN… 485 EXPECT_NE(nullptr, g_acmDevice->ctrlIface.handle); 487 … g_acmDevice->ctrlIface.handle, sizeof(struct UsbCdcLineCoding) + sizeof(struct UsbCdcLineCoding));
|
D | usb_device_cdcacm_test.cpp | 365 acmDevice->ctrlIface.fn = fnIface; in ParseInterfaces() 366 acmDevice->ctrlIface.handle = handle; in ParseInterfaces() 428 … acmDevice->ctrlIface.handle, sizeof(struct UsbCdcLineCoding) + sizeof(struct UsbCdcLineCoding)); in AllocCtrlRequests() 464 notify->wIndex = CPU_TO_LE16(acm->ctrlIface.fn->info.index); in SendNotifyRequest() 515 …UsbFnAllocRequest(acmDevice->ctrlIface.handle, acmDevice->notifyPipe.id, sizeof(struct UsbCdcNotif… in AllocNotifyRequest() 730 ret = UsbFnStartRecvInterfaceEvent(acmDevice->ctrlIface.fn, 0xff, AcmEventCallback, acmDevice); in SetUpAcmDevice() 780 (void)UsbFnCloseInterface(acm->ctrlIface.handle); in ReleaseAcmDevice() 782 UsbFnStopRecvInterfaceEvent(acm->ctrlIface.fn); in ReleaseAcmDevice()
|
/drivers/hdf_core/framework/test/unittest/model/usb/device/src/ |
D | usb_device_lite_sdk_if_test.c | 435 if (g_acmDevice == NULL || g_acmDevice->ctrlIface.fn == NULL) { in UsbFnDviceTestGetPipeInfo006() 441 int32_t ret = UsbFnGetInterfacePipeInfo(g_acmDevice->ctrlIface.fn, 0, &info); in UsbFnDviceTestGetPipeInfo006() 463 if (g_acmDevice == NULL || g_acmDevice->ctrlIface.fn == NULL) { in UsbFnDviceTestRegistProp() 469 int32_t ret = UsbFnRegistInterfaceProp(g_acmDevice->ctrlIface.fn, &info); in UsbFnDviceTestRegistProp() 479 if (g_acmDevice == NULL || g_acmDevice->ctrlIface.fn == NULL) { in UsbFnDviceTestRegistProp002() 485 int32_t ret = UsbFnRegistInterfaceProp(g_acmDevice->ctrlIface.fn, &info); in UsbFnDviceTestRegistProp002() 495 if (g_acmDevice == NULL || g_acmDevice->ctrlIface.fn == NULL) { in UsbFnDviceTestRegistProp003() 501 int32_t ret = UsbFnRegistInterfaceProp(g_acmDevice->ctrlIface.fn, &info); in UsbFnDviceTestRegistProp003() 511 if (g_acmDevice == NULL || g_acmDevice->ctrlIface.fn == NULL) { in UsbFnDviceTestRegistProp004() 517 int32_t ret = UsbFnRegistInterfaceProp(g_acmDevice->ctrlIface.fn, &info); in UsbFnDviceTestRegistProp004() [all …]
|
D | usb_device_lite_cdcacm_test.c | 339 acmDevice->ctrlIface.fn = (struct UsbFnInterface *)fnIface; in ParsePipes() 340 acmDevice->ctrlIface.handle = handle; in ParsePipes() 417 … acmDevice->ctrlIface.handle, sizeof(struct UsbCdcLineCoding) + sizeof(struct UsbCdcLineCoding)); in AllocCtrlRequests() 436 if ((data == NULL) || (acm == NULL) || (acm->ctrlIface.fn == NULL)) { in SendNotifyRequest() 451 notify->wIndex = CPU_TO_LE16(acm->ctrlIface.fn->info.index); in SendNotifyRequest() 505 …UsbFnAllocRequest(acmDevice->ctrlIface.handle, acmDevice->notifyPipe.id, sizeof(struct UsbCdcNotif… in AllocNotifyRequest() 723 ret = UsbFnStartRecvInterfaceEvent(acmDevice->ctrlIface.fn, 0xff, AcmEventCallback, acmDevice); in SetUpAcmDevice() 773 (void)UsbFnCloseInterface(acm->ctrlIface.handle); in ReleaseAcmDevice() 775 (void)UsbFnStopRecvInterfaceEvent(acm->ctrlIface.fn); in ReleaseAcmDevice()
|
D | usb_device_lite_sdk_io_test.c | 460 if (acmDevice == NULL || acmDevice->ctrlIface.handle == NULL) { in UsbFnDviceTestCancelRequest002() 464 req = UsbFnAllocCtrlRequest(acmDevice->ctrlIface.handle, sizeof(struct UsbCdcNotification)); in UsbFnDviceTestCancelRequest002()
|
/drivers/peripheral/usb/gadget/function/include/ |
D | cdcecm.h | 66 struct UsbFnInterface *ctrlIface; member 78 struct UsbEcmInterface ctrlIface; member
|
D | cdcacm.h | 82 struct UsbFnInterface *ctrlIface; member 94 struct UsbAcmInterface ctrlIface; member
|
/drivers/peripheral/usb/sample/host/liteos_test/include/ |
D | usbhost_sdkraw_speed.h | 95 uint8_t ctrlIface; member
|
/drivers/peripheral/usb/sample/host/include/ |
D | usbhost_sdkraw_speed.h | 100 uint8_t ctrlIface; member
|
/drivers/hdf_core/framework/test/unittest/model/usb/device/include/ |
D | usb_device_lite_cdcacm_test.h | 77 struct UsbFnInterface *ctrlIface; member 87 struct AcmInterface ctrlIface; member
|
/drivers/peripheral/usb/serial/include/ |
D | usb_serial_rawapi.h | 110 uint8_t ctrlIface; member
|
/drivers/peripheral/usb/gadget/function/acm/ |
D | cdcacm.c | 753 struct UsbFnInterface *intf = acmDevice->ctrlIface.fn; in UsbSerialGetProp() 775 struct UsbFnInterface *intf = acmDevice->ctrlIface.fn; in UsbSerialSetProp() 820 struct UsbFnInterface *intf = acmDevice->ctrlIface.fn; in UsbSerialRegistProp() 980 … acm->ctrlIface.handle, sizeof(struct UsbCdcLineCoding) + sizeof(struct UsbCdcLineCoding)); in AcmAllocCtrlRequests() 1036 …UsbFnAllocRequest(acm->ctrlIface.handle, acm->notifyPipe.id, sizeof(struct UsbCdcNotification) * U… in AcmAllocNotifyRequest() 1254 notify->wIndex = CPU_TO_LE16(acm->ctrlIface.fn->info.index); in AcmSendNotifyRequest() 1347 acm->ctrlIface = *iface; in AcmParseEachPipe() 1449 (void)UsbFnCloseInterface(acm->ctrlIface.handle); in AcmReleaseFuncDevice() 1451 (void)UsbFnStopRecvInterfaceEvent(acm->ctrlIface.fn); in AcmReleaseFuncDevice() 1570 …ret = UsbFnStartRecvInterfaceEvent(acm->ctrlIface.fn, RECEIVE_ALL_EVENTS, UsbAcmEventCallback, acm… in UsbSerialInit()
|
/drivers/peripheral/usb/gadget/function/mtp/include/ |
D | usbfn_mtp_impl.h | 92 struct UsbFnInterface *ctrlIface; member 120 struct UsbMtpInterface ctrlIface; member
|
/drivers/peripheral/usb/gadget/function/ecm/ |
D | cdcecm.c | 648 …UsbFnAllocRequest(ecm->ctrlIface.handle, ecm->notifyPipe.id, sizeof(struct UsbCdcNotification) * U… in EcmAllocNotifyRequest() 662 ecm->ep0Req = UsbFnAllocCtrlRequest(ecm->ctrlIface.handle, ECM_STATUS_BYTECOUNT); in EcmAllocEp0Request() 686 ecm->ctrlIface = *iface; in EcmParseEachPipe() 804 UsbFnCloseInterface(ecm->ctrlIface.handle); in EcmReleaseFuncDevice() 806 (void)UsbFnStopRecvInterfaceEvent(ecm->ctrlIface.fn); in EcmReleaseFuncDevice() 933 …ret = UsbFnStartRecvInterfaceEvent(ecm->ctrlIface.fn, RECEIVE_ALL_EVENTS, UsbEcmEventCallback, ecm… in EcmInit()
|
/drivers/peripheral/usb/test/unittest/host_sdk/ |
D | usb_raw_sdk_if_test.h | 86 uint8_t ctrlIface; member
|
D | usb_raw_sdk_if_test.cpp | 322 acm->ctrlIface = i; in UsbParseConfigDescriptor() 1079 ret = UsbRawReleaseInterface(NULL, g_acm->ctrlIface); 1093 ret = UsbRawReleaseInterface(g_acm->devHandle, g_acm->ctrlIface);
|
/drivers/peripheral/usb/gadget/function/mtp/src/ |
D | usbfn_mtp_impl.cpp | 339 …struct UsbFnRequest *req = UsbFnAllocCtrlRequest(mtpDev_->ctrlIface.handle, MTP_CONTROL_XFER_BYTEC… in UsbMtpDeviceAllocCtrlRequests() 713 mtpDev_->ctrlIface = iface; /* MTP device only have one interface, record here */ in UsbMtpDeviceParseEachPipe() 831 int32_t ret = UsbFnCloseInterface(mtpDev_->ctrlIface.handle); in UsbMtpDeviceReleaseFuncDevice() 836 ret = UsbFnStopRecvInterfaceEvent(mtpDev_->ctrlIface.fn); in UsbMtpDeviceReleaseFuncDevice() 927 …ret = UsbFnStartRecvInterfaceEvent(mtpDev_->ctrlIface.fn, 0xff, UsbMtpDeviceEp0EventDispatch, mtpD… in Init()
|
/drivers/hdf_core/framework/test/unittest/model/usb/host/include/ |
D | usb_raw_test.h | 219 uint8_t ctrlIface; member
|
/drivers/peripheral/usb/serial/src/ |
D | usb_serial_rawapi.c | 210 acm->ctrlIface = interfaceIndex; in UsbParseConfigDescriptorProcess() 266 (void)UsbRawReleaseInterface(acm->devHandle, acm->ctrlIface); in UsbReleaseInterfaces()
|
/drivers/peripheral/usb/sample/host/src/ |
D | usbhost_sdkraw_speed.c | 263 acm->ctrlIface = interfaceIndex; in UsbParseConfigDescriptorProcess()
|
/drivers/peripheral/usb/sample/host/liteos_test/src/ |
D | usbhost_sdkraw_speed.c | 269 acm->ctrlIface = interfaceIndex; in UsbSpeedParaseInterfaceClass()
|
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/ |
D | usb_raw_test.c | 71 ret = UsbRawReleaseInterface(NULL, rawAcm->ctrlIface); in CheckRawSdkIfReleaseInterface001() 85 ret = UsbRawReleaseInterface(rawAcm->devHandle, rawAcm->ctrlIface); in CheckRawSdkIfReleaseInterface002()
|
D | usb_raw_io.c | 277 acm->ctrlIface = number; in AcmParaseInterfaceClass()
|