Home
last modified time | relevance | path

Searched refs:ctrlIface (Results 1 – 25 of 26) sorted by relevance

12

/drivers/peripheral/usb/test/unittest/device_sdk/
Dusb_device_sdk_if_test.cpp333 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 …]
Dusb_device_cdcacm_test.h85 struct UsbFnInterface *ctrlIface; member
95 struct AcmInterface ctrlIface; member
Dusb_device_sdk_io_test.cpp309 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));
Dusb_device_cdcacm_test.cpp365 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/
Dusb_device_lite_sdk_if_test.c435 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 …]
Dusb_device_lite_cdcacm_test.c339 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()
Dusb_device_lite_sdk_io_test.c460 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/
Dcdcecm.h66 struct UsbFnInterface *ctrlIface; member
78 struct UsbEcmInterface ctrlIface; member
Dcdcacm.h82 struct UsbFnInterface *ctrlIface; member
94 struct UsbAcmInterface ctrlIface; member
/drivers/peripheral/usb/sample/host/liteos_test/include/
Dusbhost_sdkraw_speed.h95 uint8_t ctrlIface; member
/drivers/peripheral/usb/sample/host/include/
Dusbhost_sdkraw_speed.h100 uint8_t ctrlIface; member
/drivers/hdf_core/framework/test/unittest/model/usb/device/include/
Dusb_device_lite_cdcacm_test.h77 struct UsbFnInterface *ctrlIface; member
87 struct AcmInterface ctrlIface; member
/drivers/peripheral/usb/serial/include/
Dusb_serial_rawapi.h110 uint8_t ctrlIface; member
/drivers/peripheral/usb/gadget/function/acm/
Dcdcacm.c753 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/
Dusbfn_mtp_impl.h92 struct UsbFnInterface *ctrlIface; member
120 struct UsbMtpInterface ctrlIface; member
/drivers/peripheral/usb/gadget/function/ecm/
Dcdcecm.c648 …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/
Dusb_raw_sdk_if_test.h86 uint8_t ctrlIface; member
Dusb_raw_sdk_if_test.cpp322 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/
Dusbfn_mtp_impl.cpp339 …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/
Dusb_raw_test.h219 uint8_t ctrlIface; member
/drivers/peripheral/usb/serial/src/
Dusb_serial_rawapi.c210 acm->ctrlIface = interfaceIndex; in UsbParseConfigDescriptorProcess()
266 (void)UsbRawReleaseInterface(acm->devHandle, acm->ctrlIface); in UsbReleaseInterfaces()
/drivers/peripheral/usb/sample/host/src/
Dusbhost_sdkraw_speed.c263 acm->ctrlIface = interfaceIndex; in UsbParseConfigDescriptorProcess()
/drivers/peripheral/usb/sample/host/liteos_test/src/
Dusbhost_sdkraw_speed.c269 acm->ctrlIface = interfaceIndex; in UsbSpeedParaseInterfaceClass()
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/
Dusb_raw_test.c71 ret = UsbRawReleaseInterface(NULL, rawAcm->ctrlIface); in CheckRawSdkIfReleaseInterface001()
85 ret = UsbRawReleaseInterface(rawAcm->devHandle, rawAcm->ctrlIface); in CheckRawSdkIfReleaseInterface002()
Dusb_raw_io.c277 acm->ctrlIface = number; in AcmParaseInterfaceClass()

12