Home
last modified time | relevance | path

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

/linux-4.4.14/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 …]
/linux-4.4.14/arch/powerpc/mm/
Dsubpage-prot.c99 size_t nw; in subpage_prot_clear() local
121 nw = PTRS_PER_PTE - i; in subpage_prot_clear()
122 if (addr + (nw << PAGE_SHIFT) > next) in subpage_prot_clear()
123 nw = (next - addr) >> PAGE_SHIFT; in subpage_prot_clear()
125 memset(spp, 0, nw * sizeof(u32)); in subpage_prot_clear()
128 hpte_flush_range(mm, addr, nw); in subpage_prot_clear()
194 size_t nw; in sys_subpage_prot() local
246 nw = PTRS_PER_PTE - i; in sys_subpage_prot()
247 if (addr + (nw << PAGE_SHIFT) > next) in sys_subpage_prot()
248 nw = (next - addr) >> PAGE_SHIFT; in sys_subpage_prot()
[all …]
/linux-4.4.14/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 …]
/linux-4.4.14/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()
/linux-4.4.14/crypto/
Dvmac.c111 #define nh_16(mp, kp, nw, rh, rl) \ argument
115 for (i = 0; i < nw; i += 2) { \
122 #define nh_16_2(mp, kp, nw, rh, rl, rh1, rl1) \ argument
126 for (i = 0; i < nw; i += 2) { \
137 #define nh_vmac_nhbytes(mp, kp, nw, rh, rl) \ argument
141 for (i = 0; i < nw; i += 8) { \
157 #define nh_vmac_nhbytes_2(mp, kp, nw, rh, rl, rh1, rl1) \ argument
161 for (i = 0; i < nw; i += 8) { \
216 #define nh_16(mp, kp, nw, rh, rl) \ argument
221 for (i = 0; i < nw; i += 2) { \
[all …]
/linux-4.4.14/fs/jfs/
Djfs_dmap.c1128 int dbitno, word, rembits, nb, nwords, wbitno, nw; in dbAllocNext() local
1215 nw = BUDSIZE(l2size, BUDMIN); in dbAllocNext()
1217 nwords -= nw; in dbAllocNext()
1218 word += nw; in dbAllocNext()
2180 int dbitno, word, rembits, nb, nwords, wbitno, nw, agno; in dbAllocBits() local
2251 for (; nwords > 0; nwords -= nw) { in dbAllocBits()
2275 nw = BUDSIZE(size, BUDMIN); in dbAllocBits()
2276 word += nw; in dbAllocBits()
2327 int dbitno, word, rembits, nb, nwords, wbitno, nw, agno; in dbFreeBits() local
2399 for (; nwords > 0; nwords -= nw) { in dbFreeBits()
[all …]
/linux-4.4.14/scripts/
Dget_maintainer.pl2151 my @nw = split(/[^A-Za-zÀ-ÿ\'\,\.\+-]/, $name);
2152 if (@nw > 2) {
2153 my $first = $nw[@nw - 3];
2154 my $middle = $nw[@nw - 2];
2155 my $last = $nw[@nw - 1];
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_user_sdma.c405 size_t nw; in ipath_user_sdma_queue_pkts() local
420 nw = len >> 2; in ipath_user_sdma_queue_pkts()
461 pktnwc = nw - 1; in ipath_user_sdma_queue_pkts()
/linux-4.4.14/arch/powerpc/kvm/
Dbook3s_64_mmu_hv.c1241 unsigned long i, nb, nw; in kvm_htab_read() local
1265 nw = nb; in kvm_htab_read()
1311 nw = nb; in kvm_htab_read()
1314 nb = nw; in kvm_htab_read()
/linux-4.4.14/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()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dsdma.c1415 struct iowait *wait, *nw; in sdma_desc_avail() local
1435 nw, in sdma_desc_avail()