Searched refs:tlen (Results 1 – 4 of 4) sorted by relevance
1181 uint32_t tlen = (handle->size > handle->rcur) ? (handle->size - handle->rcur) : 0; in UsbdBulkASyncPutAsmData() local1182 tlen = tlen < len ? tlen : len; in UsbdBulkASyncPutAsmData()1183 if (tlen > 0) { in UsbdBulkASyncPutAsmData()1184 ret = memcpy_s(handle->starAddr + handle->rcur, tlen, buffer, len); in UsbdBulkASyncPutAsmData()1190 handle->rcur += tlen; in UsbdBulkASyncPutAsmData()1230 uint32_t tlen = 0; in UsbdBulkAsyncGetAsmReqLen() local1233 tlen = handle->size - handle->cur; in UsbdBulkAsyncGetAsmReqLen()1234 tlen = tlen < maxPacketSize ? tlen : maxPacketSize; in UsbdBulkAsyncGetAsmReqLen()1235 handle->cur += tlen; in UsbdBulkAsyncGetAsmReqLen()1238 *reqLen = tlen; in UsbdBulkAsyncGetAsmReqLen()
88 int32_t tlen = 0; in InitAshmemOne() local95 tlen = (asmSize - offset) < ASHMEM_MAX_SIZE ? (asmSize - offset) : ASHMEM_MAX_SIZE; in InitAshmemOne()96 asmptr->WriteToAshmem(tdata, tlen, offset); in InitAshmemOne()97 offset += tlen; in InitAshmemOne()
90 int32_t tlen = 0; in InitAshmemOne() local98 tlen = (asmSize - offset) < ASHMEM_MAX_SIZE ? (asmSize - offset) : ASHMEM_MAX_SIZE; in InitAshmemOne()99 asmptr->WriteToAshmem(tdata, tlen, offset); in InitAshmemOne()100 offset += tlen; in InitAshmemOne()
71 int32_t tlen = 0; in InitAshmemOne() local79 tlen = (asmSize - offset) < ASHMEM_MAX_SIZE ? (asmSize - offset) : ASHMEM_MAX_SIZE; in InitAshmemOne()80 asmptr->WriteToAshmem(tdata, tlen, offset); in InitAshmemOne()81 offset += tlen; in InitAshmemOne()