Home
last modified time | relevance | path

Searched refs:currentSize (Results 1 - 11 of 11) sorted by relevance

/drivers/peripheral/usb/net/src/
H A Dusb_net_host.c356 struct UsbnetHost *usbNet, unsigned int currentSize, unsigned int expectedSize) in UsbnetHostNotificationBufferProcess()
370 unsigned int copySize = MIN(currentSize, expectedSize - usbNet->nbIndex); in UsbnetHostNotificationBufferProcess()
417 unsigned int currentSize = (unsigned int)req->actualLength; in UsbnetHostReqCallback() local
419 HARCH_INFO_PRINT("Irqstatus:%{public}d,actualLength:%{public}u\n", req->status, currentSize); in UsbnetHostReqCallback()
435 if (currentSize < expectedSize) { in UsbnetHostReqCallback()
436 if (UsbnetHostNotificationBufferProcess(req, usbNet, currentSize, expectedSize) != HDF_SUCCESS) { in UsbnetHostReqCallback()
439 currentSize = usbNet->nbIndex; in UsbnetHostReqCallback()
442 if (currentSize >= expectedSize) { in UsbnetHostReqCallback()
355 UsbnetHostNotificationBufferProcess(const struct UsbRawRequest *req, struct UsbnetHost *usbNet, unsigned int currentSize, unsigned int expectedSize) UsbnetHostNotificationBufferProcess() argument
H A Dcdc_ether.c748 unsigned int currentSize, uint32_t expectedSize) in EcmNotificationAndRequest()
750 if (currentSize >= expectedSize) { in EcmNotificationAndRequest()
765 unsigned int currentSize = req->compInfo.actualLength; in EcmCtrlIrq() local
780 if (currentSize < expectedSize) { in EcmCtrlIrq()
793 uint32_t copySize = MIN(currentSize, expectedSize - ecm->nbIndex); in EcmCtrlIrq()
803 currentSize = ecm->nbIndex; in EcmCtrlIrq()
805 EcmNotificationAndRequest(req, ecm, dr, currentSize, expectedSize); in EcmCtrlIrq()
747 EcmNotificationAndRequest(struct UsbRequest *req, struct EcmDevice *ecm, struct UsbCdcNotification *dr, unsigned int currentSize, uint32_t expectedSize) EcmNotificationAndRequest() argument
/drivers/peripheral/usb/serial/src/
H A Dusb_serial_rawapi.c1038 const struct UsbRawRequest *req, struct AcmDevice *acm, unsigned int currentSize, unsigned int expectedSize) in AcmNotificationBufferProcess()
1052 unsigned int copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmNotificationBufferProcess()
1079 unsigned int currentSize = (unsigned int)req->actualLength; in AcmNotifyReqCallback() local
1082 HDF_LOGD("Irqstatus:%{public}d,actualLength:%{public}u", req->status, currentSize); in AcmNotifyReqCallback()
1097 if (currentSize < expectedSize) { in AcmNotifyReqCallback()
1098 if (AcmNotificationBufferProcess(req, acm, currentSize, expectedSize) != HDF_SUCCESS) { in AcmNotifyReqCallback()
1101 currentSize = acm->nbIndex; in AcmNotifyReqCallback()
1103 if (currentSize >= expectedSize) { in AcmNotifyReqCallback()
1037 AcmNotificationBufferProcess( const struct UsbRawRequest *req, struct AcmDevice *acm, unsigned int currentSize, unsigned int expectedSize) AcmNotificationBufferProcess() argument
H A Dusb_serial.c1277 unsigned int currentSize = req->compInfo.actualLength; in AcmCtrlIrqCheckSize() local
1278 HDF_LOGD("actualLength:%{public}u", currentSize); in AcmCtrlIrqCheckSize()
1281 if (currentSize < expectedSize) { in AcmCtrlIrqCheckSize()
1294 unsigned int copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmCtrlIrqCheckSize()
1302 currentSize = acm->nbIndex; in AcmCtrlIrqCheckSize()
1305 if (currentSize >= expectedSize) { in AcmCtrlIrqCheckSize()
/drivers/external_device_manager/frameworks/ddk/usb/
H A Dusb_config_desc_parser.cpp273 size_t currentSize = interfaceNums.size(); in GetInterfaceNumberDes() local
275 for (i = 0; i < currentSize; ++i) { in GetInterfaceNumberDes()
280 if (i < currentSize) { in GetInterfaceNumberDes()
284 } else if (currentSize < USB_MAXINTERFACES) { in GetInterfaceNumberDes()
/drivers/peripheral/usb/test/unittest/host_sdk/
H A Dusb_host_sdk_if_test_io.cpp102 unsigned int currentSize = req->compInfo.actualLength; in AcmCtrlIrq() local
103 HDF_LOGI("%{public}s: Irqstatus:%{public}d, actualLength:%{public}u", __func__, status, currentSize); in AcmCtrlIrq()
H A Dusb_host_sdk_if_test.cpp140 uint32_t currentSize = req->compInfo.actualLength; in AcmCtrlIrq() local
153 if (currentSize < expectedSize) { in AcmCtrlIrq()
166 uint32_t copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmCtrlIrq()
172 currentSize = acm->nbIndex; in AcmCtrlIrq()
174 if (currentSize >= expectedSize) { in AcmCtrlIrq()
H A Dusb_raw_sdk_if_test.cpp241 unsigned int currentSize = req->actualLength; in AcmNotifyReqCallback() local
250 if (currentSize < expectedSize) { in AcmNotifyReqCallback()
263 copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmNotifyReqCallback()
269 currentSize = acm->nbIndex; in AcmNotifyReqCallback()
271 if (currentSize >= expectedSize) { in AcmNotifyReqCallback()
H A Dusb_raw_sdk_if_test_io.cpp224 unsigned int currentSize = req->actualLength; in AcmNotifyReqCallback() local
225 printf("Irqstatus:%d,actualLength:%u\n", req->status, currentSize); in AcmNotifyReqCallback()
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/
H A Dusb_raw_io.c209 unsigned int currentSize = req->actualLength; in AcmNotifyReqCallback() local
211 printf("Irqstatus:%d,actualLength:%u\n", req->status, currentSize); in AcmNotifyReqCallback()
H A Dusb_test.c137 unsigned int currentSize = req->compInfo.actualLength; in AcmCtrlIrq() local
138 printf("Irqstatus:%d,actualLength:%u\n", status, currentSize); in AcmCtrlIrq()

Completed in 19 milliseconds