/drivers/peripheral/usb/interfaces/ddk/host/ |
H A D | usb_ddk_interface.h | 121 typedef void *UsbInterfaceHandle;
typedef 392 * @return Returns the pointer to the <b>UsbInterfaceHandle</b> if the operation is successful; returns <b>NULL</b>
395 UsbInterfaceHandle *UsbOpenInterface(const struct UsbInterface *interfaceObj);
405 int32_t UsbCloseInterface(const UsbInterfaceHandle *interfaceHandle, bool isCtrInterface);
415 UsbInterfaceHandle *UsbResetDevice(const struct UsbInterface *interfaceObj);
426 int32_t UsbSelectInterfaceSetting(const UsbInterfaceHandle *interfaceHandle, uint8_t settingIndex,
438 int32_t UsbGetPipeInfo(const UsbInterfaceHandle *interfaceHandle, uint8_t altSettingIndex,
448 int32_t UsbClearInterfaceHalt(const UsbInterfaceHandle *interfaceHandle, uint8_t pipeAddress);
463 struct UsbRequest *UsbAllocRequest(const UsbInterfaceHandle *interfaceHandle, int32_t isoPackets, int32_t length);
464 struct UsbRequest *UsbAllocRequestByMmap(const UsbInterfaceHandle *interfaceHandl [all...] |
/drivers/peripheral/usb/hdi_service/include/ |
H A D | usbd.h | 77 UsbInterfaceHandle *ifHandle; 103 UsbInterfaceHandle *ctrDevHandle; 106 UsbInterfaceHandle *devHandle[USB_MAX_INTERFACES]; 134 UsbInterfaceHandle *devHandle; 154 UsbInterfaceHandle *ifHandle; 164 UsbInterfaceHandle *ifHandle;
|
H A D | usbd_dispatcher.h | 84 HostDevice *port, UsbInterfaceHandle *ifHandle, UsbPipeInfo *pipe, UsbdRequestSync *requestSync);
85 static int32_t UsbdRequestSyncInitwithLength(HostDevice *port, UsbInterfaceHandle *ifHandle,
110 HostDevice *port, UsbInterfaceHandle *ifHandle, UsbPipeInfo *pipe, UsbdRequestASync *request);
|
H A D | usb_impl.h | 103 static UsbInterfaceHandle *InterfaceIdToHandle(const HostDevice *dev, uint8_t id);
|
/drivers/peripheral/usb/test/unittest/host_sdk/ |
H A D | usb_host_sdk_if_test.h | 99 UsbInterfaceHandle *devHandle; 100 UsbInterfaceHandle *data_devHandle; 101 UsbInterfaceHandle *ctrl_devHandle; 102 UsbInterfaceHandle *int_devHandle;
|
H A D | usb_host_sdk_if_test.cpp | 49 static UsbInterfaceHandle *g_ecmDataDevHandle = nullptr; 50 static UsbInterfaceHandle *g_ecmIntDevHandle = nullptr; 1612 UsbInterfaceHandle interfaceHandle; in HWTEST_F() 1643 UsbInterfaceHandle interfaceHandle; in HWTEST_F() 1658 UsbInterfaceHandle interfaceHandle; in HWTEST_F()
|
/drivers/peripheral/usb/ddk_service/src/ |
H A D | usb_ddk_service.cpp | 67 const UsbInterfaceHandle *handleConvert = reinterpret_cast<const UsbInterfaceHandle *>(handle); in ReleaseUsbInterface() 226 UsbInterfaceHandle *handle = UsbOpenInterface(interface); in ClaimInterface() 264 const UsbInterfaceHandle *handleConvert = reinterpret_cast<const UsbInterfaceHandle *>(handle); in SelectInterfaceSetting() 282 const UsbInterfaceHandle *handleConvert = reinterpret_cast<const UsbInterfaceHandle *>(handle); in GetCurrentInterfaceSetting() 301 const UsbInterfaceHandle *handleConvert = reinterpret_cast<const UsbInterfaceHandle *>(handle); in SendControlReadRequest() 355 const UsbInterfaceHandle *handleConver in SendControlWriteRequest() [all...] |
/drivers/hdf_core/framework/test/unittest/model/usb/host/include/ |
H A D | usb_test.h | 183 UsbInterfaceHandle *devHandle; 184 UsbInterfaceHandle *data_devHandle; 185 UsbInterfaceHandle *ctrl_devHandle; 186 UsbInterfaceHandle *int_devHandle; 187 UsbInterfaceHandle *iso_devHandle;
|
/drivers/peripheral/usb/serial/include/ |
H A D | usb_serial.h | 118 UsbInterfaceHandle *devHandle[USB_MAX_INTERFACES]; 119 UsbInterfaceHandle *ctrDevHandle; 152 UsbInterfaceHandle *devHandle;
|
/drivers/peripheral/usb/sample/host/include/ |
H A D | usbhost_sdkapi_speed.h | 114 UsbInterfaceHandle *devHandle[USB_MAX_INTERFACES]; 115 UsbInterfaceHandle *ctrDevHandle;
|
/drivers/peripheral/usb/sample/host/liteos_test/include/ |
H A D | usbhost_sdkapi_speed.h | 111 UsbInterfaceHandle *devHandle[USB_MAX_INTERFACES]; 112 UsbInterfaceHandle *ctrDevHandle;
|
H A D | usbhost_nosdk_speed.h | 108 UsbInterfaceHandle *devHandle[USB_MAX_INTERFACES]; 109 UsbInterfaceHandle *ctrDevHandle;
|
/drivers/peripheral/usb/net/include/ |
H A D | cdc_ether.h | 102 UsbInterfaceHandle *devHandle[USB_MAX_INTERFACES]; 103 UsbInterfaceHandle *ctrDevHandle;
|
/drivers/peripheral/usb/ddk/host/src/ |
H A D | usb_interface_pool.c | 1255 UsbInterfaceHandle *UsbOpenInterface(const struct UsbInterface *interfaceObj) in UsbOpenInterface() 1300 return (UsbInterfaceHandle *)ifaceHdl; in UsbOpenInterface() 1307 UsbInterfaceHandle *UsbResetDevice(const struct UsbInterface *interfaceObj) in UsbResetDevice() 1345 return (UsbInterfaceHandle *)ifaceHdl; in UsbResetDevice() 1348 int32_t GetInterfaceByHandle(const UsbInterfaceHandle *interfaceHandle, struct UsbInterface **interface) in GetInterfaceByHandle() 1374 int32_t UsbCloseCtlProcess(const UsbInterfaceHandle *interfaceHandle) in UsbCloseCtlProcess() 1420 int32_t UsbCloseInterface(const UsbInterfaceHandle *interfaceHandle, bool isCtrInterface) in UsbCloseInterface() 1474 const UsbInterfaceHandle *interfaceHandle, uint8_t settingIndex, struct UsbInterface **interfaceObj) in UsbSelectInterfaceSetting() 1522 int32_t UsbGetInterfaceSetting(const UsbInterfaceHandle *interfaceHandle, uint8_t *settingIndex) in UsbGetInterfaceSetting() 1553 const UsbInterfaceHandle *interfaceHandl in UsbGetPipeInfo() [all...] |
H A D | usb_raw_api_library.c | 1675 int32_t RawUsbCloseCtlProcess(const UsbInterfaceHandle *interfaceHandle) in RawUsbCloseCtlProcess()
|
/drivers/peripheral/usb/ddk/host/include/ |
H A D | usb_interface_pool.h | 123 int32_t UsbCloseCtlProcess(const UsbInterfaceHandle *interfaceHandle);
|
H A D | usb_raw_api_library.h | 147 int32_t RawUsbCloseCtlProcess(const UsbInterfaceHandle *interfaceHandle);
|
/drivers/peripheral/usb/sample/host/liteos_test/src/ |
H A D | usbhost_sdkapi_speed.c | 89 static UsbInterfaceHandle *InterfaceIdToHandle(const struct AcmDevice *acm, uint8_t id) in InterfaceIdToHandle() 91 UsbInterfaceHandle *devHandle = NULL; in InterfaceIdToHandle() 224 UsbInterfaceHandle *interfaceHandle = NULL; in EnumePipe()
|
/drivers/peripheral/usb/sample/host/src/ |
H A D | usbhost_sdkapi_speed.c | 82 static UsbInterfaceHandle *InterfaceIdToHandle(const struct AcmDevice *acm, uint8_t id) in InterfaceIdToHandle() 85 UsbInterfaceHandle *devHandle = NULL; in InterfaceIdToHandle() 213 UsbInterfaceHandle *interfaceHandle = NULL; in EnumePipe()
|
/drivers/peripheral/usb/serial/src/ |
H A D | usb_serial.c | 93 static UsbInterfaceHandle *InterfaceIdToHandle(const struct AcmDevice *acm, uint8_t id) in InterfaceIdToHandle() 95 UsbInterfaceHandle *devHandle = NULL; in InterfaceIdToHandle() 289 static int32_t GetDeviceDescriptor(UsbInterfaceHandle *devHandle, struct UsbRequest *request, void *buf, uint16_t size) in GetDeviceDescriptor() 301 static int32_t UsbGetStatus(UsbInterfaceHandle *devHandle, struct UsbRequest *request, uint16_t *status) in UsbGetStatus() 350 const UsbInterfaceHandle *devHandle, const struct UsbRequest *request, const uint8_t *buf) in UsbGetInterface() 376 ret = UsbFillRequest((struct UsbRequest *)request, (UsbInterfaceHandle *)devHandle, &parmas); in UsbGetInterface() 389 static int32_t UsbGetConfig(const UsbInterfaceHandle *devHandle, const struct UsbRequest *request, const uint8_t *buf) in UsbGetConfig() 415 ret = UsbFillRequest((struct UsbRequest *)request, (UsbInterfaceHandle *)devHandle, &parmas); in UsbGetConfig() 480 static int32_t SerialCtrlAsyncMsg(UsbInterfaceHandle *devHandle, struct UsbRequest *request, void *buf, uint16_t size) in SerialCtrlAsyncMsg() 1150 UsbInterfaceHandle *interfaceHandl in EnumePipe() [all...] |
/drivers/peripheral/usb/hdi_service/src/ |
H A D | usbd_dispatcher.cpp | 132 UsbInterfaceHandle *interfaceHandle = UsbImpl::InterfaceIdToHandle(dev, info->interfaceIndex);
in GetInterfacePipe() 264 HostDevice *port, UsbInterfaceHandle *ifHandle, UsbPipeInfo *pipe, UsbdRequestSync *requestSync)
in UsbdRequestSyncInit() 291 int32_t UsbdDispatcher::UsbdRequestSyncInitwithLength(HostDevice *port, UsbInterfaceHandle *ifHandle,
in UsbdRequestSyncInitwithLength() 748 HostDevice *port, UsbInterfaceHandle *ifHandle, UsbPipeInfo *pipe, UsbdRequestASync *request)
in UsbdRequestASyncInit() 790 UsbInterfaceHandle *ifHandle = UsbImpl::InterfaceIdToHandle(port, interfaceId);
in UsbdRequestASyncCreatAndInsert() 1093 UsbInterfaceHandle *ifHandle = UsbImpl::InterfaceIdToHandle(port, ifId);
in UsbdBulkASyncListAlloc()
|
H A D | usb_impl.cpp | 267 UsbInterfaceHandle *UsbImpl::InterfaceIdToHandle(const HostDevice *dev, uint8_t id)
in InterfaceIdToHandle() 378 UsbInterfaceHandle *ifHandle = InterfaceIdToHandle(port, interfaceId);
in UsbdFindRequestSyncAndCreat() 438 UsbInterfaceHandle *ifHandle = InterfaceIdToHandle(port, interfaceId);
in UsbdFindRequestSyncAndCreatwithLength() 1453 UsbInterfaceHandle *interfaceHandle = InterfaceIdToHandle(port, interfaceId);
in SetInterface()
|
/drivers/peripheral/usb/net/src/ |
H A D | cdc_ether.c | 73 static UsbInterfaceHandle *InterfaceIdToHandle(const struct EcmDevice *ecm, uint8_t id) in InterfaceIdToHandle() 75 UsbInterfaceHandle *devHandle = NULL; in InterfaceIdToHandle() 599 UsbInterfaceHandle *interfaceHandle = NULL; in EcmEnumePipe()
|
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/ |
H A D | usb_test.c | 28 static UsbInterfaceHandle *g_ecmDataDevHandle = NULL; 29 static UsbInterfaceHandle *g_ecmIntDevHandle = NULL; 32 static UsbInterfaceHandle *g_acmDataDevHandle[USB_LOOP_NUM];
|