Searched refs:dmah (Results 1 - 7 of 7) sorted by relevance

/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_pci.c129 struct drm_dma_handle *dmah; local
138 dmah = kmem_zalloc(sizeof(struct drm_dma_handle), KM_SLEEP);
141 DDI_DMA_SLEEP, NULL, &dmah->dma_hdl) != DDI_SUCCESS) {
146 if (ddi_dma_mem_alloc(dmah->dma_hdl, size, &hw_acc_attr,
148 DDI_DMA_SLEEP, NULL, (caddr_t *)&dmah->vaddr,
149 &dmah->real_sz, &dmah->acc_hdl) != DDI_SUCCESS) {
154 if (ddi_dma_addr_bind_handle(dmah->dma_hdl, NULL,
155 (caddr_t)dmah->vaddr, dmah
183 drm_pci_free(drm_dma_handle_t *dmah) argument
[all...]
H A Dati_pcigart.c47 drm_dma_handle_t *dmah; local
53 dmah = dev->sg->dmah_gart;
55 if (dmah)
56 drm_pci_free(dmah);
65 drm_dma_handle_t *dmah; local
98 dmah = entry->dmah_sg;
100 for (i = 0; i < dmah->cookie_num; i++) {
101 bulksize = dmah->cookie.dmac_size;
104 dmah->cookie.dmac_address + k * PAGE_SIZE;
118 ddi_dma_nextcookie(dmah
[all...]
H A Ddrm_scatter.c81 drm_dma_handle_t *dmah; local
100 dmah = drm_pci_alloc(dev, ptob(pages), 4096, 0xfffffffful, pages);
101 if (dmah == NULL)
106 entry->handle = ScatterHandle((unsigned long)dmah->vaddr);
107 entry->virtual = (void *)dmah->vaddr;
109 entry->dmah_sg = dmah;
H A Ddrm_bufs.c374 drm_dma_handle_t dmah; local
/solaris-x11-s11/open-src/kernel/efb/src/
H A Dati_pcigart.c47 drm_dma_handle_t *dmah; local
81 dmah = entry->dmah_sg;
83 for (i = 0; i < dmah->cookie_num; i++) {
84 bulksize = dmah->cookie.dmac_size;
87 dmah->cookie.dmac_address + k * PAGE_SIZE;
101 ddi_dma_nextcookie(dmah->dma_hdl, &dmah->cookie);
118 drm_dma_handle_t *dmah;
124 dmah = dev->sg->dmah_gart;
126 if (dmah)
[all...]
H A Ddrm_pci.c216 drm_dma_handle_t *dmah; local
229 dmah = kmem_zalloc(sizeof (drm_dma_handle_t), KM_SLEEP);
231 DDI_DMA_SLEEP, NULL, &dmah->dma_hdl)) {
236 if (ret = ddi_dma_mem_alloc(dmah->dma_hdl, size, &hw_acc_attr,
238 DDI_DMA_SLEEP, NULL, (caddr_t *)&dmah->vaddr,
239 &dmah->real_sz, &dmah->acc_hdl)) {
244 ret = ddi_dma_addr_bind_handle(dmah->dma_hdl, NULL,
245 (caddr_t)dmah->vaddr, dmah
278 drm_pci_free(drm_device_t *dev, drm_dma_handle_t *dmah) argument
[all...]
H A Ddrm_scatter.c85 drm_dma_handle_t *dmah; local
110 dmah = drm_pci_alloc(dev, ptob(pages), 4096, 0xfffffffful, pages);
111 if (dmah == NULL)
116 entry->handle = ScatterHandle((unsigned long)dmah->vaddr);
117 entry->virtual = (void *)dmah->vaddr;
119 entry->dmah_sg = dmah;

Completed in 55 milliseconds