Home
last modified time | relevance | path

Searched refs:UsbCdcNotification (Results 1 – 16 of 16) sorted by relevance

/drivers/peripheral/usb/net/src/
Dcdc_ether.c723 struct UsbCdcNotification *dr = (struct UsbCdcNotification *)buf; in EcmProcessNotification()
741 struct UsbCdcNotification *dr = (struct UsbCdcNotification *)req->compInfo.buffer; in EcmCtrlIrq()
754 dr = (struct UsbCdcNotification *)ecm->notificationBuffer; in EcmCtrlIrq()
756 uint32_t expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength); in EcmCtrlIrq()
/drivers/peripheral/usb/serial/src/
Dusb_serial_rawapi.c1018 struct UsbCdcNotification *dr = (struct UsbCdcNotification *)buf; in AcmProcessNotification()
1069 struct UsbCdcNotification *dr = (struct UsbCdcNotification *)req->buffer; in AcmNotifyReqCallback()
1084 dr = (struct UsbCdcNotification *)acm->notificationBuffer; in AcmNotifyReqCallback()
1087 expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength); in AcmNotifyReqCallback()
Dusb_serial.c1239 struct UsbCdcNotification *dr = (struct UsbCdcNotification *)buf; in AcmProcessNotification()
1253 …rlIrqCheckSize(struct UsbRequest * const req, struct AcmDevice *acm, struct UsbCdcNotification *dr) in AcmCtrlIrqCheckSize()
1263 unsigned int expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength); in AcmCtrlIrqCheckSize()
1304 struct UsbCdcNotification *dr = (struct UsbCdcNotification *)req->compInfo.buffer; in AcmCtrlIrq()
1310 dr = (struct UsbCdcNotification *)acm->notificationBuffer; in AcmCtrlIrq()
/drivers/peripheral/usb/gadget/function/ecm/
Dcdcecm.c429 struct UsbCdcNotification *event = NULL; in EcmDoNotify()
437 event = (struct UsbCdcNotification *)req->buf; in EcmDoNotify()
491 struct UsbCdcNotification *event = req->buf; in EcmNotifyComplete()
648 …ocRequest(ecm->ctrlIface.handle, ecm->notifyPipe.id, sizeof(struct UsbCdcNotification) * USBCDC_LE… in EcmAllocNotifyRequest()
/drivers/peripheral/usb/test/unittest/device_sdk/
Dusb_device_cdcacm_test.cpp449 struct UsbCdcNotification *notify = nullptr; in SendNotifyRequest()
460 notify = static_cast<struct UsbCdcNotification *>(req->buf); in SendNotifyRequest()
515 …cRequest(acmDevice->ctrlIface.handle, acmDevice->notifyPipe.id, sizeof(struct UsbCdcNotification)); in AllocNotifyRequest()
Dusb_device_sdk_io_test.cpp311 …uest(g_acmDevice->ctrlIface.handle, g_acmDevice->notifyPipe.id, sizeof(struct UsbCdcNotification));
327 …otifyReq = UsbFnAllocCtrlRequest(g_acmDevice->ctrlIface.handle, sizeof(struct UsbCdcNotification));
396 …uest(g_acmDevice->ctrlIface.handle, g_acmDevice->notifyPipe.id, sizeof(struct UsbCdcNotification));
Dusb_device_sdk_if_test.cpp704 sizeof(struct UsbCdcNotification));
/drivers/hdf_core/framework/test/unittest/model/usb/device/src/
Dusb_device_lite_cdcacm_test.c434 struct UsbCdcNotification *notify = NULL; in SendNotifyRequest()
447 notify = (struct UsbCdcNotification *)req->buf; in SendNotifyRequest()
505 …cRequest(acmDevice->ctrlIface.handle, acmDevice->notifyPipe.id, sizeof(struct UsbCdcNotification)); in AllocNotifyRequest()
Dusb_device_lite_sdk_if_test.c986 …uest(g_acmDevice->ctrlIface.handle, g_acmDevice->notifyPipe.id, sizeof(struct UsbCdcNotification)); in UsbFnDviceTestAllocRequest()
1299 …uest(g_acmDevice->ctrlIface.handle, g_acmDevice->notifyPipe.id, sizeof(struct UsbCdcNotification)); in UsbFnDviceTestGetRequestStatus()
1331 UsbFnAllocCtrlRequest(g_acmDevice->ctrlIface.handle, sizeof(struct UsbCdcNotification)); in UsbFnDviceTestGetRequestStatus002()
Dusb_device_lite_sdk_io_test.c464 req = UsbFnAllocCtrlRequest(acmDevice->ctrlIface.handle, sizeof(struct UsbCdcNotification)); in UsbFnDviceTestCancelRequest002()
/drivers/peripheral/usb/test/unittest/host_sdk/
Dusb_host_sdk_if_test.cpp115 static void AcmProcessNotification(struct AcmDevice *acm, struct UsbCdcNotification *dr) in AcmProcessNotification()
139 …struct UsbCdcNotification *dr = reinterpret_cast<struct UsbCdcNotification *>(req->compInfo.buffer… in AcmCtrlIrq()
146 dr = reinterpret_cast<struct UsbCdcNotification *>(acm->notificationBuffer); in AcmCtrlIrq()
152 uint32_t expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength); in AcmCtrlIrq()
Dusb_raw_sdk_if_test.cpp213 static void AcmProcessNotification(struct AcmDevice *acm, struct UsbCdcNotification *dr) in AcmProcessNotification()
237 struct UsbCdcNotification *dr = reinterpret_cast<struct UsbCdcNotification *>(req->buffer); in AcmNotifyReqCallback()
247 dr = reinterpret_cast<struct UsbCdcNotification *>(acm->notificationBuffer); in AcmNotifyReqCallback()
249 expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength); in AcmNotifyReqCallback()
Dusb_raw_sdk_if_test_io.cpp219 struct UsbCdcNotification *dr = reinterpret_cast<struct UsbCdcNotification *>(req->buffer); in AcmNotifyReqCallback()
/drivers/peripheral/usb/interfaces/ddk/common/
Dusb_ddk.h306 struct UsbCdcNotification { struct
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/
Dusb_raw_io.c204 struct UsbCdcNotification *dr = (struct UsbCdcNotification *)req->buffer; in AcmNotifyReqCallback()
/drivers/peripheral/usb/gadget/function/acm/
Dcdcacm.c1036 …ocRequest(acm->ctrlIface.handle, acm->notifyPipe.id, sizeof(struct UsbCdcNotification) * USBCDC_LE… in AcmAllocNotifyRequest()
1238 struct UsbCdcNotification *notify = NULL; in AcmSendNotifyRequest()
1250 notify = (struct UsbCdcNotification *)req->buf; in AcmSendNotifyRequest()