1b7f080cfe223b3b7424872639d153695615a9255Alexey Dobriyan#ifndef _LINUX_DMA_DIRECTION_H 2b7f080cfe223b3b7424872639d153695615a9255Alexey Dobriyan#define _LINUX_DMA_DIRECTION_H 3b7f080cfe223b3b7424872639d153695615a9255Alexey Dobriyan/* 4b7f080cfe223b3b7424872639d153695615a9255Alexey Dobriyan * These definitions mirror those in pci.h, so they can be used 5b7f080cfe223b3b7424872639d153695615a9255Alexey Dobriyan * interchangeably with their PCI_ counterparts. 6b7f080cfe223b3b7424872639d153695615a9255Alexey Dobriyan */ 7b7f080cfe223b3b7424872639d153695615a9255Alexey Dobriyanenum dma_data_direction { 8b7f080cfe223b3b7424872639d153695615a9255Alexey Dobriyan DMA_BIDIRECTIONAL = 0, 9b7f080cfe223b3b7424872639d153695615a9255Alexey Dobriyan DMA_TO_DEVICE = 1, 10b7f080cfe223b3b7424872639d153695615a9255Alexey Dobriyan DMA_FROM_DEVICE = 2, 11b7f080cfe223b3b7424872639d153695615a9255Alexey Dobriyan DMA_NONE = 3, 12b7f080cfe223b3b7424872639d153695615a9255Alexey Dobriyan}; 13b7f080cfe223b3b7424872639d153695615a9255Alexey Dobriyan#endif 14