diff options
Diffstat (limited to 'include/asm-mips/io.h')
-rw-r--r-- | include/asm-mips/io.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/asm-mips/io.h b/include/asm-mips/io.h index 7ba92890ea13..2cd8323c8586 100644 --- a/include/asm-mips/io.h +++ b/include/asm-mips/io.h | |||
@@ -40,11 +40,11 @@ | |||
40 | * hardware. An example use would be for flash memory that's used for | 40 | * hardware. An example use would be for flash memory that's used for |
41 | * execute in place. | 41 | * execute in place. |
42 | */ | 42 | */ |
43 | # define __raw_ioswabb(a,x) (x) | 43 | # define __raw_ioswabb(a, x) (x) |
44 | # define __raw_ioswabw(a,x) (x) | 44 | # define __raw_ioswabw(a, x) (x) |
45 | # define __raw_ioswabl(a,x) (x) | 45 | # define __raw_ioswabl(a, x) (x) |
46 | # define __raw_ioswabq(a,x) (x) | 46 | # define __raw_ioswabq(a, x) (x) |
47 | # define ____raw_ioswabq(a,x) (x) | 47 | # define ____raw_ioswabq(a, x) (x) |
48 | 48 | ||
49 | /* ioswab[bwlq], __mem_ioswab[bwlq] are defined in mangle-port.h */ | 49 | /* ioswab[bwlq], __mem_ioswab[bwlq] are defined in mangle-port.h */ |
50 | 50 | ||
@@ -561,9 +561,9 @@ extern void (*_dma_cache_wback_inv)(unsigned long start, unsigned long size); | |||
561 | extern void (*_dma_cache_wback)(unsigned long start, unsigned long size); | 561 | extern void (*_dma_cache_wback)(unsigned long start, unsigned long size); |
562 | extern void (*_dma_cache_inv)(unsigned long start, unsigned long size); | 562 | extern void (*_dma_cache_inv)(unsigned long start, unsigned long size); |
563 | 563 | ||
564 | #define dma_cache_wback_inv(start, size) _dma_cache_wback_inv(start,size) | 564 | #define dma_cache_wback_inv(start, size) _dma_cache_wback_inv(start, size) |
565 | #define dma_cache_wback(start, size) _dma_cache_wback(start,size) | 565 | #define dma_cache_wback(start, size) _dma_cache_wback(start, size) |
566 | #define dma_cache_inv(start, size) _dma_cache_inv(start,size) | 566 | #define dma_cache_inv(start, size) _dma_cache_inv(start, size) |
567 | 567 | ||
568 | #else /* Sane hardware */ | 568 | #else /* Sane hardware */ |
569 | 569 | ||
@@ -587,7 +587,7 @@ extern void (*_dma_cache_inv)(unsigned long start, unsigned long size); | |||
587 | #define __CSR_32_ADJUST 0 | 587 | #define __CSR_32_ADJUST 0 |
588 | #endif | 588 | #endif |
589 | 589 | ||
590 | #define csr_out32(v,a) (*(volatile u32 *)((unsigned long)(a) + __CSR_32_ADJUST) = (v)) | 590 | #define csr_out32(v, a) (*(volatile u32 *)((unsigned long)(a) + __CSR_32_ADJUST) = (v)) |
591 | #define csr_in32(a) (*(volatile u32 *)((unsigned long)(a) + __CSR_32_ADJUST)) | 591 | #define csr_in32(a) (*(volatile u32 *)((unsigned long)(a) + __CSR_32_ADJUST)) |
592 | 592 | ||
593 | /* | 593 | /* |