Searched refs:mtpDev_ (Results 1 – 2 of 2) sorted by relevance
107 struct UsbMtpDevice *UsbfnMtpImpl::mtpDev_ = nullptr; member in OHOS::HDI::Usb::Gadget::Mtp::V1_0::UsbfnMtpImpl329 struct DListHead *head = &mtpDev_->ctrlPool; in UsbMtpDeviceAllocCtrlRequests()331 mtpDev_->ctrlReqNum = 0; in UsbMtpDeviceAllocCtrlRequests()338 ctrlInfo->mtpDev = mtpDev_; in UsbMtpDeviceAllocCtrlRequests()339 …struct UsbFnRequest *req = UsbFnAllocCtrlRequest(mtpDev_->ctrlIface.handle, MTP_CONTROL_XFER_BYTEC… in UsbMtpDeviceAllocCtrlRequests()348 mtpDev_->ctrlReqNum++; in UsbMtpDeviceAllocCtrlRequests()355 struct DListHead *head = &mtpDev_->ctrlPool; in UsbMtpDeviceFreeCtrlRequests()361 mtpDev_->ctrlReqNum--; in UsbMtpDeviceFreeCtrlRequests()380 …req = UsbFnAllocRequest(mtpDev_->dataIface.handle, mtpDev_->dataOutPipe.id, mtpDev_->dataOutPipe.m… in UsbMtpPortAllocReadWriteRequests()395 …req = UsbFnAllocRequest(mtpDev_->dataIface.handle, mtpDev_->dataInPipe.id, mtpDev_->dataInPipe.max… in UsbMtpPortAllocReadWriteRequests()[all …]
245 static struct UsbMtpDevice *mtpDev_; variable