Home
last modified time | relevance | path

Searched refs:notif_hdr (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/usb/wusbcore/
Dwa-nep.c99 struct wa_notif_hdr *notif_hdr; in wa_notif_dispatch() local
115 if (size < sizeof(*notif_hdr)) { in wa_notif_dispatch()
116 missing = sizeof(*notif_hdr) - size; in wa_notif_dispatch()
119 notif_hdr = itr; in wa_notif_dispatch()
120 if (size < notif_hdr->bLength) in wa_notif_dispatch()
122 itr += notif_hdr->bLength; in wa_notif_dispatch()
123 size -= notif_hdr->bLength; in wa_notif_dispatch()
125 switch (notif_hdr->bNotifyType) { in wa_notif_dispatch()
128 hwa_dn = container_of(notif_hdr, struct hwa_notif_dn, in wa_notif_dispatch()
132 notif_hdr->bLength - sizeof(*hwa_dn)); in wa_notif_dispatch()
[all …]
Dwa-xfer.c2918 void wa_handle_notif_xfer(struct wahc *wa, struct wa_notif_hdr *notif_hdr) in wa_handle_notif_xfer() argument
2924 notif_xfer = container_of(notif_hdr, struct wa_notif_xfer, hdr); in wa_handle_notif_xfer()
2925 BUG_ON(notif_hdr->bNotifyType != WA_NOTIF_TRANSFER); in wa_handle_notif_xfer()