Home
last modified time | relevance | path

Searched refs:nw (Results 1 – 5 of 5) sorted by relevance

/drivers/usb/wusbcore/
Dwa-nep.c96 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()
[all …]
/drivers/macintosh/
Dwindfarm_fcu_controls.c90 int tries, nr, nw; in wf_fcu_read_reg() local
97 nw = i2c_master_send(pv->i2c, buf, 1); in wf_fcu_read_reg()
98 if (nw > 0 || (nw < 0 && nw != -EIO) || tries >= 100) in wf_fcu_read_reg()
103 if (nw <= 0) { in wf_fcu_read_reg()
104 pr_err("Failure writing address to FCU: %d", nw); in wf_fcu_read_reg()
105 nr = nw; in wf_fcu_read_reg()
117 pr_err("wf_fcu: Failure reading data from FCU: %d", nw); in wf_fcu_read_reg()
126 int tries, nw; in wf_fcu_write_reg() local
134 nw = i2c_master_send(pv->i2c, buf, nb); in wf_fcu_write_reg()
135 if (nw > 0 || (nw < 0 && nw != -EIO) || tries >= 100) in wf_fcu_write_reg()
[all …]
/drivers/media/pci/bt8xx/
Dbtcx-risc.c129 s32 nx,nw,dx; in btcx_align() local
134 nw = (win->width) & ~mask; in btcx_align()
135 if (nx + nw > win->left + win->width) in btcx_align()
136 nw -= mask+1; in btcx_align()
139 win->width = nw; in btcx_align()
147 nw = (clips[i].c.width) & ~mask; in btcx_align()
148 if (nx + nw < clips[i].c.left-dx + clips[i].c.width) in btcx_align()
149 nw += mask+1; in btcx_align()
151 clips[i].c.width = nw; in btcx_align()
/drivers/infiniband/hw/qib/
Dqib_user_sdma.c821 size_t nw; in qib_user_sdma_queue_pkts() local
837 nw = len >> 2; in qib_user_sdma_queue_pkts()
862 pktnwc = nw - 1; in qib_user_sdma_queue_pkts()
/drivers/infiniband/hw/hfi1/
Dsdma.c1748 struct iowait *wait, *nw; in sdma_desc_avail() local
1768 nw, in sdma_desc_avail()