Home
last modified time | relevance | path

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

/drivers/peripheral/usb/gadget/function/mtp/src/
Dusbfn_mtp_impl.cpp227 … ((req->actual == 0 && mtpDev->needZLP == ZLP_TRY) || mtpDev->needZLP == ZLP_NO_NEED)) { in UsbMtpPortTxReqCheck()
231 …mtpDev->asyncSendFileExpect, mtpDev->asyncSendFileActual, mtpDev->xferFileLength, mtpDev->needZLP); in UsbMtpPortTxReqCheck()
253 if (mtpPort->mtpDev->needZLP == ZLP_NEED) { in UsbMtpPortProcessLastTxPacket()
254 mtpPort->mtpDev->needZLP = ZLP_TRY; in UsbMtpPortProcessLastTxPacket()
298 if (mtpDev->needZLP == ZLP_NO_NEED) { in UsbMtpPortStartTxAsync()
303 if (mtpDev->needZLP == ZLP_TRY) { in UsbMtpPortStartTxAsync()
1053 int32_t UsbfnMtpImpl::WriteEx(const std::vector<uint8_t> &data, uint8_t needZLP, uint32_t &xferActu… in WriteEx() argument
1057 while (needXferCount > 0 || needZLP == ZLP_NEED) { in WriteEx()
1068 needZLP = ZLP_TRY; in WriteEx()
1074 if (needZLP == ZLP_TRY) { in WriteEx()
[all …]
/drivers/peripheral/usb/gadget/function/mtp/include/
Dusbfn_mtp_impl.h136 uint8_t needZLP; member
197 static int32_t UsbMtpPortStartSubmitRxReq(struct UsbMtpPort *mtpPort, bool needZLP);