Home
last modified time | relevance | path

Searched refs:copySize (Results 1 - 6 of 6) sorted by relevance

/drivers/peripheral/usb/net/src/
H A Dusb_net_host.c370 unsigned int copySize = MIN(currentSize, expectedSize - usbNet->nbIndex); in UsbnetHostNotificationBufferProcess() local
372 usbNet->nbSize - usbNet->nbIndex, req->buffer, copySize); in UsbnetHostNotificationBufferProcess()
376 usbNet->nbIndex += copySize; in UsbnetHostNotificationBufferProcess()
H A Dcdc_ether.c793 uint32_t copySize = MIN(currentSize, expectedSize - ecm->nbIndex); in EcmCtrlIrq() local
795 &ecm->notificationBuffer[ecm->nbIndex], ecm->nbSize - ecm->nbIndex, req->compInfo.buffer, copySize); in EcmCtrlIrq()
802 ecm->nbIndex += copySize; in EcmCtrlIrq()
/drivers/peripheral/usb/serial/src/
H A Dusb_serial_rawapi.c1052 unsigned int copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmNotificationBufferProcess() local
1053 int32_t ret = memcpy_s(&acm->notificationBuffer[acm->nbIndex], acm->nbSize - acm->nbIndex, req->buffer, copySize); in AcmNotificationBufferProcess()
1057 acm->nbIndex += copySize; in AcmNotificationBufferProcess()
H A Dusb_serial.c1294 unsigned int copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmCtrlIrqCheckSize() local
1296 copySize) != EOK) { in AcmCtrlIrqCheckSize()
1301 acm->nbIndex += copySize; in AcmCtrlIrqCheckSize()
/drivers/peripheral/usb/test/unittest/host_sdk/
H A Dusb_raw_sdk_if_test.cpp242 unsigned int expectedSize, copySize, allocSize; in AcmNotifyReqCallback() local
263 copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmNotifyReqCallback()
264 if (memcpy_s(&acm->notificationBuffer[acm->nbIndex], acm->nbSize - acm->nbIndex, req->buffer, copySize) != in AcmNotifyReqCallback()
268 acm->nbIndex += copySize; in AcmNotifyReqCallback()
H A Dusb_host_sdk_if_test.cpp166 uint32_t copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmCtrlIrq() local
168 copySize) != EOK) { in AcmCtrlIrq()
171 acm->nbIndex += copySize; in AcmCtrlIrq()

Completed in 12 milliseconds