Home
last modified time | relevance | path

Searched refs:notify (Results 1 – 15 of 15) sorted by relevance

/drivers/peripheral/usb/test/unittest/device_sdk/
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 && acm->notify->Connect) { in Enable()
[all …]
Dusb_device_cdcacm_test.h122 struct AcmNotifyMethod *notify; member
/drivers/hdf_core/framework/test/unittest/model/usb/device/src/
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 + 1), length, data, length); in SendNotifyRequest()
[all …]
/drivers/hdf_core/framework/model/network/wifi/core/components/eapol/
Deapol.h23 void (*notify)(const char *name, void *context); /* notify eapol frame enqueue message */ member
33 void (*notify)(const char *name, void *context); member
Deapol.c36 eapol->notify = buff->notify; in EnableEapol()
51 eapol->notify = NULL; in DisableEapol()
181 if (eapol->regFlag && (eapol->notify != NULL)) { in WriteEapolToQueue()
186 eapol->notify(netDevice->name, eapol->context); in WriteEapolToQueue()
/drivers/peripheral/usb/gadget/function/acm/
Dcdcacm.c458 if (acm->notify && acm->notify->Connect) { in UsbSerialOpen()
459 acm->notify->Connect(acm); in UsbSerialOpen()
485 if (acm->notify && acm->notify->Disconnect) { in UsbSerialClose()
486 acm->notify->Disconnect(acm); in UsbSerialClose()
1182 if (acm->notify && acm->notify->Connect) { in AcmResume()
1183 acm->notify->Connect(acm); in AcmResume()
1238 struct UsbCdcNotification *notify = NULL; in AcmSendNotifyRequest() local
1248 req->length = sizeof(*notify) + length; in AcmSendNotifyRequest()
1250 notify = (struct UsbCdcNotification *)req->buf; in AcmSendNotifyRequest()
1251 notify->bmRequestType = USB_DDK_DIR_IN | USB_DDK_TYPE_CLASS | USB_DDK_RECIP_INTERFACE; in AcmSendNotifyRequest()
[all …]
/drivers/interface/power/v1_0/
DIPowerHdiCallback.idl55 … * This callback is used to notify the power service when the device enters the hibernation state.
64 * This callback is used to notify the power service when the device enters the wakeup state.
/drivers/interface/power/v1_1/
DIPowerHdiCallback.idl55 … * This callback is used to notify the power service when the device enters the hibernation state.
64 * This callback is used to notify the power service when the device enters the wakeup state.
/drivers/peripheral/usb/gadget/function/include/
Dcdcacm.h121 struct AcmNotifyMethod *notify; member
/drivers/hdf_core/framework/test/unittest/model/usb/device/include/
Dusb_device_lite_cdcacm_test.h116 struct AcmNotifyMethod *notify; member
/drivers/hdf_core/framework/include/net/
Dnet_device.h508 …uint32_t (*netifNotify)(struct NetDevice *netDev, NetDevNotify *notify); /**< Notifies the networ…
/drivers/interface/distributed_camera/v1_0/
DIDCameraProvider.idl113 …* @brief Called to notify some events from distributed camera SA service to distributed camera HDF…
/drivers/interface/secure_element/v1_0/
DISecureElementInterface.idl32 * @param callback The callback used to notify the secure element status changed.
/drivers/interface/camera/v1_0/
DIStreamOperator.idl181 * When the capture is started, {@link OnCaptureStarted} is called to notify of the start.
183 … * When the capture ends, {@link OnCaptureEnded} is called to notify the caller of the information
/drivers/interface/display/composer/v1_0/
DIDisplayComposer.idl29 …* @param cb Indicates the instance used to notify the graphics service of a hot plug event occurre…
55 …* @param cb Indicates the instance used to notify the graphics service of the VBLANK event occurre…