gart-mapping.h 338 B

12345678910111213141516
  1. #ifndef _X8664_GART_MAPPING_H
  2. #define _X8664_GART_MAPPING_H 1
  3. #include <linux/types.h>
  4. #include <asm/types.h>
  5. struct device;
  6. extern void*
  7. gart_alloc_coherent(struct device *dev, size_t size,
  8. dma_addr_t *dma_handle, gfp_t gfp);
  9. extern int
  10. gart_dma_supported(struct device *hwdev, u64 mask);
  11. #endif /* _X8664_GART_MAPPING_H */