/drivers/peripheral/usb/sample/host/include/ |
H A D | usbhost_sdkapi_speed.h | 118 uint32_t nbIndex; member
|
H A D | usbhost_sdkraw_speed.h | 119 uint32_t nbIndex; member
|
/drivers/peripheral/usb/sample/host/liteos_test/include/ |
H A D | usbhost_sdkapi_speed.h | 115 uint32_t nbIndex; member
|
H A D | usbhost_nosdk_speed.h | 112 uint32_t nbIndex; member
|
H A D | usbhost_sdkraw_speed.h | 114 uint32_t nbIndex; member
|
/drivers/peripheral/usb/serial/include/ |
H A D | usb_serial_rawapi.h | 128 uint32_t nbIndex; member
|
H A D | usb_serial.h | 122 uint32_t nbIndex; member
|
/drivers/peripheral/usb/test/unittest/host_sdk/ |
H A D | usb_host_sdk_if_test.h | 105 uint32_t nbIndex; member
|
H A D | usb_raw_sdk_if_test.h | 104 uint32_t nbIndex; member
|
H A D | usb_host_sdk_if_test.cpp | 145 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 D | usb_raw_sdk_if_test.cpp | 246 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 D | cdc_ether.h | 106 uint32_t nbIndex; member
|
H A D | usb_net_host.h | 115 uint32_t nbIndex; member
|
/drivers/peripheral/usb/net/src/ |
H A D | usb_net_host.c | 370 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 D | cdc_ether.c | 752 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 D | usb_serial_rawapi.c | 1052 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 D | usb_serial.c | 1294 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 D | usb_test.h | 190 uint32_t nbIndex; member
|
H A D | usb_raw_test.h | 239 uint32_t nbIndex; member
|