/linux/net/sunrpc/xprtrdma/ |
H A D | rpc_rdma.c | 399 int nsegs, nchunks; in rpcrdma_encode_write_list() local 419 nchunks = 0; in rpcrdma_encode_write_list() 431 nchunks++; in rpcrdma_encode_write_list() 443 nchunks++; in rpcrdma_encode_write_list() 448 *segcount = cpu_to_be32(nchunks); in rpcrdma_encode_write_list() 476 int nsegs, nchunks; in rpcrdma_encode_reply_chunk() local 497 nchunks = 0; in rpcrdma_encode_reply_chunk() 509 nchunks++; in rpcrdma_encode_reply_chunk() 514 *segcount = cpu_to_be32(nchunks); in rpcrdma_encode_reply_chunk()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_cs.h | 55 unsigned nchunks; member
|
/linux/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_dev_api.h | 462 u32 nchunks; member 484 u32 nchunks; member 516 u32 nchunks; member
|
H A D | pvrdma_mr.c | 171 cmd->nchunks = npages; in pvrdma_reg_user_mr() 243 cmd->nchunks = max_num_sg; in pvrdma_alloc_mr()
|
H A D | pvrdma_srq.c | 176 cmd->nchunks = srq->npages; in pvrdma_create_srq()
|
H A D | pvrdma_cq.c | 185 cmd->nchunks = npages; in pvrdma_create_cq()
|
/linux/drivers/mtd/nand/raw/ |
H A D | sunxi_nand.c | 350 int chunksize, int nchunks, in sunxi_nfc_dma_op_prepare() argument 364 sg_init_one(sg, buf, nchunks * chunksize); in sunxi_nfc_dma_op_prepare() 379 writel(nchunks, nfc->regs + NFC_REG_SECTOR_NUM); in sunxi_nfc_dma_op_prepare() 385 writel(chunksize * nchunks, nfc->regs + NFC_REG_MDMA_CNT); in sunxi_nfc_dma_op_prepare() 904 int nchunks) in sunxi_nfc_hw_ecc_read_chunks_dma() argument 919 ret = sunxi_nfc_dma_op_prepare(nfc, buf, ecc->size, nchunks, in sunxi_nfc_hw_ecc_read_chunks_dma() 955 for (i = 0; i < nchunks; i++) { in sunxi_nfc_hw_ecc_read_chunks_dma() 987 for (i = 0; i < nchunks; i++) { in sunxi_nfc_hw_ecc_read_chunks_dma() 1189 int nchunks = DIV_ROUND_UP(data_offs + readlen, nand->ecc.size); in sunxi_nfc_hw_ecc_read_subpage_dma() local 1196 ret = sunxi_nfc_hw_ecc_read_chunks_dma(nand, buf, false, page, nchunks); in sunxi_nfc_hw_ecc_read_subpage_dma()
|
H A D | marvell_nand.c | 261 int nchunks; member 276 .nchunks = nc, \ 1277 for (chunk = 0; chunk < lt->nchunks; chunk++) { in marvell_nfc_hw_ecc_bch_read_page_raw() 1336 else if (chunk < lt->nchunks - 1) in marvell_nfc_hw_ecc_bch_read_chunk() 1394 for (chunk = 0; chunk < lt->nchunks; chunk++) { in marvell_nfc_hw_ecc_bch_read_page() 1436 for (chunk = 0; chunk < lt->nchunks; chunk++) { in marvell_nfc_hw_ecc_bch_read_page() 1529 for (chunk = 0; chunk < lt->nchunks; chunk++) { in marvell_nfc_hw_ecc_bch_write_page_raw() 1589 if (lt->nchunks == 1) in marvell_nfc_hw_ecc_bch_write_chunk() 1599 } else if (chunk < lt->nchunks - 1) { in marvell_nfc_hw_ecc_bch_write_chunk() 1606 if (chunk == lt->nchunks - 1) in marvell_nfc_hw_ecc_bch_write_chunk() [all …]
|
H A D | renesas-nand-controller.c | 498 unsigned int nchunks = real_len / chip->ecc.size; in rnandc_read_subpage_hw_ecc() local 549 for (i = start_chunk; i < nchunks; i++) { in rnandc_read_subpage_hw_ecc()
|
/linux/net/sctp/ |
H A D | auth.c | 759 __u16 nchunks; in sctp_auth_ep_add_chunkid() local 768 nchunks = param_len - sizeof(struct sctp_paramhdr); in sctp_auth_ep_add_chunkid() 769 if (nchunks == SCTP_NUM_CHUNK_TYPES) in sctp_auth_ep_add_chunkid() 772 p->chunks[nchunks] = chunk_id; in sctp_auth_ep_add_chunkid()
|
/linux/drivers/crypto/cavium/cpt/ |
H A D | cptvf_main.c | 192 queue->nchunks = 0; in free_command_queues() 239 i, queue->nchunks); in alloc_command_queues() 245 if (queue->nchunks == 0) { in alloc_command_queues() 254 queue->nchunks++; in alloc_command_queues()
|
H A D | cptvf.h | 54 u32 nchunks; /* Number of command chunks */ member
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_cs.c | 302 p->nchunks = cs->num_chunks; in radeon_cs_parser_init() 303 p->chunks = kvcalloc(p->nchunks, sizeof(struct radeon_cs_chunk), GFP_KERNEL); in radeon_cs_parser_init() 307 for (i = 0; i < p->nchunks; i++) { in radeon_cs_parser_init() 457 for (i = 0; i < parser->nchunks; i++) in radeon_cs_parser_fini()
|
H A D | radeon.h | 1022 unsigned nchunks; member
|
/linux/drivers/vhost/ |
H A D | vdpa.c | 1104 unsigned long lock_limit, sz2pin, nchunks, i; in vhost_vdpa_pa_map() local 1133 nchunks = 0; in vhost_vdpa_pa_map() 1148 nchunks++; in vhost_vdpa_pa_map() 1179 nchunks = 0; in vhost_vdpa_pa_map() 1194 if (nchunks) { in vhost_vdpa_pa_map()
|
/linux/sound/drivers/vx/ |
H A D | vx_pcm.c | 679 struct vx_pipe *pipe, int nchunks) in vx_pcm_playback_transfer() argument 686 for (i = 0; i < nchunks; i++) { in vx_pcm_playback_transfer()
|