OpenCores
URL https://opencores.org/ocsvn/test_project/test_project/trunk

Subversion Repositories test_project

[/] [test_project/] [trunk/] [linux_sd_driver/] [include/] [asm-generic/] [dma-mapping.h] - Diff between revs 62 and 82

Show entire file | Details | Blame | View Log

Rev 62 Rev 82
Line 167... Line 167...
 
 
static inline void *
static inline void *
dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle,
dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle,
                   gfp_t flag)
                   gfp_t flag)
{
{
 
 
 
 
        BUG();
        BUG();
        return NULL;
 
}
}
 
 
 
 
 
 
static inline void
static inline void
dma_free_coherent(struct device *dev, size_t size, void *cpu_addr,
dma_free_coherent(struct device *dev, size_t size, void *cpu_addr,
                    dma_addr_t dma_handle)
                    dma_addr_t dma_handle)
{
{
        BUG();
 
 
                 kfree(cpu_addr);
 
                 return;
 
 
 
 
}
}
 
 
static inline dma_addr_t
static inline dma_addr_t
dma_map_single(struct device *dev, void *cpu_addr, size_t size,
dma_map_single(struct device *dev, void *cpu_addr, size_t size,
               enum dma_data_direction direction)
               enum dma_data_direction direction)
Line 210... Line 218...
{
{
        BUG();
        BUG();
}
}
 
 
static inline int
static inline int
dma_map_sg(struct device *dev, struct scatterlist *sg, int nents,
dma_map_sg(struct device *dev, struct scatterlist *sglist, int nents,
           enum dma_data_direction direction)
           enum dma_data_direction direction)
{
{
        BUG();
        BUG();
        return 0;
 
}
}
 
 
static inline void
static inline void
dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nhwentries,
dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nhwentries,
             enum dma_data_direction direction)
             enum dma_data_direction direction)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.