https://github.com/torvalds/linux
Raw File
Tip revision: 520eccdfe187591a51ea9ab4c1a024ae4d0f68d9 authored by Linus Torvalds on 23 July 2017, 23:15:17 UTC
Linux 4.13-rc2
Tip revision: 520eccd
dma-direction.h
#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
back to top