/drivers/dma/sh/ |
D | rcar-dmac.c | 81 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/ |
D | pvrdma_dev_api.h | 462 u32 nchunks; member 484 u32 nchunks; member 516 u32 nchunks; member
|
D | pvrdma_mr.c | 171 cmd->nchunks = npages; in pvrdma_reg_user_mr() 243 cmd->nchunks = max_num_sg; in pvrdma_alloc_mr()
|
D | pvrdma_srq.c | 176 cmd->nchunks = srq->npages; in pvrdma_create_srq()
|
D | pvrdma_cq.c | 184 cmd->nchunks = npages; in pvrdma_create_cq()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_cs.c | 136 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()
|
D | amdgpu.h | 531 unsigned nchunks; member
|
/drivers/mtd/nand/raw/ |
D | sunxi_nand.c | 351 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()
|
D | marvell_nand.c | 259 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/ |
D | cptvf_main.c | 195 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()
|
D | cptvf.h | 54 u32 nchunks; /* Number of command chunks */ member
|
/drivers/gpu/drm/radeon/ |
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() 454 for (i = 0; i < parser->nchunks; i++) in radeon_cs_parser_fini()
|
D | radeon.h | 1061 unsigned nchunks; member
|
/drivers/vhost/ |
D | vdpa.c | 710 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()
|