Lines Matching defs:dma
2344 drm_device_dma_t *dma = dev->dma;
2363 if (vertex.idx < 0 || vertex.idx >= dma->buf_count) {
2365 vertex.idx, dma->buf_count - 1);
2376 buf = dma->buflist[vertex.idx];
2432 drm_device_dma_t *dma = dev->dma;
2451 if (elts.idx < 0 || elts.idx >= dma->buf_count) {
2453 elts.idx, dma->buf_count - 1);
2464 buf = dma->buflist[elts.idx];
2511 prim.offset = 0; /* offset from start of dma buffers */
2627 drm_device_dma_t *dma = dev->dma;
2644 if (indirect.idx < 0 || indirect.idx >= dma->buf_count) {
2646 indirect.idx, dma->buf_count - 1);
2650 buf = dma->buflist[indirect.idx];
2703 drm_device_dma_t *dma = dev->dma;
2742 if (vertex.idx < 0 || vertex.idx >= dma->buf_count) {
2744 vertex.idx, dma->buf_count - 1);
2751 buf = dma->buflist[vertex.idx];
3066 drm_device_dma_t *dma = dev->dma;
3171 idx = header.dma.buf_idx;
3172 if (idx < 0 || idx >= dma->buf_count) {
3174 idx, dma->buf_count - 1);
3178 buf = dma->buflist[idx];
3419 * DRM infrastructure takes care of reclaiming dma buffers.