nwords 2225 drivers/ata/sata_mv.c static unsigned int mv_send_fis(struct ata_port *ap, u32 *fis, int nwords) nwords 2229 drivers/ata/sata_mv.c int i, timeout = 200, final_word = nwords - 1; nwords 430 drivers/crypto/ux500/hash/hash_core.c int nwords = 1; nwords 437 drivers/crypto/ux500/hash/hash_core.c HASH_SET_DIN(key_word, nwords); nwords 450 drivers/crypto/ux500/hash/hash_core.c HASH_SET_DIN(&word, nwords); nwords 617 drivers/crypto/ux500/hash/hash_core.c int nwords = 1; nwords 627 drivers/crypto/ux500/hash/hash_core.c HASH_SET_DIN(message, nwords); nwords 633 drivers/crypto/ux500/hash/hash_core.c HASH_SET_DIN(message, nwords); nwords 1265 drivers/infiniband/hw/hfi1/rc.c u32 *nwords) nwords 1318 drivers/infiniband/hw/hfi1/rc.c u32 *nwords) nwords 1336 drivers/infiniband/hw/hfi1/rc.c *nwords = SIZE_OF_CRC + ((extra_bytes + SIZE_OF_LT) >> 2); nwords 1342 drivers/infiniband/hw/hfi1/rc.c *hwords - 4, *nwords); nwords 1352 drivers/infiniband/hw/hfi1/rc.c len = (*hwords + *nwords) >> 1; nwords 1371 drivers/infiniband/hw/hfi1/rc.c u32 *nwords); nwords 1397 drivers/infiniband/hw/hfi1/rc.c u32 nwords = 0; nwords 1423 drivers/infiniband/hw/hfi1/rc.c &pbc_flags, &hwords, &nwords); nwords 1425 drivers/infiniband/hw/hfi1/rc.c plen = 2 /* PBC */ + hwords + nwords; nwords 169 drivers/infiniband/hw/hfi1/ruc.c const struct ib_global_route *grh, u32 hwords, u32 nwords) nwords 175 drivers/infiniband/hw/hfi1/ruc.c hdr->paylen = cpu_to_be16((hwords + nwords) << 2); nwords 287 drivers/infiniband/hw/hfi1/ruc.c u32 nwords = SIZE_OF_CRC + ((ps->s_txreq->s_cur_size + nwords 307 drivers/infiniband/hw/hfi1/ruc.c nwords); nwords 342 drivers/infiniband/hw/hfi1/ruc.c (ps->s_txreq->hdr_dwords + nwords) >> 1, nwords 371 drivers/infiniband/hw/hfi1/ruc.c u32 nwords = SIZE_OF_CRC + ((ps->s_txreq->s_cur_size + nwords 382 drivers/infiniband/hw/hfi1/ruc.c nwords); nwords 409 drivers/infiniband/hw/hfi1/ruc.c ps->s_txreq->hdr_dwords + nwords, nwords 306 drivers/infiniband/hw/hfi1/ud.c u32 nwords, extra_bytes; nwords 322 drivers/infiniband/hw/hfi1/ud.c nwords = ((wqe->length + extra_bytes) >> 2) + SIZE_OF_CRC; nwords 333 drivers/infiniband/hw/hfi1/ud.c nwords); nwords 366 drivers/infiniband/hw/hfi1/ud.c len = ps->s_txreq->hdr_dwords + nwords; nwords 382 drivers/infiniband/hw/hfi1/ud.c u32 dlid, slid, nwords, extra_bytes; nwords 411 drivers/infiniband/hw/hfi1/ud.c nwords = ((wqe->length + extra_bytes + SIZE_OF_LT) >> 2) + SIZE_OF_CRC; nwords 430 drivers/infiniband/hw/hfi1/ud.c nwords); nwords 460 drivers/infiniband/hw/hfi1/ud.c len = (ps->s_txreq->hdr_dwords + nwords) >> 1; nwords 645 drivers/infiniband/hw/hfi1/ud.c u32 nwords; nwords 649 drivers/infiniband/hw/hfi1/ud.c nwords = ((hfi1_get_16b_padding(hwords << 2, 0) + nwords 656 drivers/infiniband/hw/hfi1/ud.c (hwords - LRH_16B_DWORDS + nwords) << 2); nwords 677 drivers/infiniband/hw/hfi1/ud.c len = (hwords + nwords) >> 1; nwords 680 drivers/infiniband/hw/hfi1/ud.c plen = 2 /* PBC */ + hwords + nwords; nwords 443 drivers/infiniband/hw/hfi1/verbs.h const struct ib_global_route *grh, u32 hwords, u32 nwords); nwords 184 drivers/infiniband/hw/qib/qib_ruc.c const struct ib_global_route *grh, u32 hwords, u32 nwords) nwords 190 drivers/infiniband/hw/qib/qib_ruc.c hdr->paylen = cpu_to_be16((hwords - 2 + nwords + SIZE_OF_CRC) << 2); nwords 212 drivers/infiniband/hw/qib/qib_ruc.c u32 nwords; nwords 217 drivers/infiniband/hw/qib/qib_ruc.c nwords = (qp->s_cur_size + extra_bytes) >> 2; nwords 223 drivers/infiniband/hw/qib/qib_ruc.c qp->s_hdrwords, nwords); nwords 232 drivers/infiniband/hw/qib/qib_ruc.c cpu_to_be16(qp->s_hdrwords + nwords + SIZE_OF_CRC); nwords 238 drivers/infiniband/hw/qib/qib_ud.c u32 nwords; nwords 309 drivers/infiniband/hw/qib/qib_ud.c nwords = (wqe->length + extra_bytes) >> 2; nwords 326 drivers/infiniband/hw/qib/qib_ud.c qp->s_hdrwords, nwords); nwords 353 drivers/infiniband/hw/qib/qib_ud.c cpu_to_be16(qp->s_hdrwords + nwords + SIZE_OF_CRC); nwords 325 drivers/infiniband/hw/qib/qib_verbs.h const struct ib_global_route *grh, u32 hwords, u32 nwords); nwords 231 drivers/media/platform/s3c-camif/camif-regs.c unsigned int nwords = width * ybpp / 4; nwords 238 drivers/media/platform/s3c-camif/camif-regs.c if (nwords < div) nwords 241 drivers/media/platform/s3c-camif/camif-regs.c rem = nwords & (div - 1); nwords 193 drivers/media/platform/ti-vpe/vpdma.h u32 nwords; nwords 208 drivers/media/platform/ti-vpe/vpdma.h h->nwords = sizeof(adb->regs) >> 2; \ nwords 666 drivers/mmc/host/omap.c int n, nwords; nwords 678 drivers/mmc/host/omap.c nwords = DIV_ROUND_UP(n, 2); nwords 686 drivers/mmc/host/omap.c host->buffer, nwords); nwords 689 drivers/mmc/host/omap.c host->buffer, nwords); nwords 692 drivers/mmc/host/omap.c host->buffer += nwords; nwords 27 drivers/mtd/nand/bbt.c unsigned int nwords = DIV_ROUND_UP(nblocks * bits_per_block, nwords 30 drivers/mtd/nand/bbt.c nand->bbt.cache = kcalloc(nwords, sizeof(*nand->bbt.cache), nwords 768 drivers/net/can/kvaser_pciefd.c int nwords; nwords 774 drivers/net/can/kvaser_pciefd.c nwords = kvaser_pciefd_prepare_tx_packet(&packet, can, skb); nwords 790 drivers/net/can/kvaser_pciefd.c if (nwords) { nwords 791 drivers/net/can/kvaser_pciefd.c u32 data_last = ((u32 *)packet.data)[nwords - 1]; nwords 796 drivers/net/can/kvaser_pciefd.c nwords - 1); nwords 880 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c unsigned int nwords, u32 *data, int byte_oriented) nwords 884 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c if (addr + nwords * sizeof(u32) > SF_SIZE || (addr & 3)) nwords 893 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c for (; nwords; nwords--, data++) { nwords 894 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c ret = sf1_read(adapter, 4, nwords > 1, data); nwords 1638 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h unsigned int nwords, u32 *data, int byte_oriented); nwords 3044 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c unsigned int nwords, u32 *data, int byte_oriented) nwords 3048 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c if (addr + nwords * sizeof(u32) > adapter->params.sf_size || (addr & 3)) nwords 3057 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c for ( ; nwords; nwords--, data++) { nwords 3058 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c ret = sf1_read(adapter, 4, nwords > 1, nwords == 1, data); nwords 3059 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c if (nwords == 1) nwords 9760 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c const unsigned int nwords = CIM_IBQ_SIZE * 4; nwords 9765 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c addr = qid * nwords; nwords 9766 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c if (n > nwords) nwords 9767 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c n = nwords; nwords 9801 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c unsigned int addr, v, nwords; nwords 9813 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c nwords = CIMQSIZE_G(v) * 64; /* same */ nwords 9814 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c if (n > nwords) nwords 9815 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c n = nwords; nwords 897 drivers/net/ethernet/cisco/enic/vnic_dev.c unsigned int nwords = vdev->notify_sz / 4; nwords 908 drivers/net/ethernet/cisco/enic/vnic_dev.c for (i = 1; i < nwords; i++) nwords 241 drivers/net/ethernet/intel/ice/ice_ethtool.c u16 first_word, last_word, nwords; nwords 256 drivers/net/ethernet/intel/ice/ice_ethtool.c nwords = last_word - first_word + 1; nwords 258 drivers/net/ethernet/intel/ice/ice_ethtool.c buf = devm_kcalloc(dev, nwords, sizeof(u16), GFP_KERNEL); nwords 262 drivers/net/ethernet/intel/ice/ice_ethtool.c status = ice_read_sr_buf(hw, first_word, &nwords, buf); nwords 266 drivers/net/ethernet/intel/ice/ice_ethtool.c eeprom->len = sizeof(u16) * nwords; nwords 8144 drivers/net/wireless/cisco/airo.c int nwords; nwords 8153 drivers/net/wireless/cisco/airo.c for(nwords=0;nwords != FLASHSIZE / 2;nwords++){ nwords 8154 drivers/net/wireless/cisco/airo.c OUT4500(ai,AUXDATA,ai->flash[nwords] & 0xffff); nwords 487 drivers/net/wireless/intersil/orinoco/hermes.c unsigned nwords; nwords 520 drivers/net/wireless/intersil/orinoco/hermes.c nwords = min((unsigned)rlength - 1, bufsize / 2); nwords 521 drivers/net/wireless/intersil/orinoco/hermes.c hermes_read_words(hw, dreg, buf, nwords); nwords 486 drivers/scsi/csiostor/csio_hw.c csio_hw_read_flash(struct csio_hw *hw, uint32_t addr, uint32_t nwords, nwords 491 drivers/scsi/csiostor/csio_hw.c if (addr + nwords * sizeof(uint32_t) > hw->params.sf_size || (addr & 3)) nwords 504 drivers/scsi/csiostor/csio_hw.c for ( ; nwords; nwords--, data++) { nwords 505 drivers/scsi/csiostor/csio_hw.c ret = csio_hw_sf1_read(hw, 4, nwords > 1, nwords == 1, data); nwords 506 drivers/scsi/csiostor/csio_hw.c if (nwords == 1) nwords 798 drivers/scsi/fnic/vnic_dev.c unsigned int nwords = sizeof(struct vnic_devcmd_notify) / 4; nwords 810 drivers/scsi/fnic/vnic_dev.c for (i = 1; i < nwords; i++) nwords 638 drivers/scsi/snic/vnic_dev.c unsigned int nwords = sizeof(struct vnic_devcmd_notify) / 4; nwords 650 drivers/scsi/snic/vnic_dev.c for (i = 1; i < nwords; i++) nwords 415 fs/jfs/jfs_dmap.c int word, nbits, nwords; nwords 503 fs/jfs/jfs_dmap.c nwords = rbits >> L2DBWORD; nwords 504 fs/jfs/jfs_dmap.c nbits = nwords << L2DBWORD; nwords 511 fs/jfs/jfs_dmap.c nwords * 4); nwords 514 fs/jfs/jfs_dmap.c nwords * 4); nwords 516 fs/jfs/jfs_dmap.c word += nwords; nwords 1115 fs/jfs/jfs_dmap.c int dbitno, word, rembits, nb, nwords, wbitno, nw; nwords 1182 fs/jfs/jfs_dmap.c nwords = rembits >> L2DBWORD; nwords 1183 fs/jfs/jfs_dmap.c nb = nwords << L2DBWORD; nwords 1188 fs/jfs/jfs_dmap.c while (nwords > 0) { nwords 1198 fs/jfs/jfs_dmap.c min_t(int, leaf[word], NLSTOL2BSZ(nwords)); nwords 1204 fs/jfs/jfs_dmap.c nwords -= nw; nwords 2167 fs/jfs/jfs_dmap.c int dbitno, word, rembits, nb, nwords, wbitno, nw, agno; nwords 2228 fs/jfs/jfs_dmap.c nwords = rembits >> L2DBWORD; nwords 2229 fs/jfs/jfs_dmap.c memset(&dp->wmap[word], (int) ONES, nwords * 4); nwords 2233 fs/jfs/jfs_dmap.c nb = nwords << L2DBWORD; nwords 2238 fs/jfs/jfs_dmap.c for (; nwords > 0; nwords -= nw) { nwords 2251 fs/jfs/jfs_dmap.c NLSTOL2BSZ(nwords)); nwords 2314 fs/jfs/jfs_dmap.c int dbitno, word, rembits, nb, nwords, wbitno, nw, agno; nwords 2376 fs/jfs/jfs_dmap.c nwords = rembits >> L2DBWORD; nwords 2377 fs/jfs/jfs_dmap.c memset(&dp->wmap[word], 0, nwords * 4); nwords 2381 fs/jfs/jfs_dmap.c nb = nwords << L2DBWORD; nwords 2386 fs/jfs/jfs_dmap.c for (; nwords > 0; nwords -= nw) { nwords 2395 fs/jfs/jfs_dmap.c NLSTOL2BSZ(nwords)); nwords 3254 fs/jfs/jfs_dmap.c int dbitno, word, rembits, nb, nwords, wbitno, agno; nwords 3308 fs/jfs/jfs_dmap.c nwords = rembits >> L2DBWORD; nwords 3309 fs/jfs/jfs_dmap.c memset(&dp->wmap[word], (int) ONES, nwords * 4); nwords 3312 fs/jfs/jfs_dmap.c nb = nwords << L2DBWORD; nwords 3313 fs/jfs/jfs_dmap.c word += nwords; nwords 1324 fs/jfs/jfs_imap.c int nwords, rem, i, agno; nwords 1468 fs/jfs/jfs_imap.c nwords = (bitno == 0) ? SMAPSZ : SMAPSZ + 1; nwords 1481 fs/jfs/jfs_imap.c for (i = 0; i < nwords; i++) { nwords 4210 fs/nfs/nfs4xdr.c unsigned int nwords = (xdr_stream_pos(xdr) - savep) >> 2; nwords 4212 fs/nfs/nfs4xdr.c if (unlikely(attrwords != nwords)) { nwords 4217 fs/nfs/nfs4xdr.c (attrwords < nwords) ? '<' : '>', nwords 4218 fs/nfs/nfs4xdr.c nwords << 2); nwords 5312 fs/nfs/nfs4xdr.c if (res->acl_len > (xdr->nwords << 2) || nwords 5316 fs/nfs/nfs4xdr.c attrlen, xdr->nwords << 2); nwords 999 fs/proc/base.c unsigned int nwords = 0; nwords 1004 fs/proc/base.c nwords += 2; nwords 1005 fs/proc/base.c } while (mm->saved_auxv[nwords - 2] != 0); /* AT_NULL */ nwords 1007 fs/proc/base.c nwords * sizeof(mm->saved_auxv[0])); nwords 238 include/linux/sunrpc/xdr.h unsigned int nwords; /* Remaining decode buffer length */ nwords 280 include/linux/sunrpc/xdr.h return xdr->nwords << 2; nwords 145 lib/bch.c unsigned int i, nwords = BCH_ECC_WORDS(bch)-1; nwords 147 lib/bch.c for (i = 0; i < nwords; i++, src += 4) nwords 150 lib/bch.c memcpy(pad, src, BCH_ECC_BYTES(bch)-4*nwords); nwords 151 lib/bch.c dst[nwords] = (pad[0] << 24)|(pad[1] << 16)|(pad[2] << 8)|pad[3]; nwords 161 lib/bch.c unsigned int i, nwords = BCH_ECC_WORDS(bch)-1; nwords 163 lib/bch.c for (i = 0; i < nwords; i++) { nwords 169 lib/bch.c pad[0] = (src[nwords] >> 24); nwords 170 lib/bch.c pad[1] = (src[nwords] >> 16) & 0xff; nwords 171 lib/bch.c pad[2] = (src[nwords] >> 8) & 0xff; nwords 172 lib/bch.c pad[3] = (src[nwords] >> 0) & 0xff; nwords 173 lib/bch.c memcpy(dst, pad, BCH_ECC_BYTES(bch)-4*nwords); nwords 224 lib/dynamic_debug.c int nwords = 0; nwords 252 lib/dynamic_debug.c if (nwords == maxwords) { nwords 258 lib/dynamic_debug.c words[nwords++] = buf; nwords 265 lib/dynamic_debug.c for (i = 0; i < nwords; i++) nwords 270 lib/dynamic_debug.c return nwords; nwords 320 lib/dynamic_debug.c static int ddebug_parse_query(char *words[], int nwords, nwords 327 lib/dynamic_debug.c if (nwords % 2 != 0) { nwords 337 lib/dynamic_debug.c for (i = 0; i < nwords; i += 2) { nwords 451 lib/dynamic_debug.c int nwords, nfound; nwords 454 lib/dynamic_debug.c nwords = ddebug_tokenize(query_string, words, MAXWORDS); nwords 455 lib/dynamic_debug.c if (nwords <= 0) { nwords 460 lib/dynamic_debug.c if (ddebug_parse_flags(words[nwords-1], &flags, &mask)) { nwords 464 lib/dynamic_debug.c if (ddebug_parse_query(words, nwords-1, &query, modname)) { nwords 66 lib/reed_solomon/test_rslib.c int nwords; nwords 73 lib/reed_solomon/test_rslib.c int nwords; nwords 310 lib/reed_solomon/test_rslib.c stat->nwords += trials; nwords 335 lib/reed_solomon/test_rslib.c stat.dwrong, stat.nwords); nwords 337 lib/reed_solomon/test_rslib.c stat.irv, stat.nwords); nwords 404 lib/reed_solomon/test_rslib.c stat->nwords += trials; nwords 429 lib/reed_solomon/test_rslib.c stat.rfail, stat.nwords); nwords 431 lib/reed_solomon/test_rslib.c stat.rsuccess, stat.nwords); nwords 504 net/sunrpc/xdr.c return (unsigned int)(XDR_QUADLEN(xdr->buf->len) - xdr->nwords) << 2; nwords 836 net/sunrpc/xdr.c xdr_set_iov(xdr, xdr->buf->tail, xdr->nwords << 2); nwords 845 net/sunrpc/xdr.c xdr_set_iov(xdr, xdr->buf->tail, xdr->nwords << 2); nwords 863 net/sunrpc/xdr.c xdr->nwords = XDR_QUADLEN(buf->len); nwords 871 net/sunrpc/xdr.c xdr->nwords -= p - xdr->p; nwords 899 net/sunrpc/xdr.c unsigned int nwords = XDR_QUADLEN(nbytes); nwords 901 net/sunrpc/xdr.c __be32 *q = p + nwords; nwords 903 net/sunrpc/xdr.c if (unlikely(nwords > xdr->nwords || q > xdr->end || q < p)) nwords 906 net/sunrpc/xdr.c xdr->nwords -= nwords; nwords 986 net/sunrpc/xdr.c unsigned int nwords = XDR_QUADLEN(len); nwords 990 net/sunrpc/xdr.c if (xdr->nwords == 0) nwords 999 net/sunrpc/xdr.c xdr->nwords = XDR_QUADLEN(buf->len - cur); nwords 1002 net/sunrpc/xdr.c if (nwords > xdr->nwords) { nwords 1003 net/sunrpc/xdr.c nwords = xdr->nwords; nwords 1004 net/sunrpc/xdr.c len = nwords << 2; nwords 1008 net/sunrpc/xdr.c else if (nwords < xdr->nwords) { nwords 1013 net/sunrpc/xdr.c xdr->nwords = XDR_QUADLEN(buf->len - cur); nwords 1033 net/sunrpc/xdr.c unsigned int nwords; nwords 1040 net/sunrpc/xdr.c nwords = XDR_QUADLEN(len); nwords 1041 net/sunrpc/xdr.c padding = (nwords << 2) - len; nwords 1044 net/sunrpc/xdr.c end = ((xdr->nwords - nwords) << 2) + padding; nwords 1055 net/sunrpc/xdr.c xdr->nwords = XDR_QUADLEN(end - padding); nwords 3614 sound/soc/codecs/wm_adsp.c static void wm_adsp_remove_padding(u32 *buf, int nwords, int data_word_size) nwords 3621 sound/soc/codecs/wm_adsp.c for (i = 0; i < nwords; i++) { nwords 4123 sound/soc/codecs/wm_adsp.c int mem_type, nwords, max_read; nwords 4139 sound/soc/codecs/wm_adsp.c nwords = buf->regions[i].cumulative_size - buf->read_index; nwords 4141 sound/soc/codecs/wm_adsp.c if (nwords > target) nwords 4142 sound/soc/codecs/wm_adsp.c nwords = target; nwords 4143 sound/soc/codecs/wm_adsp.c if (nwords > buf->avail) nwords 4144 sound/soc/codecs/wm_adsp.c nwords = buf->avail; nwords 4145 sound/soc/codecs/wm_adsp.c if (nwords > max_read) nwords 4146 sound/soc/codecs/wm_adsp.c nwords = max_read; nwords 4147 sound/soc/codecs/wm_adsp.c if (!nwords) nwords 4152 sound/soc/codecs/wm_adsp.c nwords, compr->raw_buf); nwords 4156 sound/soc/codecs/wm_adsp.c wm_adsp_remove_padding(compr->raw_buf, nwords, WM_ADSP_DATA_WORD_SIZE); nwords 4159 sound/soc/codecs/wm_adsp.c buf->read_index += nwords; nwords 4169 sound/soc/codecs/wm_adsp.c buf->avail -= nwords; nwords 4171 sound/soc/codecs/wm_adsp.c return nwords; nwords 4179 sound/soc/codecs/wm_adsp.c int nwords, nbytes; nwords 4191 sound/soc/codecs/wm_adsp.c nwords = wm_adsp_buffer_capture_block(compr, count); nwords 4192 sound/soc/codecs/wm_adsp.c if (nwords < 0) { nwords 4194 sound/soc/codecs/wm_adsp.c nwords); nwords 4195 sound/soc/codecs/wm_adsp.c return nwords; nwords 4198 sound/soc/codecs/wm_adsp.c nbytes = nwords * WM_ADSP_DATA_WORD_SIZE; nwords 4208 sound/soc/codecs/wm_adsp.c count -= nwords; nwords 4210 sound/soc/codecs/wm_adsp.c } while (nwords > 0 && count > 0);