Home
last modified time | relevance | path

Searched refs:tlen (Results 1 – 4 of 4) sorted by relevance

/drivers/peripheral/usb/hdi_service/src/
Dusbd_dispatcher.cpp1181 uint32_t tlen = (handle->size > handle->rcur) ? (handle->size - handle->rcur) : 0; in UsbdBulkASyncPutAsmData() local
1182 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() local
1233 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()
/drivers/peripheral/usb/test/benchmarktest/
Dusb_benchmark_transfer_test.cpp88 int32_t tlen = 0; in InitAshmemOne() local
95 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()
/drivers/peripheral/usb/test/unittest/mock/src/
Dusbd_transfer_auto_test.cpp90 int32_t tlen = 0; in InitAshmemOne() local
98 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()
/drivers/peripheral/usb/test/unittest/hal/src/
Dusbd_transfer_test.cpp71 int32_t tlen = 0; in InitAshmemOne() local
79 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()