Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Alexey Dobriyan | b7f080c | 2011-06-16 11:01:34 +0000 | [diff] [blame] | 2 | #ifndef _LINUX_DMA_DIRECTION_H |
3 | #define _LINUX_DMA_DIRECTION_H | ||||
4 | /* | ||||
5 | * These definitions mirror those in pci.h, so they can be used | ||||
6 | * interchangeably with their PCI_ counterparts. | ||||
7 | */ | ||||
8 | enum dma_data_direction { | ||||
9 | DMA_BIDIRECTIONAL = 0, | ||||
10 | DMA_TO_DEVICE = 1, | ||||
11 | DMA_FROM_DEVICE = 2, | ||||
12 | DMA_NONE = 3, | ||||
13 | }; | ||||
14 | #endif |