Home
last modified time | relevance | path

Searched defs:devHandle (Results 1 – 25 of 36) sorted by relevance

12

/ohos5.0/drivers/peripheral/usb/ddk/host/src/
H A Dusb_raw_api.c37 int32_t UsbRawCloseDevice(const UsbRawHandle *devHandle) in UsbRawCloseDevice()
105 int32_t UsbRawGetConfiguration(const UsbRawHandle * const devHandle, int32_t *config) in UsbRawGetConfiguration()
115 int32_t UsbRawSetConfiguration(const UsbRawHandle *devHandle, int32_t config) in UsbRawSetConfiguration()
125 int32_t UsbRawControlMsg(const UsbRawHandle * const devHandle, struct UsbControlRequestData *ctrlDa… in UsbRawControlMsg()
135 int32_t UsbRawGetUsbSpeed(const UsbRawHandle * const devHandle) in UsbRawGetUsbSpeed()
144 int32_t UsbRawGetDescriptor(const struct UsbRawRequest *request, const UsbRawHandle *devHandle, in UsbRawGetDescriptor()
156 UsbRawDevice *UsbRawGetDevice(const UsbRawHandle * const devHandle) in UsbRawGetDevice()
176 int32_t UsbRawClaimInterface(const UsbRawHandle *devHandle, int32_t interfaceNumber) in UsbRawClaimInterface()
186 int32_t UsbRawReleaseInterface(const UsbRawHandle *devHandle, int32_t interfaceNumber) in UsbRawReleaseInterface()
196 int32_t UsbRawResetDevice(const UsbRawHandle *devHandle) in UsbRawResetDevice()
[all …]
H A Dusb_raw_api_library.c244 struct UsbDeviceHandle *devHandle = (struct UsbDeviceHandle *)rawHandle; in GetRawConfigDescriptor() local
805 int32_t RawCloseDevice(const struct UsbDeviceHandle *devHandle) in RawCloseDevice()
823 int32_t RawClaimInterface(struct UsbDeviceHandle *devHandle, int32_t interfaceNumber) in RawClaimInterface()
1196 const struct UsbDeviceHandle *devHandle, int32_t isoPackets, int32_t length) in RawAllocRequestByMmap()
1281 int32_t RawGetConfiguration(const struct UsbDeviceHandle *devHandle, int32_t *config) in RawGetConfiguration()
1317 int32_t RawUsbGetUsbSpeed(const struct UsbDeviceHandle *devHandle) in RawUsbGetUsbSpeed()
1370 struct UsbDevice *RawGetDevice(const struct UsbDeviceHandle *devHandle) in RawGetDevice()
1444 int32_t RawResetDevice(const struct UsbDeviceHandle *devHandle) in RawResetDevice()
1488 int32_t RawHandleRequest(const struct UsbDeviceHandle *devHandle) in RawHandleRequest()
1503 int32_t RawClearHalt(const struct UsbDeviceHandle *devHandle, uint8_t pipeAddress) in RawClearHalt()
[all …]
H A Dusb_interface_pool.c430const struct UsbDeviceHandle *devHandle, uint8_t interfaceId, uint8_t pipeId, UsbPipeType *pipeTyp… in IfGetRequestPipeType()
474 …struct UsbHostRequest *hostRequest, const struct UsbDeviceHandle *devHandle, const struct UsbReque… in IfFillControlRequest()
511 …struct UsbHostRequest *hostRequest, const struct UsbDeviceHandle *devHandle, const struct UsbReque… in IfFillIsoRequest()
751 const struct UsbDeviceHandle *devHandle, bool refCountFlag) in IfDestoryDevice()
787struct UsbDeviceHandle **devHandle, const struct UsbSession *realSession, uint8_t busNum, uint8_t … in IfGetInterfacePool()
999 struct UsbDeviceHandle *devHandle = NULL; in UsbGetDeviceMemMapFd() local
1019 struct UsbDeviceHandle *devHandle = NULL; in ClaimInterface() local
1077 struct UsbDeviceHandle *devHandle = NULL; in UsbManageInterface() local
1151 static void UsbAttachKernelDriver(struct UsbDeviceHandle *devHandle, const struct UsbSdkInterface *… in UsbAttachKernelDriver()
1178 struct UsbDeviceHandle *devHandle = interfacePool->device->devHandle; in UsbReleaseInterface() local
[all …]
H A Dddk_sysfs_device.c158 struct dirent *devHandle; in DdkSysfsGetActiveInterfaces() local
H A Dusb_protocol.c231 int32_t UsbProtocalParseDescriptor(struct UsbDeviceHandle *devHandle, uint8_t busNum, uint8_t devAd… in UsbProtocalParseDescriptor()
H A Dlinux_adapter.c301 struct UsbDeviceHandle *devHandle = dev->devHandle; in OsInitDevice() local
1446 static int32_t AdapterUrbCompleteHandle(const struct UsbDeviceHandle *devHandle) in AdapterUrbCompleteHandle()
1492 static bool AdapterGetInterfaceActiveStatus(const struct UsbDeviceHandle *devHandle, uint8_t interf… in AdapterGetInterfaceActiveStatus()
1560 int32_t UsbAdapterKillSignal(struct UsbDeviceHandle *devHandle, UsbRawTidType tid) in UsbAdapterKillSignal()
H A Dddk_device_manager.c184 struct dirent *devHandle; in DdkDevMgrScanSysfs() local
/ohos5.0/drivers/peripheral/usb/serial/src/
H A Dusb_serial.c95 UsbInterfaceHandle *devHandle = NULL; in InterfaceIdToHandle() local
289 static int32_t GetDeviceDescriptor(UsbInterfaceHandle *devHandle, struct UsbRequest *request, void … in GetDeviceDescriptor()
301 static int32_t UsbGetStatus(UsbInterfaceHandle *devHandle, struct UsbRequest *request, uint16_t *st… in UsbGetStatus()
350 const UsbInterfaceHandle *devHandle, const struct UsbRequest *request, const uint8_t *buf) in UsbGetInterface()
389 static int32_t UsbGetConfig(const UsbInterfaceHandle *devHandle, const struct UsbRequest *request, … in UsbGetConfig()
480 static int32_t SerialCtrlAsyncMsg(UsbInterfaceHandle *devHandle, struct UsbRequest *request, void *… in SerialCtrlAsyncMsg()
H A Dusb_serial_rawapi.c144 static int32_t UsbGetConfigDescriptor(UsbRawHandle *devHandle, struct UsbRawConfigDescriptor **conf… in UsbGetConfigDescriptor()
1305 UsbRawHandle *devHandle = NULL; in UsbSerialInit() local
/ohos5.0/drivers/peripheral/usb/sample/host/src/
H A Dusbhost_sdkraw_speed.c196 static int32_t UsbGetConfigDescriptor(UsbRawHandle * const devHandle, struct UsbRawConfigDescriptor… in UsbGetConfigDescriptor()
599 UsbRawHandle *devHandle = NULL; in InitUsbDdk() local
H A Dusbhost_sdkapi_speed.c85 UsbInterfaceHandle *devHandle = NULL; in InterfaceIdToHandle() local
/ohos5.0/drivers/peripheral/usb/ddk_service/src/
H A Dusb_ddk_service.cpp35 #define GET_BUS_NUM(devHandle) ((uint8_t)((devHandle) >> 32)) argument
36 #define GET_DEV_NUM(devHandle) ((uint8_t)((devHandle)&0xFFFFFFFF)) argument
/ohos5.0/drivers/peripheral/usb/test/unittest/mock/src/
H A Dmock_linux_adapter.cpp196 UsbDeviceHandle *devHandle = dev->devHandle; in OsInitDevice() local
470 int32_t FuncAdapterUrbCompleteHandle(const UsbDeviceHandle *devHandle) in FuncAdapterUrbCompleteHandle()
/ohos5.0/drivers/peripheral/usb/sample/host/liteos_test/src/
H A Dusbhost_sdkraw_speed.c201 static int32_t UsbGetConfigDescriptor(UsbRawHandle *devHandle, struct UsbRawConfigDescriptor ** con… in UsbGetConfigDescriptor()
601 UsbRawHandle *devHandle = NULL; in UsbSpeedDdkInit() local
H A Dusbhost_sdkapi_speed.c91 UsbInterfaceHandle *devHandle = NULL; in InterfaceIdToHandle() local
/ohos5.0/drivers/peripheral/usb/ddk/host/include/
H A Dusb_ddk_device.h35 struct UsbDeviceHandle *devHandle; member
H A Dusb_interface_pool.h50 struct UsbDeviceHandle *devHandle; member
H A Dusb_ddk_request.h89 struct UsbDeviceHandle *devHandle; member
/ohos5.0/drivers/hdf_core/framework/support/platform/src/i2c/
H A Di2c_if_u.c162 DevHandle devHandle = (DevHandle)(uintptr_t)handle; in I2cOpen() local
/ohos5.0/drivers/peripheral/usb/serial/include/
H A Dusb_serial.h118 UsbInterfaceHandle *devHandle[USB_MAX_INTERFACES]; member
152 UsbInterfaceHandle *devHandle; member
/ohos5.0/drivers/peripheral/usb/hdi_service/include/
H A Dusbd.h106 UsbInterfaceHandle *devHandle[USB_MAX_INTERFACES]; member
134 UsbInterfaceHandle *devHandle; member
/ohos5.0/drivers/peripheral/usb/net/src/
H A Dusb_net_host.c869 static int32_t UsbnetHostGetConfigDescriptor(UsbRawHandle *devHandle, struct UsbRawConfigDescriptor… in UsbnetHostGetConfigDescriptor()
1009 UsbRawHandle *devHandle = UsbRawOpenDevice(session, usbNet->busNum, usbNet->devAddr); in UsbnetHostUsbRawInit() local
/ohos5.0/drivers/peripheral/usb/test/unittest/host_sdk/
H A Dusb_raw_sdk_if_test.h101 UsbRawHandle *devHandle; member
182 struct UsbDeviceHandle *devHandle; member
/ohos5.0/drivers/peripheral/usb/sample/host/include/
H A Dusbhost_sdkraw_speed.h116 UsbRawHandle *devHandle; member
/ohos5.0/drivers/peripheral/usb/sample/host/liteos_test/include/
H A Dusbhost_sdkraw_speed.h111 UsbRawHandle *devHandle; member

12