Home
last modified time | relevance | path

Searched refs:nbIndex (Results 1 - 19 of 19) sorted by relevance

/drivers/peripheral/usb/sample/host/include/
H A Dusbhost_sdkapi_speed.h118 uint32_t nbIndex; member
H A Dusbhost_sdkraw_speed.h119 uint32_t nbIndex; member
/drivers/peripheral/usb/sample/host/liteos_test/include/
H A Dusbhost_sdkapi_speed.h115 uint32_t nbIndex; member
H A Dusbhost_nosdk_speed.h112 uint32_t nbIndex; member
H A Dusbhost_sdkraw_speed.h114 uint32_t nbIndex; member
/drivers/peripheral/usb/serial/include/
H A Dusb_serial_rawapi.h128 uint32_t nbIndex; member
H A Dusb_serial.h122 uint32_t nbIndex; member
/drivers/peripheral/usb/test/unittest/host_sdk/
H A Dusb_host_sdk_if_test.h105 uint32_t nbIndex; member
H A Dusb_raw_sdk_if_test.h104 uint32_t nbIndex; member
H A Dusb_host_sdk_if_test.cpp145 if (acm->nbIndex) { in AcmCtrlIrq()
166 uint32_t copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmCtrlIrq()
167 if (memcpy_s(&acm->notificationBuffer[acm->nbIndex], acm->nbSize - acm->nbIndex, req->compInfo.buffer, in AcmCtrlIrq()
171 acm->nbIndex += copySize; in AcmCtrlIrq()
172 currentSize = acm->nbIndex; in AcmCtrlIrq()
176 acm->nbIndex = 0; in AcmCtrlIrq()
H A Dusb_raw_sdk_if_test.cpp246 if (acm->nbIndex) { in AcmNotifyReqCallback()
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()
269 currentSize = acm->nbIndex; in AcmNotifyReqCallback()
273 acm->nbIndex = 0; in AcmNotifyReqCallback()
/drivers/peripheral/usb/net/include/
H A Dcdc_ether.h106 uint32_t nbIndex; member
H A Dusb_net_host.h115 uint32_t nbIndex; member
/drivers/peripheral/usb/net/src/
H A Dusb_net_host.c370 unsigned int copySize = MIN(currentSize, expectedSize - usbNet->nbIndex); in UsbnetHostNotificationBufferProcess()
371 int32_t ret = memcpy_s(&usbNet->notificationBuffer[usbNet->nbIndex], in UsbnetHostNotificationBufferProcess()
372 usbNet->nbSize - usbNet->nbIndex, req->buffer, copySize); in UsbnetHostNotificationBufferProcess()
376 usbNet->nbIndex += copySize; in UsbnetHostNotificationBufferProcess()
424 if (usbNet->nbIndex) { in UsbnetHostReqCallback()
439 currentSize = usbNet->nbIndex; in UsbnetHostReqCallback()
444 usbNet->nbIndex = 0; in UsbnetHostReqCallback()
H A Dcdc_ether.c752 ecm->nbIndex = 0; in EcmNotificationAndRequest()
776 if (ecm->nbIndex) { in EcmCtrlIrq()
793 uint32_t copySize = MIN(currentSize, expectedSize - ecm->nbIndex); in EcmCtrlIrq()
795 &ecm->notificationBuffer[ecm->nbIndex], ecm->nbSize - ecm->nbIndex, req->compInfo.buffer, copySize); in EcmCtrlIrq()
802 ecm->nbIndex += copySize; in EcmCtrlIrq()
803 currentSize = ecm->nbIndex; in EcmCtrlIrq()
/drivers/peripheral/usb/serial/src/
H A Dusb_serial_rawapi.c1052 unsigned int copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmNotificationBufferProcess()
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()
1088 if (acm->nbIndex) { in AcmNotifyReqCallback()
1101 currentSize = acm->nbIndex; in AcmNotifyReqCallback()
1105 acm->nbIndex = 0; in AcmNotifyReqCallback()
H A Dusb_serial.c1294 unsigned int copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmCtrlIrqCheckSize()
1295 if (memcpy_s(&acm->notificationBuffer[acm->nbIndex], acm->nbSize - acm->nbIndex, req->compInfo.buffer, in AcmCtrlIrqCheckSize()
1301 acm->nbIndex += copySize; in AcmCtrlIrqCheckSize()
1302 currentSize = acm->nbIndex; in AcmCtrlIrqCheckSize()
1307 acm->nbIndex = 0; in AcmCtrlIrqCheckSize()
1328 if ((acm != NULL) && acm->nbIndex) { in AcmCtrlIrq()
/drivers/hdf_core/framework/test/unittest/model/usb/host/include/
H A Dusb_test.h190 uint32_t nbIndex; member
H A Dusb_raw_test.h239 uint32_t nbIndex; member

Completed in 19 milliseconds