dma-heap.h 333 B

1234567891011121314151617
  1. #ifndef _DMA_HEAP_H
  2. #define _DMA_HEAP_H
  3. #include <linux/ioctl.h>
  4. #include <linux/types.h>
  5. struct dma_heap_allocation_data {
  6. __u64 len;
  7. __u32 fd;
  8. __u32 fd_flags;
  9. __u64 heap_flags;
  10. };
  11. #define DMA_HEAP_IOC_MAGIC 'H'
  12. #define DMA_HEAP_IOCTL_ALLOC _IOWR(DMA_HEAP_IOC_MAGIC, 0x0, struct dma_heap_allocation_data)
  13. #endif