Home
last modified time | relevance | path

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

/drivers/dma/sh/
Drcar-dmac.c83 unsigned int nchunks; member
332 chan->index, desc, desc->nchunks, &desc->hwdescs.dma); in rcar_dmac_chan_start_xfer()
342 RCAR_DMACHCRB_DCNT(desc->nchunks - 1) | in rcar_dmac_chan_start_xfer()
700 rcar_dmac_realloc_hwdesc(chan, desc, desc->nchunks * sizeof(*hwdesc)); in rcar_dmac_fill_hwdesc()
836 unsigned int nchunks = 0; in rcar_dmac_chan_prep_sg() local
916 nchunks++; in rcar_dmac_chan_prep_sg()
920 desc->nchunks = nchunks; in rcar_dmac_chan_prep_sg()
933 desc->hwdescs.use = !highmem && nchunks > 1; in rcar_dmac_chan_prep_sg()
1169 WARN_ON(dptr >= desc->nchunks); in rcar_dmac_chan_get_residue()
1176 if (chunk == running || ++dptr == desc->nchunks) in rcar_dmac_chan_get_residue()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_cs.c202 p->nchunks = cs->in.num_chunks; in amdgpu_cs_parser_init()
203 p->chunks = kmalloc_array(p->nchunks, sizeof(struct amdgpu_cs_chunk), in amdgpu_cs_parser_init()
210 for (i = 0; i < p->nchunks; i++) { in amdgpu_cs_parser_init()
279 i = p->nchunks - 1; in amdgpu_cs_parser_init()
512 for (i = 0; i < parser->nchunks; i++) in amdgpu_cs_parser_fini()
631 for (i = 0, j = 0; i < parser->nchunks && j < parser->num_ibs; i++) { in amdgpu_cs_ib_fill()
752 for (i = 0; i < p->nchunks; ++i) { in amdgpu_cs_dependencies()
Damdgpu.h1253 unsigned nchunks; member
/drivers/gpu/drm/radeon/
Dradeon_cs.c283 p->nchunks = cs->num_chunks; in radeon_cs_parser_init()
284 p->chunks = kcalloc(p->nchunks, sizeof(struct radeon_cs_chunk), GFP_KERNEL); in radeon_cs_parser_init()
288 for (i = 0; i < p->nchunks; i++) { in radeon_cs_parser_init()
433 for (i = 0; i < parser->nchunks; i++) in radeon_cs_parser_fini()
Dr600_cs.c2346 for (i = 0; i < parser->nchunks; i++) in r600_cs_parser_fini()
Dradeon.h1076 unsigned nchunks; member