Lines Matching refs:cpu_addr
79 * @cpu_addr: CPU-view address returned from dma_alloc_coherent
85 * References to memory and mappings associated with cpu_addr/handle
89 dma_free_coherent(struct device *dev, size_t size, void *cpu_addr,
96 * @cpu_addr: kernel CPU-view address returned from dma_alloc_coherent
105 void *cpu_addr, dma_addr_t handle, size_t size);
122 #define dma_free_writecombine(dev,size,cpu_addr,handle) \
123 dma_free_coherent(dev,size,cpu_addr,handle)
126 void *cpu_addr, dma_addr_t handle, size_t size);
132 * @cpu_addr: CPU direct mapped address of buffer
145 dma_map_single(struct device *dev, void *cpu_addr, size_t size,
149 consistent_sync(cpu_addr, size, dir);
151 return virt_to_dma(dev, (unsigned long)cpu_addr);