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

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

Completed in 92 milliseconds