Lines Matching full:addr
39 static inline void __ide_flush_dcache_range(unsigned long addr, unsigned long size) in __ide_flush_dcache_range() argument
42 unsigned long end = addr + size; in __ide_flush_dcache_range()
44 while (addr < end) { in __ide_flush_dcache_range()
45 local_flush_data_cache_page((void *)addr); in __ide_flush_dcache_range()
46 addr += PAGE_SIZE; in __ide_flush_dcache_range()
59 static inline void __ide_insw(unsigned long port, void *addr, in __ide_insw() argument
63 insw(port, addr, count); in __ide_insw()
64 __ide_flush_dcache_range((unsigned long)addr, count * 2); in __ide_insw()
68 static inline void __ide_insl(unsigned long port, void *addr, unsigned int count) in __ide_insl() argument
71 insl(port, addr, count); in __ide_insl()
72 __ide_flush_dcache_range((unsigned long)addr, count * 4); in __ide_insl()
76 static inline void __ide_outsw(unsigned long port, const void *addr, in __ide_outsw() argument
80 outsw(port, addr, count); in __ide_outsw()
81 __ide_flush_dcache_range((unsigned long)addr, count * 2); in __ide_outsw()
85 static inline void __ide_outsl(unsigned long port, const void *addr, in __ide_outsl() argument
89 outsl(port, addr, count); in __ide_outsl()
90 __ide_flush_dcache_range((unsigned long)addr, count * 4); in __ide_outsl()
94 static inline void __ide_mm_insw(void __iomem *port, void *addr, u32 count) in __ide_mm_insw() argument
97 readsw(port, addr, count); in __ide_mm_insw()
98 __ide_flush_dcache_range((unsigned long)addr, count * 2); in __ide_mm_insw()
102 static inline void __ide_mm_insl(void __iomem *port, void *addr, u32 count) in __ide_mm_insl() argument
105 readsl(port, addr, count); in __ide_mm_insl()
106 __ide_flush_dcache_range((unsigned long)addr, count * 4); in __ide_mm_insl()
110 static inline void __ide_mm_outsw(void __iomem *port, void *addr, u32 count) in __ide_mm_outsw() argument
113 writesw(port, addr, count); in __ide_mm_outsw()
114 __ide_flush_dcache_range((unsigned long)addr, count * 2); in __ide_mm_outsw()
118 static inline void __ide_mm_outsl(void __iomem * port, void *addr, u32 count) in __ide_mm_outsl() argument
121 writesl(port, addr, count); in __ide_mm_outsl()
122 __ide_flush_dcache_range((unsigned long)addr, count * 4); in __ide_mm_outsl()
131 #define insw(port, addr, count) __ide_insw(port, addr, count) argument
132 #define insl(port, addr, count) __ide_insl(port, addr, count) argument
133 #define outsw(port, addr, count) __ide_outsw(port, addr, count) argument
134 #define outsl(port, addr, count) __ide_outsl(port, addr, count) argument