Lines Matching defs:dma
2345 drm_device_dma_t *dma = dev->dma;
2364 if (vertex.idx < 0 || vertex.idx >= dma->buf_count) {
2366 vertex.idx, dma->buf_count - 1);
2377 buf = dma->buflist[vertex.idx];
2433 drm_device_dma_t *dma = dev->dma;
2452 if (elts.idx < 0 || elts.idx >= dma->buf_count) {
2454 elts.idx, dma->buf_count - 1);
2465 buf = dma->buflist[elts.idx];
2512 prim.offset = 0; /* offset from start of dma buffers */
2628 drm_device_dma_t *dma = dev->dma;
2645 if (indirect.idx < 0 || indirect.idx >= dma->buf_count) {
2647 indirect.idx, dma->buf_count - 1);
2651 buf = dma->buflist[indirect.idx];
2704 drm_device_dma_t *dma = dev->dma;
2743 if (vertex.idx < 0 || vertex.idx >= dma->buf_count) {
2745 vertex.idx, dma->buf_count - 1);
2752 buf = dma->buflist[vertex.idx];
3067 drm_device_dma_t *dma = dev->dma;
3172 idx = header.dma.buf_idx;
3173 if (idx < 0 || idx >= dma->buf_count) {
3175 idx, dma->buf_count - 1);
3179 buf = dma->buflist[idx];
3419 * DRM infrastructure takes care of reclaiming dma buffers.