D | usb_service.cpp | 239 const UsbDev dev = {busNum, devAddr}; in OpenDevice() local 244 int32_t ret = usbd_->OpenDevice(dev); in OpenDevice() 450 const UsbDev dev = {busNum, devAddr}; in ClaimInterface() local 455 return usbd_->ClaimInterface(dev, interface, force); in ClaimInterface() 460 const UsbDev dev = {busNum, devAddr}; in ReleaseInterface() local 465 return usbd_->ReleaseInterface(dev, interface); in ReleaseInterface() 483 const UsbDev &dev, const UsbPipe &pipe, const std::vector<uint8_t> &bufferData, int32_t timeOut) in BulkTransferWrite() argument 489 int32_t ret = usbd_->BulkTransferWrite(dev, pipe, timeOut, bufferData); in BulkTransferWrite() 496 int32_t UsbService::ControlTransfer(const UsbDev &dev, const UsbCtrlTransfer &ctrl, std::vector<uin… in ControlTransfer() argument 505 ret = usbd_->ControlTransferWrite(dev, ctrl, bufferData); in ControlTransfer() [all …]
|