/drivers/peripheral/usb/net/src/ |
H A D | cdc_ether.c | 732 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 D | usb_net_host.c | 384 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 D | usb_serial_rawapi.c | 1022 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 D | usb_serial.c | 1255 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 D | usb_device_cdcacm_test.cpp | 449 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 D | usb_device_sdk_io_test.cpp | 311 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 D | usb_device_sdk_if_test.cpp | 704 sizeof(struct UsbCdcNotification)); in HWTEST_F()
|
/drivers/peripheral/usb/gadget/function/ecm/ |
H A D | cdcecm.c | 444 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 D | usb_device_lite_cdcacm_test.c | 434 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 D | usb_device_lite_sdk_if_test.c | 986 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 D | usb_device_lite_sdk_io_test.c | 464 req = UsbFnAllocCtrlRequest(acmDevice->ctrlIface.handle, sizeof(struct UsbCdcNotification)); in UsbFnDviceTestCancelRequest002()
|
/drivers/peripheral/usb/test/unittest/host_sdk/ |
H A D | usb_host_sdk_if_test.cpp | 115 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 D | usb_raw_sdk_if_test.cpp | 213 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 D | usb_raw_sdk_if_test_io.cpp | 219 struct UsbCdcNotification *dr = reinterpret_cast<struct UsbCdcNotification *>(req->buffer); in AcmNotifyReqCallback()
|
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/ |
H A D | usb_raw_io.c | 204 struct UsbCdcNotification *dr = (struct UsbCdcNotification *)req->buffer; in AcmNotifyReqCallback()
|
/drivers/peripheral/usb/interfaces/ddk/common/ |
H A D | usb_ddk.h | 306 struct UsbCdcNotification {
struct
|
/drivers/peripheral/usb/gadget/function/acm/ |
H A D | cdcacm.c | 1041 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()
|