Lines Matching defs:notify
460 if (acm->notify && acm->notify->Connect) {
461 acm->notify->Connect(acm);
487 if (acm->notify && acm->notify->Disconnect) {
488 acm->notify->Disconnect(acm);
1043 HDF_LOGE("%{public}s: allocate notify request failed", __func__);
1059 HDF_LOGE("%{public}s: free notify request failed", __func__);
1186 if (acm->notify && acm->notify->Connect) {
1187 acm->notify->Connect(acm);
1242 struct UsbCdcNotification *notify = NULL;
1252 req->length = sizeof(*notify) + length;
1254 notify = (struct UsbCdcNotification *)req->buf;
1255 notify->bmRequestType = USB_DDK_DIR_IN | USB_DDK_TYPE_CLASS | USB_DDK_RECIP_INTERFACE;
1256 notify->bNotificationType = type;
1257 notify->wValue = CPU_TO_LE16(value);
1258 notify->wIndex = CPU_TO_LE16(acm->ctrlIface.fn->info.index);
1259 notify->wLength = CPU_TO_LE16(length);
1260 ret = memcpy_s((void *)(notify + 1), length, data, length);
1268 HDF_LOGE("%{public}s: send notify request failed", __func__);
1537 acm->notify = NULL;
1587 acm->notify = &g_acmNotifyMethod;