.. | .. |
---|
40 | 40 | |
---|
41 | 41 | #define FLUSH_RAC 0x100 |
---|
42 | 42 | |
---|
43 | | -dma_addr_t __phys_to_dma(struct device *dev, phys_addr_t pa) |
---|
| 43 | +dma_addr_t phys_to_dma(struct device *dev, phys_addr_t pa) |
---|
44 | 44 | { |
---|
45 | 45 | struct bmips_dma_range *r; |
---|
46 | 46 | |
---|
.. | .. |
---|
52 | 52 | return pa; |
---|
53 | 53 | } |
---|
54 | 54 | |
---|
55 | | -phys_addr_t __dma_to_phys(struct device *dev, dma_addr_t dma_addr) |
---|
| 55 | +phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) |
---|
56 | 56 | { |
---|
57 | 57 | struct bmips_dma_range *r; |
---|
58 | 58 | |
---|
.. | .. |
---|
64 | 64 | return dma_addr; |
---|
65 | 65 | } |
---|
66 | 66 | |
---|
67 | | -void arch_sync_dma_for_cpu_all(struct device *dev) |
---|
| 67 | +void arch_sync_dma_for_cpu_all(void) |
---|
68 | 68 | { |
---|
69 | 69 | void __iomem *cbr = BMIPS_GET_CBR(); |
---|
70 | 70 | u32 cfg; |
---|