Lines Matching refs:virtAddr

380 	ring->virtAddr = dma_alloc_writecombine(NULL,  in dma_alloc_descriptor_ring()
384 if (ring->virtAddr == NULL) { in dma_alloc_descriptor_ring()
404 if (ring->virtAddr != NULL) { in dma_free_descriptor_ring()
407 ring->virtAddr, ring->physAddr); in dma_free_descriptor_ring()
412 ring->virtAddr = NULL; in dma_free_descriptor_ring()
439 if (ring->virtAddr == NULL) { in dma_init_descriptor_ring()
442 if (dmacHw_initDescriptor(ring->virtAddr, in dma_init_descriptor_ring()
531 ring->virtAddr, in dma_add_descriptors()
1208 if (dmacHw_initDescriptor(devAttr->ring.virtAddr, in dma_alloc_descriptors()
1220 dmacHw_resetDescriptorControl(devAttr->ring.virtAddr); in dma_alloc_descriptors()
1227 devAttr->ring.virtAddr, in dma_alloc_descriptors()
1338 if (dmacHw_initDescriptor(devAttr->ring.virtAddr, in dma_alloc_double_dst_descriptors()
1350 devAttr->ring.virtAddr, in dma_alloc_double_dst_descriptors()
1358 devAttr->ring.virtAddr, in dma_alloc_double_dst_descriptors()
1403 devAttr->ring.virtAddr); in dma_start_transfer()
1521 devAttr->ring.virtAddr); in dma_transfer()
1724 void *virtAddr, /* Virtual address of the segment being added */ in dma_map_add_segment() argument
1730 DMA_MAP_PRINT("memMap:%p va:%p pa:0x%x #:%d\n", memMap, virtAddr, in dma_map_add_segment()
1735 if (((unsigned long)virtAddr < (unsigned long)region->virtAddr) in dma_map_add_segment()
1736 || (((unsigned long)virtAddr + numBytes)) > in dma_map_add_segment()
1737 ((unsigned long)region->virtAddr + region->numBytes)) { in dma_map_add_segment()
1740 __func__, virtAddr, region->virtAddr, region->numBytes); in dma_map_add_segment()
1786 segment->virtAddr = virtAddr; in dma_map_add_segment()
1854 region->virtAddr = mem; in dma_map_add_region()
1929 (unsigned long)region->virtAddr & (PAGE_SIZE - 1); in dma_map_add_region()
1949 (unsigned long)region->virtAddr, /* start */ in dma_map_add_region()
1965 uint8_t *virtAddr = region->virtAddr; in dma_map_add_region() local
1980 virtAddr, in dma_map_add_region()
1986 virtAddr += firstPageSize; in dma_map_add_region()
2007 virtAddr, in dma_map_add_region()
2013 virtAddr += bytesThisPage; in dma_map_add_region()
2289 segment->virtAddr = NULL; in dma_unmap()
2315 region->virtAddr = NULL; in dma_unmap()