Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/wusbcore/
Dwa-nep.c85 struct wa_notif_hdr *notif_hdr; in wa_notif_dispatch() local
100 if (size < sizeof(*notif_hdr)) { in wa_notif_dispatch()
101 missing = sizeof(*notif_hdr) - size; in wa_notif_dispatch()
104 notif_hdr = itr; in wa_notif_dispatch()
105 if (size < notif_hdr->bLength) in wa_notif_dispatch()
107 itr += notif_hdr->bLength; in wa_notif_dispatch()
108 size -= notif_hdr->bLength; in wa_notif_dispatch()
110 switch (notif_hdr->bNotifyType) { in wa_notif_dispatch()
113 hwa_dn = container_of(notif_hdr, struct hwa_notif_dn, in wa_notif_dispatch()
117 notif_hdr->bLength - sizeof(*hwa_dn)); in wa_notif_dispatch()
[all …]
Dwa-xfer.c2903 void wa_handle_notif_xfer(struct wahc *wa, struct wa_notif_hdr *notif_hdr) in wa_handle_notif_xfer() argument
2909 notif_xfer = container_of(notif_hdr, struct wa_notif_xfer, hdr); in wa_handle_notif_xfer()
2910 BUG_ON(notif_hdr->bNotifyType != WA_NOTIF_TRANSFER); in wa_handle_notif_xfer()