Home
last modified time | relevance | path

Searched refs:mtpDev_ (Results 1 – 2 of 2) sorted by relevance

/drivers/peripheral/usb/gadget/function/mtp/src/
Dusbfn_mtp_impl.cpp107 struct UsbMtpDevice *UsbfnMtpImpl::mtpDev_ = nullptr; member in OHOS::HDI::Usb::Gadget::Mtp::V1_0::UsbfnMtpImpl
329 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 …]
/drivers/peripheral/usb/gadget/function/mtp/include/
Dusbfn_mtp_impl.h245 static struct UsbMtpDevice *mtpDev_; variable