Home
last modified time | relevance | path

Searched refs:notify (Results 1 - 9 of 9) sorted by relevance

/drivers/peripheral/usb/test/unittest/device_sdk/
H A Dusb_device_cdcacm_test.cpp449 struct UsbCdcNotification *notify = nullptr; in SendNotifyRequest() local
458 req->length = sizeof(*notify) + length; in SendNotifyRequest()
460 notify = static_cast<struct UsbCdcNotification *>(req->buf); in SendNotifyRequest()
461 notify->bmRequestType = USB_DDK_DIR_IN | USB_DDK_TYPE_CLASS | USB_DDK_RECIP_INTERFACE; in SendNotifyRequest()
462 notify->bNotificationType = type; in SendNotifyRequest()
463 notify->wValue = CPU_TO_LE16(value); in SendNotifyRequest()
464 notify->wIndex = CPU_TO_LE16(acm->ctrlIface.fn->info.index); in SendNotifyRequest()
465 notify->wLength = CPU_TO_LE16(length); in SendNotifyRequest()
466 if (memcpy_s(static_cast<void *>(notify + 1), length, data, length) != EOK) { in SendNotifyRequest()
572 if (acm->notify in Enable()
[all...]
H A Dusb_device_cdcacm_test.h122 struct AcmNotifyMethod *notify; member
/drivers/hdf_core/framework/model/network/wifi/core/components/eapol/
H A Deapol.h23 void (*notify)(const char *name, void *context); /* notify eapol frame enqueue message */ member
33 void (*notify)(const char *name, void *context); member
H A Deapol.c36 eapol->notify = buff->notify; in EnableEapol()
51 eapol->notify = NULL; in DisableEapol()
181 if (eapol->regFlag && (eapol->notify != NULL)) { in WriteEapolToQueue()
183 /* eapol data enqueue and notify wap processing */ in WriteEapolToQueue()
186 eapol->notify(netDevice->name, eapol->context); in WriteEapolToQueue()
189 /* free netbuff when not register notify. */ in WriteEapolToQueue()
/drivers/hdf_core/framework/test/unittest/model/usb/device/src/
H A Dusb_device_lite_cdcacm_test.c434 struct UsbCdcNotification *notify = NULL; in SendNotifyRequest() local
445 req->length = sizeof(*notify) + length; in SendNotifyRequest()
447 notify = (struct UsbCdcNotification *)req->buf; in SendNotifyRequest()
448 notify->bmRequestType = USB_DDK_DIR_IN | USB_DDK_TYPE_CLASS | USB_DDK_RECIP_INTERFACE; in SendNotifyRequest()
449 notify->bNotificationType = type; in SendNotifyRequest()
450 notify->wValue = CPU_TO_LE16(value); in SendNotifyRequest()
451 notify->wIndex = CPU_TO_LE16(acm->ctrlIface.fn->info.index); in SendNotifyRequest()
452 notify->wLength = CPU_TO_LE16(length); in SendNotifyRequest()
453 if (((void *)(notify + 1) == NULL) || (length == 0)) { in SendNotifyRequest()
456 ret = memcpy_s((void *)(notify in SendNotifyRequest()
[all...]
/drivers/peripheral/usb/gadget/function/acm/
H A Dcdcacm.c460 if (acm->notify && acm->notify->Connect) { in UsbSerialOpen()
461 acm->notify->Connect(acm); in UsbSerialOpen()
487 if (acm->notify && acm->notify->Disconnect) { in UsbSerialClose()
488 acm->notify->Disconnect(acm); in UsbSerialClose()
1043 HDF_LOGE("%{public}s: allocate notify request failed", __func__); in AcmAllocNotifyRequest()
1059 HDF_LOGE("%{public}s: free notify request failed", __func__); in AcmFreeNotifyRequest()
1186 if (acm->notify && acm->notify in AcmResume()
1242 struct UsbCdcNotification *notify = NULL; AcmSendNotifyRequest() local
[all...]
/drivers/peripheral/usb/gadget/function/include/
H A Dcdcacm.h121 struct AcmNotifyMethod *notify; member
/drivers/hdf_core/framework/test/unittest/model/usb/device/include/
H A Dusb_device_lite_cdcacm_test.h116 struct AcmNotifyMethod *notify; member
/drivers/hdf_core/framework/include/net/
H A Dnet_device.h508 uint32_t (*netifNotify)(struct NetDevice *netDev, NetDevNotify *notify); /**< Notifies the network port status. */

Completed in 8 milliseconds