Lines Matching refs:p
129 unsigned char *p; in insb() local
131 p = (unsigned char *)dst; in insb()
133 while (((unsigned long)p) & 0x3) { in insb()
137 *p = inb(port); in insb()
138 p++; in insb()
148 *(unsigned int *) p = w; in insb()
149 p += 4; in insb()
154 *p = inb(port); in insb()
155 p++; in insb()
170 unsigned char *p; in insw() local
172 p = (unsigned char *)dst; in insw()
177 switch (((unsigned long)p) & 0x3) in insw()
185 *(unsigned int *)p = l; in insw()
186 p += 4; in insw()
189 *(unsigned short *)p = cpu_to_le16(inw(port)); in insw()
194 *(unsigned short *)p = cpu_to_le16(inw(port)); in insw()
195 p += 2; in insw()
202 *(unsigned int *)p = l; in insw()
203 p += 4; in insw()
206 *(unsigned short *)p = cpu_to_le16(inw(port)); in insw()
217 *p = l >> 8; in insw()
218 p++; in insw()
222 *(unsigned short *)p = (l & 0xff) << 8 | (l2 >> 8); in insw()
223 p += 2; in insw()
226 *p = l & 0xff; in insw()
242 unsigned char *p; in insl() local
244 p = (unsigned char *)dst; in insl()
254 *(unsigned int *)p = cpu_to_le32(inl(port)); in insl()
255 p += 4; in insl()
263 *(unsigned short *)p = l >> 16; in insl()
264 p += 2; in insl()
269 *(unsigned int *)p = (l & 0xffff) << 16 | (l2 >> 16); in insl()
270 p += 4; in insl()
273 *(unsigned short *)p = l & 0xffff; in insl()
279 *(unsigned char *)p = l >> 24; in insl()
280 p++; in insl()
281 *(unsigned short *)p = (l >> 8) & 0xffff; in insl()
282 p += 2; in insl()
286 *(unsigned int *)p = (l & 0xff) << 24 | (l2 >> 8); in insl()
287 p += 4; in insl()
290 *p = l & 0xff; in insl()
296 *p = l >> 24; in insl()
297 p++; in insl()
301 *(unsigned int *)p = (l & 0xffffff) << 8 | l2 >> 24; in insl()
302 p += 4; in insl()
305 *(unsigned short *)p = (l >> 8) & 0xffff; in insl()
306 p += 2; in insl()
307 *p = l & 0xff; in insl()
321 const unsigned char *p; in outsb() local
323 p = (const unsigned char *)src; in outsb()
326 outb(*p, port); in outsb()
327 p++; in outsb()
340 const unsigned char *p; in outsw() local
342 p = (const unsigned char *)src; in outsw()
347 switch (((unsigned long)p) & 0x3) in outsw()
352 l = *(unsigned int *)p; in outsw()
353 p += 4; in outsw()
358 outw(le16_to_cpu(*(unsigned short*)p), port); in outsw()
364 outw(le16_to_cpu(*(unsigned short*)p), port); in outsw()
365 p += 2; in outsw()
370 l = *(unsigned int *)p; in outsw()
371 p += 4; in outsw()
376 outw(le16_to_cpu(*(unsigned short *)p), port); in outsw()
384 l = *p << 8; in outsw()
385 p++; in outsw()
390 l2 = *(unsigned short *)p; in outsw()
391 p += 2; in outsw()
395 l2 = *(unsigned char *)p; in outsw()
412 const unsigned char *p; in outsl() local
414 p = (const unsigned char *)src; in outsl()
419 switch (((unsigned long)p) & 0x3) in outsl()
424 outl(le32_to_cpu(*(unsigned int *)p), port); in outsl()
425 p += 4; in outsl()
432 l = *(unsigned short *)p; in outsl()
433 p += 2; in outsl()
437 l2 = *(unsigned int *)p; in outsl()
438 p += 4; in outsl()
442 l2 = *(unsigned short *)p; in outsl()
448 l = *p << 24; in outsl()
449 p++; in outsl()
450 l |= *(unsigned short *)p << 8; in outsl()
451 p += 2; in outsl()
455 l2 = *(unsigned int *)p; in outsl()
456 p += 4; in outsl()
460 l2 = *p; in outsl()
466 l = *p << 24; in outsl()
467 p++; in outsl()
471 l2 = *(unsigned int *)p; in outsl()
472 p += 4; in outsl()
476 l2 = *(unsigned short *)p << 16; in outsl()
477 p += 2; in outsl()
478 l2 |= *p; in outsl()