Lines Matching refs:dir
46 static inline void dma_barrier(AddressSpace *as, DMADirection dir) in dma_barrier() argument
74 DMADirection dir, MemTxAttrs attrs) in dma_memory_valid() argument
77 dir == DMA_DIRECTION_FROM_DEVICE, in dma_memory_valid()
84 DMADirection dir, in dma_memory_rw_relaxed() argument
88 buf, len, dir == DMA_DIRECTION_FROM_DEVICE); in dma_memory_rw_relaxed()
126 DMADirection dir, MemTxAttrs attrs) in dma_memory_rw() argument
128 dma_barrier(as, dir); in dma_memory_rw()
130 return dma_memory_rw_relaxed(as, addr, buf, len, dir, attrs); in dma_memory_rw()
207 DMADirection dir, MemTxAttrs attrs) in dma_memory_map() argument
212 p = address_space_map(as, addr, &xlen, dir == DMA_DIRECTION_FROM_DEVICE, in dma_memory_map()
234 DMADirection dir, dma_addr_t access_len) in dma_memory_unmap() argument
237 dir == DMA_DIRECTION_FROM_DEVICE, access_len); in dma_memory_unmap()
297 BlockCompletionFunc *cb, void *opaque, DMADirection dir);