Home
last modified time | relevance | path

Searched refs:nchunks (Results 1 – 14 of 14) sorted by relevance

/drivers/dma/sh/
Drcar-dmac.c81 unsigned int nchunks; member
394 chan->index, desc, desc->nchunks, &desc->hwdescs.dma); in rcar_dmac_chan_start_xfer()
408 RCAR_DMACHCRB_DCNT(desc->nchunks - 1) | in rcar_dmac_chan_start_xfer()
765 rcar_dmac_realloc_hwdesc(chan, desc, desc->nchunks * sizeof(*hwdesc)); in rcar_dmac_fill_hwdesc()
936 unsigned int nchunks = 0; in rcar_dmac_chan_prep_sg() local
1026 nchunks++; in rcar_dmac_chan_prep_sg()
1030 desc->nchunks = nchunks; in rcar_dmac_chan_prep_sg()
1041 desc->hwdescs.use = !cross_boundary && nchunks > 1; in rcar_dmac_chan_prep_sg()
1401 dptr = desc->nchunks; in rcar_dmac_chan_get_residue()
1403 WARN_ON(dptr >= desc->nchunks); in rcar_dmac_chan_get_residue()
[all …]
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_dev_api.h462 u32 nchunks; member
484 u32 nchunks; member
516 u32 nchunks; member
Dpvrdma_mr.c171 cmd->nchunks = npages; in pvrdma_reg_user_mr()
243 cmd->nchunks = max_num_sg; in pvrdma_alloc_mr()
Dpvrdma_srq.c176 cmd->nchunks = srq->npages; in pvrdma_create_srq()
Dpvrdma_cq.c184 cmd->nchunks = npages; in pvrdma_create_cq()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_cs.c136 p->nchunks = cs->in.num_chunks; in amdgpu_cs_parser_init()
137 p->chunks = kvmalloc_array(p->nchunks, sizeof(struct amdgpu_cs_chunk), in amdgpu_cs_parser_init()
144 for (i = 0; i < p->nchunks; i++) { in amdgpu_cs_parser_init()
239 i = p->nchunks - 1; in amdgpu_cs_parser_init()
245 p->nchunks = 0; in amdgpu_cs_parser_init()
700 for (i = 0; i < parser->nchunks; i++) in amdgpu_cs_parser_fini()
727 for (i = 0, j = 0; i < p->nchunks && j < p->job->num_ibs; i++) { in amdgpu_cs_vm_handling()
870 for (i = 0, j = 0; i < parser->nchunks && j < parser->job->num_ibs; i++) { in amdgpu_cs_ib_fill()
1143 for (i = 0; i < p->nchunks; ++i) { in amdgpu_cs_dependencies()
Damdgpu.h531 unsigned nchunks; member
/drivers/mtd/nand/raw/
Dsunxi_nand.c351 int chunksize, int nchunks, in sunxi_nfc_dma_op_prepare() argument
365 sg_init_one(sg, buf, nchunks * chunksize); in sunxi_nfc_dma_op_prepare()
380 writel(nchunks, nfc->regs + NFC_REG_SECTOR_NUM); in sunxi_nfc_dma_op_prepare()
386 writel(chunksize * nchunks, nfc->regs + NFC_REG_MDMA_CNT); in sunxi_nfc_dma_op_prepare()
916 int nchunks) in sunxi_nfc_hw_ecc_read_chunks_dma() argument
931 ret = sunxi_nfc_dma_op_prepare(nfc, buf, ecc->size, nchunks, in sunxi_nfc_hw_ecc_read_chunks_dma()
967 for (i = 0; i < nchunks; i++) { in sunxi_nfc_hw_ecc_read_chunks_dma()
999 for (i = 0; i < nchunks; i++) { in sunxi_nfc_hw_ecc_read_chunks_dma()
1201 int nchunks = DIV_ROUND_UP(data_offs + readlen, nand->ecc.size); in sunxi_nfc_hw_ecc_read_subpage_dma() local
1208 ret = sunxi_nfc_hw_ecc_read_chunks_dma(nand, buf, false, page, nchunks); in sunxi_nfc_hw_ecc_read_subpage_dma()
Dmarvell_nand.c259 int nchunks; member
274 .nchunks = nc, \
1263 for (chunk = 0; chunk < lt->nchunks; chunk++) { in marvell_nfc_hw_ecc_bch_read_page_raw()
1322 else if (chunk < lt->nchunks - 1) in marvell_nfc_hw_ecc_bch_read_chunk()
1380 for (chunk = 0; chunk < lt->nchunks; chunk++) { in marvell_nfc_hw_ecc_bch_read_page()
1422 for (chunk = 0; chunk < lt->nchunks; chunk++) { in marvell_nfc_hw_ecc_bch_read_page()
1515 for (chunk = 0; chunk < lt->nchunks; chunk++) { in marvell_nfc_hw_ecc_bch_write_page_raw()
1575 if (lt->nchunks == 1) in marvell_nfc_hw_ecc_bch_write_chunk()
1585 } else if (chunk < lt->nchunks - 1) { in marvell_nfc_hw_ecc_bch_write_chunk()
1592 if (chunk == lt->nchunks - 1) in marvell_nfc_hw_ecc_bch_write_chunk()
[all …]
/drivers/crypto/cavium/cpt/
Dcptvf_main.c195 queue->nchunks = 0; in free_command_queues()
242 i, queue->nchunks); in alloc_command_queues()
248 if (queue->nchunks == 0) { in alloc_command_queues()
257 queue->nchunks++; in alloc_command_queues()
Dcptvf.h54 u32 nchunks; /* Number of command chunks */ member
/drivers/gpu/drm/radeon/
Dradeon_cs.c302 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()
454 for (i = 0; i < parser->nchunks; i++) in radeon_cs_parser_fini()
Dradeon.h1061 unsigned nchunks; member
/drivers/vhost/
Dvdpa.c710 unsigned long lock_limit, sz2pin, nchunks, i; in vhost_vdpa_pa_map() local
739 nchunks = 0; in vhost_vdpa_pa_map()
754 nchunks++; in vhost_vdpa_pa_map()
785 nchunks = 0; in vhost_vdpa_pa_map()
800 if (nchunks) { in vhost_vdpa_pa_map()