Searched defs:dma (Results 1 - 10 of 10) sorted by relevance

/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_dma.c58 dev->dma = kmalloc(sizeof(*dev->dma), GFP_KERNEL);
59 if (!dev->dma)
62 (void) memset(dev->dma, 0, sizeof(*dev->dma));
65 (void) memset(&dev->dma->bufs[i], 0, sizeof(dev->dma->bufs[0]));
78 * finally the drm_device::dma structure itself.
82 struct drm_device_dma *dma = dev->dma; local
150 struct drm_device_dma *dma = dev->dma; local
[all...]
H A Ddrm_bufs.c540 struct drm_device_dma *dma = dev->dma; local
555 if (!dma)
590 entry = &dma->bufs[order];
618 buf->idx = dma->buf_count + entry->buf_count;
623 buf->offset = (dma->byte_count + offset);
652 (dma->buf_count + entry->buf_count) *
653 sizeof(*dma->buflist), GFP_KERNEL);
661 bcopy(temp_buflist, dma->buflist,
662 dma
691 struct drm_device_dma *dma = dev->dma; local
896 struct drm_device_dma *dma = dev->dma; local
975 struct drm_device_dma *dma = dev->dma; local
1019 struct drm_device_dma *dma = dev->dma; local
1069 struct drm_device_dma *dma = dev->dma; local
[all...]
/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_dma.c47 dev->dma = drm_calloc(1, sizeof (*dev->dma), DRM_MEM_DMA);
48 if (dev->dma == NULL)
52 pbuf = &(dev->dma->bufs[0]);
62 drm_device_dma_t *dma = dev->dma; local
65 if (dma == NULL)
68 /* Clear dma buffers */
70 if (dma->bufs[i].seg_count) {
71 drm_free(dma
121 drm_device_dma_t *dma = dev->dma; local
[all...]
H A Ddrm_bufs.c412 drm_device_dma_t *dma = dev->dma; local
426 if (!dma)
440 entry = &dma->bufs[order];
459 buf->idx = dma->buf_count + entry->buf_count;
464 buf->offset = (dma->byte_count + offset);
486 (dma->buf_count + entry->buf_count) * sizeof (*dma->buflist),
496 bcopy(dma->buflist, temp_buflist,
497 dma
521 drm_device_dma_t *dma = dev->dma; local
733 drm_device_dma_t *dma = dev->dma; local
799 drm_device_dma_t *dma = dev->dma; local
[all...]
H A Dr300_cmdbuf.c818 drm_device_dma_t *dma = dev->dma; local
912 idx = header.dma.buf_idx;
913 if (idx < 0 || idx >= dma->buf_count) {
915 idx, dma->buf_count - 1);
920 buf = dma->buflist[idx];
H A Dradeon_cp.c1506 DRM_ERROR("could not find dma buffer region, offset=0x%lx\n",
2075 drm_device_dma_t *dma = dev->dma; local
2082 if (++dev_priv->last_buf >= dma->buf_count)
2090 for (i = start; i < dma->buf_count; i++) {
2091 buf = dma->buflist[i];
2116 drm_device_dma_t *dma = dev->dma;
2124 if (++dev_priv->last_buf >= dma->buf_count)
2131 for (i = start; i < dma
2151 drm_device_dma_t *dma = dev->dma; local
2230 drm_device_dma_t *dma = dev->dma; local
[all...]
H A Dradeon_state.c2344 drm_device_dma_t *dma = dev->dma; local
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; local
2451 if (elts.idx < 0 || elts.idx >= dma->buf_count) {
2453 elts.idx, dma->buf_count - 1);
2464 buf = dma
2627 drm_device_dma_t *dma = dev->dma; local
2703 drm_device_dma_t *dma = dev->dma; local
3066 drm_device_dma_t *dma = dev->dma; local
[all...]
H A DdrmP.h611 kmutex_t dma_lock; /* protects dev->dma */
636 drm_device_dma_t *dma; /* Optional pointer for DMA support */ member in struct:drm_device
H A Dradeon_drm.h185 #define RADEON_CMD_DMA_DISCARD 4 /* discard current dma buf */
218 } dma; member in union:__anon125
280 } dma; member in union:__anon133
659 * - allows more than one dma buffer to be referenced per ioctl
/solaris-x11-s11/open-src/kernel/sys/drm/
H A DdrmP.h1123 struct drm_device_dma *dma; /**< Optional pointer for DMA support */ member in struct:drm_device
1209 kmutex_t dma_lock; /* protects dev->dma */

Completed in 72 milliseconds