Lines Matching refs:dma
54 struct drm_device_dma *dma = dev->dma;
60 for (i = 0; i < dma->buf_count; i++) {
61 struct drm_buf *buf = dma->buflist[i];
211 struct drm_device_dma *dma = dev->dma;
238 for (i = 0; i < dma->buf_count; i++) {
239 struct drm_buf *buf = dma->buflist[i];
299 struct drm_device_dma *dma = dev->dma;
304 if (dma->buf_count > 1019) {
309 for (i = 0; i < dma->buf_count; i++) {
310 struct drm_buf *buf = dma->buflist[i];
366 DRM_ERROR("can not find dma buffer map!\n");
1200 struct drm_device_dma *dma = dev->dma;
1213 for (i = 0; i < dma->buf_count; i++) {
1214 struct drm_buf *buf = dma->buflist[i];
1232 struct drm_device_dma *dma = dev->dma;
1235 if (!dma)
1239 if (!dma->buflist)
1244 for (i = 0; i < dma->buf_count; i++) {
1245 struct drm_buf *buf = dma->buflist[i];
1272 struct drm_device_dma *dma = dev->dma;
1281 DRM_DEBUG("i830 dma vertex, idx %d used %d discard %d\n",
1284 if (vertex->idx < 0 || vertex->idx > dma->buf_count)
1288 dma->buflist[vertex->idx],