Lines Matching refs:count

120 static inline void insb(unsigned long addr, void *buffer, int count)
122 if (count) {
127 } while (--count);
131 static inline void insw(unsigned long addr, void *buffer, int count)
133 if (count) {
138 } while (--count);
142 static inline void insl(unsigned long addr, void *buffer, int count)
144 if (count) {
149 } while (--count);
153 static inline void outsb(unsigned long addr, const void *buffer, int count)
155 if (count) {
159 } while (--count);
163 static inline void outsw(unsigned long addr, const void *buffer, int count)
165 if (count) {
169 } while (--count);
173 extern void __outsl(unsigned long addr, const void *buffer, int count);
174 static inline void outsl(unsigned long addr, const void *buffer, int count)
177 return __outsl(addr, buffer, count);
179 if (count) {
183 } while (--count);
195 #define ioread8_rep(p, dst, count) \
196 insb((unsigned long) (p), (dst), (count))
197 #define ioread16_rep(p, dst, count) \
198 insw((unsigned long) (p), (dst), (count))
199 #define ioread32_rep(p, dst, count) \
200 insl((unsigned long) (p), (dst), (count))
202 #define iowrite8_rep(p, src, count) \
203 outsb((unsigned long) (p), (src), (count))
204 #define iowrite16_rep(p, src, count) \
205 outsw((unsigned long) (p), (src), (count))
206 #define iowrite32_rep(p, src, count) \
207 outsl((unsigned long) (p), (src), (count))
209 #define readsb(p, dst, count) \
210 insb((unsigned long) (p), (dst), (count))
211 #define readsw(p, dst, count) \
212 insw((unsigned long) (p), (dst), (count))
213 #define readsl(p, dst, count) \
214 insl((unsigned long) (p), (dst), (count))
216 #define writesb(p, src, count) \
217 outsb((unsigned long) (p), (src), (count))
218 #define writesw(p, src, count) \
219 outsw((unsigned long) (p), (src), (count))
220 #define writesl(p, src, count) \
221 outsl((unsigned long) (p), (src), (count))