https://github.com/torvalds/linux
Raw File
Tip revision: 61e6cfa80de5760bbe406f4e815b7739205754d2 authored by Linus Torvalds on 13 October 2013, 22:41:28 UTC
Linux 3.12-rc5
Tip revision: 61e6cfa
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