Lines Matching refs:interfaceHandle
55 int32_t ReleaseUsbInterface(uint64_t interfaceHandle)
59 int32_t ret = UsbDdkUnHash(interfaceHandle, handle);
64 UsbDdkDelHashRecord(interfaceHandle);
94 uint64_t interfaceHandle = 0;
95 if (UsbDdkGetRecordByVal({0, infoTable->busNum, infoTable->devNum}, interfaceHandle)) {
97 ReleaseUsbInterface(interfaceHandle);
212 int32_t UsbDdkService::ClaimInterface(uint64_t deviceId, uint8_t interfaceIndex, uint64_t &interfaceHandle)
232 int32_t ret = UsbDdkHash({(uint64_t)handle, GET_BUS_NUM(deviceId), GET_DEV_NUM(deviceId)}, interfaceHandle);
239 int32_t UsbDdkService::ReleaseInterface(uint64_t interfaceHandle)
246 return ReleaseUsbInterface(interfaceHandle);
249 int32_t UsbDdkService::SelectInterfaceSetting(uint64_t interfaceHandle, uint8_t settingIndex)
257 int32_t ret = UsbDdkUnHash(interfaceHandle, handle);
268 int32_t UsbDdkService::GetCurrentInterfaceSetting(uint64_t interfaceHandle, uint8_t &settingIndex)
276 int32_t ret = UsbDdkUnHash(interfaceHandle, handle);
287 uint64_t interfaceHandle, const UsbControlRequestSetup &setup, uint32_t timeout, std::vector<uint8_t> &data)
295 int32_t ret = UsbDdkUnHash(interfaceHandle, handle);
341 uint64_t interfaceHandle, const UsbControlRequestSetup &setup, uint32_t timeout, const std::vector<uint8_t> &data)
349 int32_t ret = UsbDdkUnHash(interfaceHandle, handle);
405 int32_t ret = UsbDdkUnHash(pipe.interfaceHandle, handle);
454 int32_t ret = UsbDdkUnHash(pipe.interfaceHandle, handle);