Searched refs:needZLP (Results 1 – 2 of 2) sorted by relevance
227 … ((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() argument1057 while (needXferCount > 0 || needZLP == ZLP_NEED) { in WriteEx()1068 needZLP = ZLP_TRY; in WriteEx()1074 if (needZLP == ZLP_TRY) { in WriteEx()[all …]
136 uint8_t needZLP; member197 static int32_t UsbMtpPortStartSubmitRxReq(struct UsbMtpPort *mtpPort, bool needZLP);