Home
last modified time | relevance | path

Searched refs:UsbInterfaceHandle (Results 1 - 24 of 24) sorted by relevance

/drivers/peripheral/usb/interfaces/ddk/host/
H A Dusb_ddk_interface.h121 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 Dusbd.h77 UsbInterfaceHandle *ifHandle;
103 UsbInterfaceHandle *ctrDevHandle;
106 UsbInterfaceHandle *devHandle[USB_MAX_INTERFACES];
134 UsbInterfaceHandle *devHandle;
154 UsbInterfaceHandle *ifHandle;
164 UsbInterfaceHandle *ifHandle;
H A Dusbd_dispatcher.h84 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 Dusb_impl.h103 static UsbInterfaceHandle *InterfaceIdToHandle(const HostDevice *dev, uint8_t id);
/drivers/peripheral/usb/test/unittest/host_sdk/
H A Dusb_host_sdk_if_test.h99 UsbInterfaceHandle *devHandle;
100 UsbInterfaceHandle *data_devHandle;
101 UsbInterfaceHandle *ctrl_devHandle;
102 UsbInterfaceHandle *int_devHandle;
H A Dusb_host_sdk_if_test.cpp49 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 Dusb_ddk_service.cpp67 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 Dusb_test.h183 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 Dusb_serial.h118 UsbInterfaceHandle *devHandle[USB_MAX_INTERFACES];
119 UsbInterfaceHandle *ctrDevHandle;
152 UsbInterfaceHandle *devHandle;
/drivers/peripheral/usb/sample/host/include/
H A Dusbhost_sdkapi_speed.h114 UsbInterfaceHandle *devHandle[USB_MAX_INTERFACES];
115 UsbInterfaceHandle *ctrDevHandle;
/drivers/peripheral/usb/sample/host/liteos_test/include/
H A Dusbhost_sdkapi_speed.h111 UsbInterfaceHandle *devHandle[USB_MAX_INTERFACES];
112 UsbInterfaceHandle *ctrDevHandle;
H A Dusbhost_nosdk_speed.h108 UsbInterfaceHandle *devHandle[USB_MAX_INTERFACES];
109 UsbInterfaceHandle *ctrDevHandle;
/drivers/peripheral/usb/net/include/
H A Dcdc_ether.h102 UsbInterfaceHandle *devHandle[USB_MAX_INTERFACES];
103 UsbInterfaceHandle *ctrDevHandle;
/drivers/peripheral/usb/ddk/host/src/
H A Dusb_interface_pool.c1255 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 Dusb_raw_api_library.c1675 int32_t RawUsbCloseCtlProcess(const UsbInterfaceHandle *interfaceHandle) in RawUsbCloseCtlProcess()
/drivers/peripheral/usb/ddk/host/include/
H A Dusb_interface_pool.h123 int32_t UsbCloseCtlProcess(const UsbInterfaceHandle *interfaceHandle);
H A Dusb_raw_api_library.h147 int32_t RawUsbCloseCtlProcess(const UsbInterfaceHandle *interfaceHandle);
/drivers/peripheral/usb/sample/host/liteos_test/src/
H A Dusbhost_sdkapi_speed.c89 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 Dusbhost_sdkapi_speed.c82 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 Dusb_serial.c93 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 Dusbd_dispatcher.cpp132 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 Dusb_impl.cpp267 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 Dcdc_ether.c73 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 Dusb_test.c28 static UsbInterfaceHandle *g_ecmDataDevHandle = NULL;
29 static UsbInterfaceHandle *g_ecmIntDevHandle = NULL;
32 static UsbInterfaceHandle *g_acmDataDevHandle[USB_LOOP_NUM];

Completed in 27 milliseconds