summaryrefslogtreecommitdiff
path: root/include/linux/dma-direction.h
blob: 95b6a82f595142f63cd68f0bce3ce7108a3e2dd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _LINUX_DMA_DIRECTION_H
#define _LINUX_DMA_DIRECTION_H
/*
 * These definitions mirror those in pci.h, so they can be used
 * interchangeably with their PCI_ counterparts.
 */
enum dma_data_direction {
	DMA_BIDIRECTIONAL = 0,
	DMA_TO_DEVICE = 1,
	DMA_FROM_DEVICE = 2,
	DMA_NONE = 3,
};
#endif