Lines Matching refs:dir
373 dma_addr_t *dma_handle, enum dma_data_direction dir, gfp_t gfp) in dma_direct_alloc_pages() argument
398 enum dma_data_direction dir) in dma_direct_free_pages() argument
415 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_device() argument
425 dir); in dma_direct_sync_sg_for_device()
429 dir); in dma_direct_sync_sg_for_device()
438 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_cpu() argument
447 arch_sync_dma_for_cpu(paddr, sg->length, dir); in dma_direct_sync_sg_for_cpu()
451 dir); in dma_direct_sync_sg_for_cpu()
453 if (dir == DMA_FROM_DEVICE) in dma_direct_sync_sg_for_cpu()
466 int nents, enum dma_data_direction dir, unsigned long attrs) in dma_direct_unmap_sg() argument
476 sg_dma_len(sg), dir, attrs); in dma_direct_unmap_sg()
482 enum dma_data_direction dir, unsigned long attrs) in dma_direct_map_sg() argument
510 sg->offset, sg->length, dir, attrs); in dma_direct_map_sg()
521 dma_direct_unmap_sg(dev, sgl, i, dir, attrs | DMA_ATTR_SKIP_CPU_SYNC); in dma_direct_map_sg()
526 size_t size, enum dma_data_direction dir, unsigned long attrs) in dma_direct_map_resource() argument