Home
last modified time | relevance | path

Searched refs:UsbCdcNotification (Results 1 - 17 of 17) sorted by relevance

/drivers/peripheral/usb/net/src/
H A Dcdc_ether.c732 struct UsbCdcNotification *dr = (struct UsbCdcNotification *)buf; in EcmProcessNotification()
747 static void EcmNotificationAndRequest(struct UsbRequest *req, struct EcmDevice *ecm, struct UsbCdcNotification *dr, in EcmNotificationAndRequest()
764 struct UsbCdcNotification *dr = (struct UsbCdcNotification *)req->compInfo.buffer; in EcmCtrlIrq()
777 dr = (struct UsbCdcNotification *)ecm->notificationBuffer; in EcmCtrlIrq()
779 uint32_t expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength); in EcmCtrlIrq()
H A Dusb_net_host.c384 struct UsbCdcNotification *dr = (struct UsbCdcNotification *)buf; in UsbnetHostProcessNotification()
412 struct UsbCdcNotification *dr = (struct UsbCdcNotification *)req->buffer; in UsbnetHostReqCallback()
425 dr = (struct UsbCdcNotification *)usbNet->notificationBuffer; in UsbnetHostReqCallback()
429 expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength); in UsbnetHostReqCallback()
/drivers/peripheral/usb/serial/src/
H A Dusb_serial_rawapi.c1022 struct UsbCdcNotification *dr = (struct UsbCdcNotification *)buf; in AcmProcessNotification()
1074 struct UsbCdcNotification *dr = (struct UsbCdcNotification *)req->buffer; in AcmNotifyReqCallback()
1089 dr = (struct UsbCdcNotification *)acm->notificationBuffer; in AcmNotifyReqCallback()
1092 expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength); in AcmNotifyReqCallback()
H A Dusb_serial.c1255 struct UsbCdcNotification *dr = (struct UsbCdcNotification *)buf; in AcmProcessNotification()
1270 static int32_t AcmCtrlIrqCheckSize(struct UsbRequest * const req, struct AcmDevice *acm, struct UsbCdcNotification *dr) in AcmCtrlIrqCheckSize()
1280 unsigned int expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength); in AcmCtrlIrqCheckSize()
1323 struct UsbCdcNotification *dr = (struct UsbCdcNotification *)req->compInfo.buffer; in AcmCtrlIrq()
1329 dr = (struct UsbCdcNotification *)acm->notificationBuffer; in AcmCtrlIrq()
/drivers/peripheral/usb/test/unittest/device_sdk/
H A Dusb_device_cdcacm_test.cpp449 struct UsbCdcNotification *notify = nullptr; in SendNotifyRequest()
460 notify = static_cast<struct UsbCdcNotification *>(req->buf); in SendNotifyRequest()
515 UsbFnAllocRequest(acmDevice->ctrlIface.handle, acmDevice->notifyPipe.id, sizeof(struct UsbCdcNotification)); in AllocNotifyRequest()
H A Dusb_device_sdk_io_test.cpp311 UsbFnAllocRequest(g_acmDevice->ctrlIface.handle, g_acmDevice->notifyPipe.id, sizeof(struct UsbCdcNotification)); in HWTEST_F()
327 notifyReq = UsbFnAllocCtrlRequest(g_acmDevice->ctrlIface.handle, sizeof(struct UsbCdcNotification)); in HWTEST_F()
396 UsbFnAllocRequest(g_acmDevice->ctrlIface.handle, g_acmDevice->notifyPipe.id, sizeof(struct UsbCdcNotification)); in HWTEST_F()
H A Dusb_device_sdk_if_test.cpp704 sizeof(struct UsbCdcNotification)); in HWTEST_F()
/drivers/peripheral/usb/gadget/function/ecm/
H A Dcdcecm.c444 struct UsbCdcNotification *event = NULL; in EcmDoNotify()
451 event = (struct UsbCdcNotification *)req->buf; in EcmDoNotify()
499 struct UsbCdcNotification *event = req->buf; in EcmNotifyComplete()
658 UsbFnAllocRequest(ecm->ctrlIface.handle, ecm->notifyPipe.id, sizeof(struct UsbCdcNotification) * USBCDC_LEN); in EcmAllocNotifyRequest()
/drivers/hdf_core/framework/test/unittest/model/usb/device/src/
H A Dusb_device_lite_cdcacm_test.c434 struct UsbCdcNotification *notify = NULL; in SendNotifyRequest()
447 notify = (struct UsbCdcNotification *)req->buf; in SendNotifyRequest()
505 UsbFnAllocRequest(acmDevice->ctrlIface.handle, acmDevice->notifyPipe.id, sizeof(struct UsbCdcNotification)); in AllocNotifyRequest()
H A Dusb_device_lite_sdk_if_test.c986 UsbFnAllocRequest(g_acmDevice->ctrlIface.handle, g_acmDevice->notifyPipe.id, sizeof(struct UsbCdcNotification)); in UsbFnDviceTestAllocRequest()
1299 UsbFnAllocRequest(g_acmDevice->ctrlIface.handle, g_acmDevice->notifyPipe.id, sizeof(struct UsbCdcNotification)); in UsbFnDviceTestGetRequestStatus()
1331 UsbFnAllocCtrlRequest(g_acmDevice->ctrlIface.handle, sizeof(struct UsbCdcNotification)); in UsbFnDviceTestGetRequestStatus002()
H A Dusb_device_lite_sdk_io_test.c464 req = UsbFnAllocCtrlRequest(acmDevice->ctrlIface.handle, sizeof(struct UsbCdcNotification)); in UsbFnDviceTestCancelRequest002()
/drivers/peripheral/usb/test/unittest/host_sdk/
H A 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()
H A 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()
H A Dusb_raw_sdk_if_test_io.cpp219 struct UsbCdcNotification *dr = reinterpret_cast<struct UsbCdcNotification *>(req->buffer); in AcmNotifyReqCallback()
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/
H A Dusb_raw_io.c204 struct UsbCdcNotification *dr = (struct UsbCdcNotification *)req->buffer; in AcmNotifyReqCallback()
/drivers/peripheral/usb/interfaces/ddk/common/
H A Dusb_ddk.h306 struct UsbCdcNotification { struct
/drivers/peripheral/usb/gadget/function/acm/
H A Dcdcacm.c1041 UsbFnAllocRequest(acm->ctrlIface.handle, acm->notifyPipe.id, sizeof(struct UsbCdcNotification) * USBCDC_LEN); in AcmAllocNotifyRequest()
1242 struct UsbCdcNotification *notify = NULL; in AcmSendNotifyRequest()
1254 notify = (struct UsbCdcNotification *)req->buf; in AcmSendNotifyRequest()

Completed in 33 milliseconds