Lines Matching refs:nw
96 struct wa_notif_work *nw = container_of(ws, struct wa_notif_work, in wa_notif_dispatch() local
98 struct wahc *wa = nw->wa; in wa_notif_dispatch()
111 size = nw->size; in wa_notif_dispatch()
112 itr = nw->data; in wa_notif_dispatch()
154 kfree(nw); in wa_notif_dispatch()
185 struct wa_notif_work *nw; in wa_nep_queue() local
197 nw = kzalloc(sizeof(*nw) + size, GFP_ATOMIC); in wa_nep_queue()
198 if (nw == NULL) { in wa_nep_queue()
203 INIT_WORK(&nw->work, wa_notif_dispatch); in wa_nep_queue()
204 nw->wa = wa_get(wa); in wa_nep_queue()
205 nw->size = size; in wa_nep_queue()
206 memcpy(nw->data, wa->nep_buffer, size); in wa_nep_queue()
208 queue_work(wusbd, &nw->work); in wa_nep_queue()