Home
last modified time | relevance | path

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

/drivers/peripheral/usb/sample/host/include/
H A Dusbhost_sdkapi_speed.h125 uint8_t *notificationBuffer; member
H A Dusbhost_sdkraw_speed.h125 uint8_t *notificationBuffer; member
/drivers/peripheral/usb/sample/host/liteos_test/include/
H A Dusbhost_sdkapi_speed.h122 uint8_t *notificationBuffer; member
H A Dusbhost_nosdk_speed.h119 uint8_t *notificationBuffer; member
H A Dusbhost_sdkraw_speed.h120 uint8_t *notificationBuffer; member
/drivers/peripheral/usb/serial/include/
H A Dusb_serial_rawapi.h134 uint8_t *notificationBuffer; member
H A Dusb_serial.h129 uint8_t *notificationBuffer; member
/drivers/peripheral/usb/test/unittest/host_sdk/
H A Dusb_host_sdk_if_test.h92 uint8_t *notificationBuffer; member
H A Dusb_raw_sdk_if_test.h110 uint8_t *notificationBuffer; member
H A Dusb_host_sdk_if_test.cpp146 dr = reinterpret_cast<struct UsbCdcNotification *>(acm->notificationBuffer); in AcmCtrlIrq()
156 OsalMemFree(acm->notificationBuffer); in AcmCtrlIrq()
160 acm->notificationBuffer = (uint8_t *)OsalMemCalloc(allocSize); in AcmCtrlIrq()
161 if (!acm->notificationBuffer) { in AcmCtrlIrq()
167 if (memcpy_s(&acm->notificationBuffer[acm->nbIndex], acm->nbSize - acm->nbIndex, req->compInfo.buffer, in AcmCtrlIrq()
H A Dusb_raw_sdk_if_test.cpp247 dr = reinterpret_cast<struct UsbCdcNotification *>(acm->notificationBuffer); in AcmNotifyReqCallback()
253 OsalMemFree(acm->notificationBuffer); in AcmNotifyReqCallback()
257 acm->notificationBuffer = (uint8_t *)OsalMemCalloc(allocSize); in AcmNotifyReqCallback()
258 if (!acm->notificationBuffer) { in AcmNotifyReqCallback()
264 if (memcpy_s(&acm->notificationBuffer[acm->nbIndex], acm->nbSize - acm->nbIndex, req->buffer, copySize) != in AcmNotifyReqCallback()
/drivers/peripheral/usb/net/include/
H A Dcdc_ether.h113 uint8_t *notificationBuffer; member
H A Dusb_net_host.h119 uint8_t *notificationBuffer; member
/drivers/peripheral/usb/net/src/
H A Dcdc_ether.c777 dr = (struct UsbCdcNotification *)ecm->notificationBuffer; in EcmCtrlIrq()
783 OsalMemFree(ecm->notificationBuffer); in EcmCtrlIrq()
787 ecm->notificationBuffer = OsalMemCalloc(allocSize); in EcmCtrlIrq()
788 if (!ecm->notificationBuffer) { in EcmCtrlIrq()
795 &ecm->notificationBuffer[ecm->nbIndex], ecm->nbSize - ecm->nbIndex, req->compInfo.buffer, copySize); in EcmCtrlIrq()
798 OsalMemFree(ecm->notificationBuffer); in EcmCtrlIrq()
799 ecm->notificationBuffer = NULL; in EcmCtrlIrq()
H A Dusb_net_host.c360 OsalMemFree(usbNet->notificationBuffer); in UsbnetHostNotificationBufferProcess()
364 usbNet->notificationBuffer = (uint8_t *)OsalMemCalloc(allocSize); in UsbnetHostNotificationBufferProcess()
365 if (!usbNet->notificationBuffer) { in UsbnetHostNotificationBufferProcess()
371 int32_t ret = memcpy_s(&usbNet->notificationBuffer[usbNet->nbIndex], in UsbnetHostNotificationBufferProcess()
425 dr = (struct UsbCdcNotification *)usbNet->notificationBuffer; in UsbnetHostReqCallback()
/drivers/hdf_core/framework/test/unittest/model/usb/host/include/
H A Dusb_test.h175 uint8_t *notificationBuffer; member
H A Dusb_raw_test.h245 uint8_t *notificationBuffer; member
/drivers/peripheral/usb/serial/src/
H A Dusb_serial_rawapi.c1042 OsalMemFree(acm->notificationBuffer); in AcmNotificationBufferProcess()
1046 acm->notificationBuffer = (uint8_t *)OsalMemCalloc(allocSize); in AcmNotificationBufferProcess()
1047 if (!acm->notificationBuffer) { in AcmNotificationBufferProcess()
1053 int32_t ret = memcpy_s(&acm->notificationBuffer[acm->nbIndex], acm->nbSize - acm->nbIndex, req->buffer, copySize); in AcmNotificationBufferProcess()
1089 dr = (struct UsbCdcNotification *)acm->notificationBuffer; in AcmNotifyReqCallback()
H A Dusb_serial.c1284 OsalMemFree(acm->notificationBuffer); in AcmCtrlIrqCheckSize()
1288 acm->notificationBuffer = OsalMemCalloc(allocSize); in AcmCtrlIrqCheckSize()
1289 if (!acm->notificationBuffer) { in AcmCtrlIrqCheckSize()
1295 if (memcpy_s(&acm->notificationBuffer[acm->nbIndex], acm->nbSize - acm->nbIndex, req->compInfo.buffer, in AcmCtrlIrqCheckSize()
1298 OsalMemFree(acm->notificationBuffer); in AcmCtrlIrqCheckSize()
1299 acm->notificationBuffer = NULL; in AcmCtrlIrqCheckSize()
1329 dr = (struct UsbCdcNotification *)acm->notificationBuffer; in AcmCtrlIrq()

Completed in 19 milliseconds