Home
last modified time | relevance | path

Searched refs:ctrIface (Results 1 - 17 of 17) sorted by relevance

/drivers/peripheral/usb/sample/host/include/
H A Dusbhost_sdkapi_speed.h98 struct UsbInterface *ctrIface; member
/drivers/peripheral/usb/sample/host/liteos_test/include/
H A Dusbhost_sdkapi_speed.h95 struct UsbInterface *ctrIface; member
H A Dusbhost_nosdk_speed.h92 struct UsbInterface *ctrIface; member
/drivers/peripheral/usb/test/unittest/host_sdk/
H A Dusb_host_sdk_if_test.h80 struct UsbInterface *ctrIface; member
H A Dusb_host_sdk_if_test_io.cpp168 for (int32_t i = 0; i <= g_acm->ctrIface->info.pipeNum; i++) { in AcmGetPipe()
169 ret = UsbGetPipeInfo(g_acm->ctrl_devHandle, g_acm->ctrIface->info.curAltSetting, i, &p); in AcmGetPipe()
341 g_acm->ctrIface = UsbClaimInterface(g_acm->session, g_acm->busNum, g_acm->devAddr, g_acm->interfaceIndex); in AcmInit()
342 EXPECT_NE(nullptr, g_acm->ctrIface); in AcmInit()
348 g_acm->ctrl_devHandle = UsbOpenInterface(g_acm->ctrIface); in AcmInit()
H A Dusb_host_sdk_if_test.cpp412 g_acm->ctrIface = UsbClaimInterface(g_acm->session, g_acm->busNum, g_acm->devAddr, g_acm->interfaceIndex); in HWTEST_F()
413 EXPECT_NE(nullptr, g_acm->ctrIface); in HWTEST_F()
426 ret = UsbReleaseInterface(g_acm->ctrIface); in HWTEST_F()
505 g_acm->ctrIface = UsbClaimInterface(g_acm->session, g_acm->busNum, g_acm->devAddr, g_acm->interfaceIndex); in HWTEST_F()
506 EXPECT_NE(nullptr, g_acm->ctrIface); in HWTEST_F()
569 g_acm->ctrl_devHandle = UsbOpenInterface(g_acm->ctrIface); in HWTEST_F()
641 g_acm->ctrl_devHandle = UsbOpenInterface(g_acm->ctrIface); in HWTEST_F()
973 for (i = 0; i <= g_acm->ctrIface->info.pipeNum; i++) { in HWTEST_F()
974 ret = UsbGetPipeInfo(NULL, g_acm->ctrIface->info.curAltSetting, i, &p); in HWTEST_F()
1003 for (i = 0; i <= g_acm->ctrIface in HWTEST_F()
[all...]
/drivers/peripheral/usb/net/include/
H A Dcdc_ether.h87 struct UsbInterface *ctrIface; member
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/
H A Dusb_test.c296 g_acm->ctrIface = in CheckHostSdkIfClaimInterface003()
298 if (g_acm->ctrIface == NULL) { in CheckHostSdkIfClaimInterface003()
307 int32_t ret = UsbReleaseInterface(g_acm->ctrIface); in CheckHostSdkIfReleaseInterface003()
377 g_acm->ctrIface = in CheckHostSdkIfClaimInterface006()
379 if (g_acm->ctrIface == NULL) { in CheckHostSdkIfClaimInterface006()
428 g_acm->ctrl_devHandle = UsbOpenInterface(g_acm->ctrIface); in CheckHostSdkIfOpenInterface003()
492 g_acm->ctrl_devHandle = UsbOpenInterface(g_acm->ctrIface); in CheckHostSdkIfOpenInterface006()
775 for (i = 0; i <= g_acm->ctrIface->info.pipeNum; i++) { in CheckHostSdkIfGetPipe007()
776 int32_t ret = UsbGetPipeInfo(NULL, g_acm->ctrIface->info.curAltSetting, i, &p); in CheckHostSdkIfGetPipe007()
791 if (i > g_acm->ctrIface in CheckHostSdkIfGetPipe007()
[all...]
/drivers/peripheral/usb/net/src/
H A Dcdc_ether.c601 info = &ecm->ctrIface->info; in EcmEnumePipe()
661 ecm->ctrPipe = EcmEnumePipe(ecm, ecm->ctrIface->info.interfaceIndex, USB_PIPE_TYPE_CONTROL, USB_PIPE_DIRECTION_OUT); in EcmGetPipes()
981 if (ecm->ctrIface) { in EcmReleaseInterfaces()
982 UsbReleaseInterface(ecm->ctrIface); in EcmReleaseInterfaces()
983 ecm->ctrIface = NULL; in EcmReleaseInterfaces()
997 ecm->ctrIface = EcmGetUsbInterfaceById(ecm, USB_CTRL_INTERFACE_ID); in EcmClaimInterfaces()
998 if (ecm->ctrIface == NULL) { in EcmClaimInterfaces()
1037 ecm->ctrDevHandle = UsbOpenInterface(ecm->ctrIface); in EcmOpenInterfaces()
/drivers/peripheral/usb/serial/include/
H A Dusb_serial.h102 struct UsbInterface *ctrIface; member
/drivers/peripheral/usb/hdi_service/include/
H A Dusbd.h100 struct UsbInterface *ctrIface; member
/drivers/hdf_core/framework/test/unittest/model/usb/host/include/
H A Dusb_test.h162 struct UsbInterface *ctrIface; member
/drivers/peripheral/usb/serial/src/
H A Dusb_serial.c1152 info = &acm->ctrIface->info; in EnumePipe()
1521 if (acm->ctrIface) { in AcmReleaseInterfaces()
1522 UsbReleaseInterface(acm->ctrIface); in AcmReleaseInterfaces()
1523 acm->ctrIface = NULL; in AcmReleaseInterfaces()
1537 acm->ctrIface = GetUsbInterfaceById((const struct AcmDevice *)acm, USB_CTRL_INTERFACE_ID); in AcmClaimInterfaces()
1538 if (acm->ctrIface == NULL) { in AcmClaimInterfaces()
1575 acm->ctrDevHandle = UsbOpenInterface(acm->ctrIface); in AcmOpenInterfaces()
1602 acm->ctrPipe = EnumePipe(acm, acm->ctrIface->info.interfaceIndex, USB_PIPE_TYPE_CONTROL, USB_PIPE_DIRECTION_OUT); in AcmGetPipes()
/drivers/peripheral/usb/hdi_service/src/
H A Dusbd_dispatcher.cpp189 int32_t ret = UsbGetPipeInfo(dev->ctrDevHandle, dev->ctrIface->info.curAltSetting, 0, pipe); in UsbdGetCtrlPipe()
445 if (dev->ctrIface != nullptr) { in UsbdReleaseInterfaces()
446 UsbReleaseInterface(dev->ctrIface); in UsbdReleaseInterfaces()
447 dev->ctrIface = nullptr; in UsbdReleaseInterfaces()
483 dev->ctrDevHandle = UsbOpenInterface(dev->ctrIface); in UsbdOpenInterfaces()
528 dev->ctrIface = GetUsbInterfaceById(const_cast<const HostDevice *>(dev), USB_CTRL_INTERFACE_ID); in UsbdClaimInterfaces()
529 if (dev->ctrIface == nullptr) { in UsbdClaimInterfaces()
H A Dusb_impl.cpp1086 if (port->ctrDevHandle == nullptr && port->ctrIface != nullptr) { in OpenDevice()
1089 port->ctrDevHandle = UsbOpenInterface(port->ctrIface); in OpenDevice()
1131 if (port->ctrDevHandle == nullptr && port->ctrIface != nullptr) { in ResetDevice()
1134 port->ctrDevHandle = UsbResetDevice(port->ctrIface); in ResetDevice()
/drivers/peripheral/usb/sample/host/liteos_test/src/
H A Dusbhost_sdkapi_speed.c226 info = &acm->ctrIface->info; in EnumePipe()
/drivers/peripheral/usb/sample/host/src/
H A Dusbhost_sdkapi_speed.c215 info = &acm->ctrIface->info; in EnumePipe()

Completed in 20 milliseconds