/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpu/drm/ |
H A D | drm_pci.c | 53 drm_dma_handle_t *dmah; local 64 dmah = kmalloc(sizeof(drm_dma_handle_t), GFP_KERNEL); 65 if (!dmah) 68 dmah->size = size; 69 dmah->vaddr = dma_alloc_coherent(&dev->pdev->dev, size, &dmah->busaddr, GFP_KERNEL | __GFP_COMP); 71 if (dmah->vaddr == NULL) { 72 kfree(dmah); 76 memset(dmah->vaddr, 0, size); 79 for (addr = (unsigned long)dmah 94 __drm_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) argument 113 drm_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) argument [all...] |
H A D | drm_bufs.c | 138 drm_dma_handle_t *dmah; local 318 dmah = drm_pci_alloc(dev, map->size, map->size); 319 if (!dmah) { 323 map->handle = dmah->vaddr; 324 map->offset = (unsigned long)dmah->busaddr; 325 kfree(dmah); 428 drm_dma_handle_t dmah; local 473 dmah.vaddr = map->handle; 474 dmah.busaddr = map->offset; 475 dmah 775 drm_dma_handle_t *dmah; local [all...] |
H A D | drm_vm.c | 247 drm_dma_handle_t dmah; local 268 dmah.vaddr = map->handle; 269 dmah.busaddr = map->offset; 270 dmah.size = map->size; 271 __drm_pci_free(dev, &dmah);
|
/netgear-R7000-V1.0.7.12_1.2.5/src/include/ |
H A D | hnddma.h | 56 typedef void (*di_detach_t)(hnddma_t *dmah); 57 typedef bool (*di_txreset_t)(hnddma_t *dmah); 58 typedef bool (*di_rxreset_t)(hnddma_t *dmah); 59 typedef bool (*di_rxidle_t)(hnddma_t *dmah); 60 typedef void (*di_txinit_t)(hnddma_t *dmah); 61 typedef bool (*di_txenabled_t)(hnddma_t *dmah); 62 typedef void (*di_rxinit_t)(hnddma_t *dmah); 63 typedef void (*di_txsuspend_t)(hnddma_t *dmah); 64 typedef void (*di_txresume_t)(hnddma_t *dmah); 65 typedef bool (*di_txsuspended_t)(hnddma_t *dmah); [all...] |
H A D | linux_osl.h | 206 #define DMA_ALLOC_CONSISTENT(osh, size, align, tot, pap, dmah) \
208 #define DMA_FREE_CONSISTENT(osh, va, size, pa, dmah) \
211 #define DMA_ALLOC_CONSISTENT_FORCE32(osh, size, align, tot, pap, dmah) \
213 #define DMA_FREE_CONSISTENT_FORCE32(osh, va, size, pa, dmah) \
226 #define DMA_UNMAP(osh, pa, size, direction, p, dmah) \
228 #define SECURE_DMA_UNMAP(osh, pa, size, direction, p, dmah, pcma, offset) \
229 osl_sec_dma_unmap((osh), (pa), (size), (direction), (p), (dmah), (pcma), (offset))
1433 #define DMA_MAP(osh, va, size, direction, p, dmah) \
1440 osl_dma_map((osh), (va), sz, (direction), (p), (dmah)); \
1442 #define SECURE_DMA_MAP(osh, va, size, direction, p, dmah, pcm [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/class/ |
H A D | cdc-acm.h | 67 dma_addr_t dmah; member in struct:acm_wb
|
H A D | cdc-acm.c | 189 wb->urb->transfer_dma = wb->dmah; 888 usb_free_coherent(usb_dev, acm->writesize, wb->buf, wb->dmah); 909 &wb->dmah); 915 wb->buf, wb->dmah);
|
/netgear-R7000-V1.0.7.12_1.2.5/src/shared/ |
H A D | linux_osl.c | 1682 osl_dma_map(osl_t *osh, void *va, uint size, int direction, void *p, hnddma_seg_map_t *dmah) argument 1690 if (dmah != NULL) { 1736 dmah->nsegs = totsegs; 1737 dmah->origsize = totlen; 1739 dmah->segs[i].addr = sg_phys(sg); 1740 dmah->segs[i].length = sg->length; 1742 return dmah->segs[0].addr; 2947 hnddma_seg_map_t *dmah, void *ptr_cma_info, uint offset) 3012 if (dmah) { 3013 dmah 2946 osl_sec_dma_map(osl_t *osh, void *va, uint size, int direction, void *p, hnddma_seg_map_t *dmah, void *ptr_cma_info, uint offset) argument [all...] |
H A D | hnddma.c | 75 #define DI_INFO(dmah) ((dma_info_t *)dmah) 286 dmaaddr_t *descpa, osldma_t **dmah); 1451 dma_rxfill_suspend(hnddma_t *dmah, bool suspended) argument 1453 dma_info_t * di = DI_INFO(dmah); 2034 uint* alloced, dmaaddr_t *descpa, osldma_t **dmah) 2040 if ((va = DMA_ALLOC_CONSISTENT(osh, size, *alignbits, alloced, descpa, dmah)) == NULL) 2048 size, *descpa, *dmah); 2049 va = DMA_ALLOC_CONSISTENT(osh, size, *alignbits, alloced, descpa, dmah); 2932 dma_txrewind(hnddma_t *dmah) argument 2033 dma_ringalloc(osl_t *osh, uint32 boundary, uint size, uint16 *alignbits, uint* alloced, dmaaddr_t *descpa, osldma_t **dmah) argument 3871 dma_blwar_alloc(hnddma_t *dmah) argument 3980 dma_rxfast(hnddma_t *dmah, dma64addr_t p, uint32 len) argument 4020 dma_msgbuf_txfast(hnddma_t *dmah, dma64addr_t p0, bool commit, uint32 len, bool first, bool last) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/drm/ |
H A D | drmP.h | 1439 extern void __drm_pci_free(struct drm_device *dev, drm_dma_handle_t * dmah); 1440 extern void drm_pci_free(struct drm_device *dev, drm_dma_handle_t * dmah);
|