Lines Matching refs:dma
13 #include <linux/dma-mapping.h>
2318 * virtqueue_dma_dev - get the dma dev
2321 * Returns the dma dev. That can been used for dma api.
2772 * The vring in premapped mode does not do dma internally, so the driver must
2773 * do dma mapping in advance. The driver must pass the dma_address through
2775 * the vring, it has to unmap the dma address.
2785 * -EINVAL: vring does not use the dma api, so we can not enable premapped mode.
3112 * @ptr: the pointer of the buffer to do dma
3113 * @size: the size of the buffer to do dma
3117 * The caller calls this to do dma mapping in advance. The DMA address can be
3139 * @addr: the dma address to unmap
3161 * virtqueue_dma_mapping_error - check dma address
3165 * Returns 0 means dma valid. Other means invalid dma address.
3179 * virtqueue_dma_need_sync - check a dma address needs sync
3183 * Check if the dma address mapped by the virtqueue_dma_map_* APIs needs to be
3200 * virtqueue_dma_sync_single_range_for_cpu - dma sync for cpu
3227 * virtqueue_dma_sync_single_range_for_device - dma sync for device