Lines Matching refs:portp

84 static inline unsigned char _ne_inb(void *portp)  in _ne_inb()  argument
86 return (unsigned char) *(volatile unsigned char *)portp; in _ne_inb()
89 static inline unsigned short _ne_inw(void *portp) in _ne_inw() argument
91 return (unsigned short)le16_to_cpu(*(volatile unsigned short *)portp); in _ne_inw()
94 static inline void _ne_insb(void *portp, void * addr, unsigned long count) in _ne_insb() argument
99 *buf++ = *(volatile unsigned char *)portp; in _ne_insb()
102 static inline void _ne_outb(unsigned char b, void *portp) in _ne_outb() argument
104 *(volatile unsigned char *)portp = (unsigned char)b; in _ne_outb()
107 static inline void _ne_outw(unsigned short w, void *portp) in _ne_outw() argument
109 *(volatile unsigned short *)portp = cpu_to_le16(w); in _ne_outw()
265 unsigned char *portp = __port2addr_ata(port); in _insb() local
267 *buf++ = *(volatile unsigned char *)portp; in _insb()
278 unsigned char *portp = PORT2ADDR(port); in _insb() local
280 *buf++ = *(volatile unsigned char *)portp; in _insb()
287 unsigned short *portp; in _insw() local
290 portp = PORT2ADDR_NE(port); in _insw()
292 *buf++ = *(volatile unsigned short *)portp; in _insw()
300 portp = __port2addr_ata(port); in _insw()
302 *buf++ = *(volatile unsigned short *)portp; in _insw()
305 portp = PORT2ADDR(port); in _insw()
307 *buf++ = *(volatile unsigned short *)portp; in _insw()
314 unsigned long *portp; in _insl() local
316 portp = PORT2ADDR(port); in _insl()
318 *buf++ = *(volatile unsigned long *)portp; in _insl()
324 unsigned char *portp; in _outsb() local
327 portp = PORT2ADDR_NE(port); in _outsb()
329 _ne_outb(*buf++, portp); in _outsb()
332 portp = __port2addr_ata(port); in _outsb()
334 *(volatile unsigned char *)portp = *buf++; in _outsb()
342 portp = PORT2ADDR(port); in _outsb()
344 *(volatile unsigned char *)portp = *buf++; in _outsb()
351 unsigned short *portp; in _outsw() local
354 portp = PORT2ADDR_NE(port); in _outsw()
356 *(volatile unsigned short *)portp = *buf++; in _outsw()
359 portp = __port2addr_ata(port); in _outsw()
361 *(volatile unsigned short *)portp = *buf++; in _outsw()
369 portp = PORT2ADDR(port); in _outsw()
371 *(volatile unsigned short *)portp = *buf++; in _outsw()
378 unsigned char *portp; in _outsl() local
380 portp = PORT2ADDR(port); in _outsl()
382 *(volatile unsigned long *)portp = *buf++; in _outsl()