Lines Matching refs:dr
384 struct UsbCdcNotification *dr = (struct UsbCdcNotification *)buf;
386 switch (dr->bNotificationType) {
388 HARCH_INFO_PRINT("%{public}s - network connection: %{public}d\n", __func__, dr->wValue);
395 __func__, dr->bNotificationType, dr->wIndex, dr->wLength);
412 struct UsbCdcNotification *dr = (struct UsbCdcNotification *)req->buffer;
413 if (dr == NULL) {
414 HDF_LOGE("%{public}s:%{public}d req->buffer(dr) is NULL!", __func__, __LINE__);
425 dr = (struct UsbCdcNotification *)usbNet->notificationBuffer;
428 if (dr != NULL) {
429 expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength);
431 HDF_LOGE("%{public}s:%{public}d dr is NULL!", __func__, __LINE__);
443 UsbnetHostProcessNotification(usbNet, (unsigned char *)dr);