Lines Matching refs:dir
18 enum dma_data_direction dir) in c6x_dma_sync() argument
22 BUG_ON(!valid_dma_direction(dir)); in c6x_dma_sync()
24 switch (dir) { in c6x_dma_sync()
40 unsigned long offset, size_t size, enum dma_data_direction dir, in c6x_dma_map_page() argument
46 c6x_dma_sync(handle, size, dir); in c6x_dma_map_page()
52 size_t size, enum dma_data_direction dir, unsigned long attrs) in c6x_dma_unmap_page() argument
55 c6x_dma_sync(handle, size, dir); in c6x_dma_unmap_page()
59 int nents, enum dma_data_direction dir, unsigned long attrs) in c6x_dma_map_sg() argument
67 c6x_dma_sync(sg->dma_address, sg->length, dir); in c6x_dma_map_sg()
74 int nents, enum dma_data_direction dir, unsigned long attrs) in c6x_dma_unmap_sg() argument
83 c6x_dma_sync(sg_dma_address(sg), sg->length, dir); in c6x_dma_unmap_sg()
87 size_t size, enum dma_data_direction dir) in c6x_dma_sync_single_for_cpu() argument
89 c6x_dma_sync(handle, size, dir); in c6x_dma_sync_single_for_cpu()
94 dma_addr_t handle, size_t size, enum dma_data_direction dir) in c6x_dma_sync_single_for_device() argument
96 c6x_dma_sync(handle, size, dir); in c6x_dma_sync_single_for_device()
102 enum dma_data_direction dir) in c6x_dma_sync_sg_for_cpu() argument
109 sg->length, dir); in c6x_dma_sync_sg_for_cpu()
115 enum dma_data_direction dir) in c6x_dma_sync_sg_for_device() argument
122 sg->length, dir); in c6x_dma_sync_sg_for_device()