Lines Matching refs:dir
62 DMADirection dir; member
316 AddressSpace *as, DMADirection dir) in gpadl_iter_init() argument
320 iter->dir = dir; in gpadl_iter_init()
334 iter->dir, io_end_in_page - map_start_in_page); in gpadl_iter_cache_unmap()
376 iter->map = dma_memory_map(iter->as, maddr, &mlen, iter->dir, in gpadl_iter_io()
379 dma_memory_unmap(iter->as, iter->map, mlen, iter->dir, 0); in gpadl_iter_io()
387 if (iter->dir == DMA_DIRECTION_FROM_DEVICE) { in gpadl_iter_io()
465 int vmbus_map_sgl(VMBusChanReq *req, DMADirection dir, struct iovec *iov, in vmbus_map_sgl() argument
494 iov[ret_cnt].iov_base = dma_memory_map(sgl->as, a, &l, dir, in vmbus_map_sgl()
508 vmbus_unmap_sgl(req, dir, iov, ret_cnt, 0); in vmbus_map_sgl()
512 void vmbus_unmap_sgl(VMBusChanReq *req, DMADirection dir, struct iovec *iov, in vmbus_unmap_sgl() argument
520 dma_memory_unmap(sgl->as, iov[i].iov_base, iov[i].iov_len, dir, acsd); in vmbus_unmap_sgl()
590 AddressSpace *as, DMADirection dir, in ringbuf_init_common() argument
597 gpadl_iter_init(&ringbuf->iter, gpadl, as, dir); in ringbuf_init_common()