Searched refs:copySize (Results 1 - 6 of 6) sorted by relevance
/drivers/peripheral/usb/net/src/ |
H A D | usb_net_host.c | 370 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 D | cdc_ether.c | 793 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 D | usb_serial_rawapi.c | 1052 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 D | usb_serial.c | 1294 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 D | usb_raw_sdk_if_test.cpp | 242 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 D | usb_host_sdk_if_test.cpp | 166 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