Home
last modified time | relevance | path

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

/drivers/peripheral/usb/test/unittest/hal/src/
Dusbfn_mtp_test.cpp61 constexpr int64_t MTP_MAX_FILE_SIZE = 0xFFFFFFFFLL; variable
708 mfs.length = MTP_MAX_FILE_SIZE;
738 mfs.length = MTP_MAX_FILE_SIZE - 1;
767 mfs.length = MTP_MAX_FILE_SIZE + 1;
796 mfs.length = MTP_MAX_FILE_SIZE + 2;
967 mfs.length = MTP_MAX_FILE_SIZE;
996 mfs.length = MTP_MAX_FILE_SIZE + 1;
1025 mfs.length = MTP_MAX_FILE_SIZE + 2;
/drivers/peripheral/usb/gadget/function/mtp/src/
Dusbfn_mtp_impl.cpp116 constexpr uint64_t MTP_MAX_FILE_SIZE = 0xFFFFFFFFULL; variable
1145 if (mtpDev->xferFileLength == MTP_MAX_FILE_SIZE) { in UsbMtpPortRxCheckReq()
1180 } else if (mtpDev->xferFileLength == MTP_MAX_FILE_SIZE) { in UsbMtpPortProcessAsyncRxDone()
1237 …if (mtpDev->xferFileLength != MTP_MAX_FILE_SIZE && mtpDev->asyncRecvFileExpect != mtpDev->xferFile… in UsbMtpPortRxPush()
1254 if (mtpDev->xferFileLength == MTP_MAX_FILE_SIZE) { in UsbMtpPortStartSubmitRxReq()
1292 …if ((mtpDev->xferFileLength != MTP_MAX_FILE_SIZE && mtpDev->asyncRecvFileExpect >= mtpDev->xferFil… in UsbMtpPortStartRxAsync()
1327 if (mtpDev_->xferFileLength == MTP_MAX_FILE_SIZE) { in ReceiveFileEx()
1381 …static_cast<uint32_t>(needXferCount > MTP_MAX_FILE_SIZE ? MTP_MAX_FILE_SIZE : CPU_TO_LE32(needXfer… in UsbMtpPortSendFileFillFirstReq()